delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/03/21/15:20:45

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 36D0D3857C7A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1616354441;
bh=fjGkI2ZJ9OCeHV/pkf5O/rFbK9q9ZFpN8vpya5w4XH8=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=Nh+qOJ+VULcPgmyL+Nfxwf/YBQfsPF4cSIx7m+k/alggUq8Lhi/OayaR0oyhQ5XUS
je51/2eCFROAgQuKma2oD23YVQdx8/Ia+F3aBFhnavD949qk+NCEt3V/9mSVnu84/M
bBrRbXEVZJUnJcdBEP99pSohJJKxlCBraMDmdAks=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 599213858004
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
bh=9ZpKZpf8pLmZPpTKXgXKs8tiR4aqyxyp0u/oTv/MFPI=;
b=l0GdRpHA7zW2Vydu3Ld834AfS2b9mXMDCEnNiCf2/XRZPi1xlyYQo/Y0a66HXMvyGt
yU4XR9AewMMz+fLM+NZuFCx9eULtncDsvMS0TRiNi0QW9kKxf789UjwQl7P55UyUCwDN
+DyZPQbWfQxn8zcxnyUoNM+FmIjJLg2U/yo+622ASUboJ0j4zOwlGmHsDvCojrnGOLJI
t+Gkwh+poULkDmMPfQRYvDvO7pX40aNm/ITE1DVrh/wZHy82reWzay6GCVsV6Vay+OGM
rpTN7XOfKutimLJvxs3TW9KqaK3p4gao/sOisdVaSdFPzB7gtEGdZ+l+A8gAjuayOATX
2vtw==
X-Gm-Message-State: AOAM533eFb0fQBSzVOcKmcOXbM0TzZ7glrgzPPO4K3G2pIMecAzcI1XL
dnWHBHj1LoeUT7PlXhBh3Ji0n1UzJxwWtFYUPy/MGb/wBtQ=
X-Google-Smtp-Source: ABdhPJznV2Suy2PXUc+ilfQPWzTDndBnzkrU+FNsGID1cfTShIg4Vhnizu4HS+HLHuR0PHbOT2wmEd0rmPJC6rJs/8k=
X-Received: by 2002:ae9:eb58:: with SMTP id b85mr7888793qkg.168.1616354437886;
Sun, 21 Mar 2021 12:20:37 -0700 (PDT)
MIME-Version: 1.0
Date: Sun, 21 Mar 2021 19:20:37 +0000
Message-ID: <CAD8GWst7uZCS17LmP1EjqNYkPGuBejSsHJvs+-g7HAfL4fywEQ@mail.gmail.com>
Subject: gcc -fsanitize supported?
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT,
FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Lee via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Lee <ler762 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Is the gcc option "-fsanitize=address" supported in cygwin?  If yes,
what else do I need to install?

$ gcc -fsanitize=address args.c
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -lasan
collect2: error: ld returned 1 exit status

$ i686-w64-mingw32-gcc -fsanitize=address args.c
/usr/lib/gcc/i686-w64-mingw32/10/../../../../i686-w64-mingw32/bin/ld:
cannot find -lasan
collect2: error: ld returned 1 exit status

Thanks
Lee
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019