delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/10/27/21:59:01

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; q=dns; s=default; b=Fmx/zeqW0MhB98vfAGmibN6Y443kT
rYb5nblWT6aJhSuRa9056Vw/AfrzCW/+InfTivRt0PXA+NAyFmKiMs56GXkKtj1J
bhEGpRr6yExoP7DmehW+U8obkO+MAbjnFleHoDurnOf5Msjb65bZ6kkoO6zZ6FdU
QcKLMdd24InwTs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:date:message-id:subject:from:to
:content-type; s=default; bh=FlP2iFqqcI908ac4vnzSeR0LYAY=; b=Wkp
hQwMa2OO95ofE7etENMG8qGvV9BuaGc0pzDdNyKmzHi2Z1o/B7qhvKE6RJl3fLDF
yIXY9vYuQ3ssTEGlkNiiSCCZmF/k+ZXQwYVgJWtp7KjbG5x73xN1oTun1OqoseL5
O1fXkw+7HvGqTL/Q/VlWHA7eAHM+cORJcC5NCeGw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-io0-f182.google.com
MIME-Version: 1.0
X-Received: by 10.107.3.77 with SMTP id 74mr42812517iod.49.1445997519680; Tue, 27 Oct 2015 18:58:39 -0700 (PDT)
Date: Tue, 27 Oct 2015 20:58:39 -0500
Message-ID: <CAAXzdLUP44BMpxHBsW+BR0Vi4KgQdcEZ6AtcjCboBQ4=-gXwBA@mail.gmail.com>
Subject: gcc: cannot find -lubsan
From: Steven Penny <svnpenn AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

I have installed the "gcc-core" package:

    $ gcc --version
    gcc (GCC) 4.9.3

Using this file:

http://gcc.gnu.org/git?p=gcc.git;a=blob;f=gcc/testsuite/c-c%2B%2B-common/ubsan/undefined-1.c;hb=382ecb

and this command:

    gcc -fsanitize=undefined undefined-1.c

yields this result:

    /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -lubsan
    collect2: error: ld returned 1 exit status

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

- Raw text -


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