delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/03/27/14:49:36

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=tPnERji4W+rQcGBY
VznlBGIVEhQvY09q3RCCuVHMtejKYE/SgT+h/lehfNFW3Kav5H6kyNs7lcqQeUaE
ncdKb5+jhsLJ1ao2fYeMJPz+4cBE2Lpt3iya4Z6zs9tj/nrX8jABaSbUr7yMF0KK
v+qif5UYazvNKI3LSCaLACBszzk=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=ArGKAdJKk7/9aelD2Idwzx
CciaE=; b=gTGwolKOrIf+s38czBXZoCkDaVB8SJUuO9t8PdzqnmmV5MsfofmoAH
v5K0qSmZf5K5ED6WWFKtkezRqLwhQx69bmzXZG2C8m+XB8xez80RdqhkWCmmjTcL
IsC2VZ/HFSv6NH9vuak+R9bSxDM2r2VXLnAFApsrY285ksjnGA8Kw=
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=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, calgary, Calgary
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.3 cv=cav8UELM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=CCpqsmhAAAAA:8 a=w5aJ8kaLLAry8Qfnm_kA:9 a=QEXdDO2ut3YA:10 a=w-1DDTvkydkA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=ul9cdbp4aOFLsgKbc677:22
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: gcc -fsanitize => cannot find -lubsan
To: cygwin AT cygwin DOT com
References: <CAD8GWssb0Ka-GmULAtb=dLnNFt=ssbT-Cc1viNTWMC7_E=bfzw AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <92610c1d-1d3b-eb62-ad8e-d2bc611e572c@SystematicSw.ab.ca>
Date: Tue, 27 Mar 2018 12:48:51 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <CAD8GWssb0Ka-GmULAtb=dLnNFt=ssbT-Cc1viNTWMC7_E=bfzw@mail.gmail.com>
X-CMAE-Envelope: MS4wfLNktmqIWk9JY1bc9/OvMjh65b6CpmpaCwW9HXo65yr6NK2TQrMQJKOu6g116C7MrTUkBWd63dK8qaKPoqoa3/6vbvX9XBlR3xCaKDyl/97M4BBgDapl fg57rgv9RytutRjYPP20CUYiILkHlVqFZQACeEVmMYgwAyPX8w9Gma6PDx54EDri1Lea/y5q2Z0c2A==
X-IsSubscribed: yes

On 2018-03-27 11:39, Lee wrote:
> How do you figure out which package is missing from your install?
> $cat sbstrict.c
> int main () {
>   return 0;
> }
> $i686-w64-mingw32-gcc -fsanitize=bounds-strict sbstrict.c
> /usr/lib/gcc/i686-w64-mingw32/6.4.0/../../../../i686-w64-mingw32/bin/ld:
> cannot find -lubsan
> collect2: error: ld returned 1 exit status
> $gcc -fsanitize=bounds-strict sbstrict.c
> /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld:
> cannot find -lubsan
> collect2: error: ld returned 1 exit status
> I looked at
>   https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ubsan&arch=x86_64
> and both
>   gcc-debuginfo-6.4.0-5
>   mingw64-i686-gcc-debuginfo-6.4.0-1
> have a ubsan.c, but ld wouldn't be looking for that.  Right??

Implies that gcc includes support, but not supported as of 2015:

	https://sourceware.org/ml/cygwin/2015-10/msg00528.html

- don't know why - or if since added.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
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