delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/02/26/02:49:33

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Z4K85XmTbqqEBFJd
Uk9N/O9srWzrEB37FCTH3IjZsxD+Jt0TBWxl3RO+JpV4iQL4yRU28Ll09ohp2l5u
SPHu6Qcp1YwPe7SAZGNzjaatBfLWmfRHI6mCYL+Q3vS27YK0xtotJJJzerFBvs73
LtaO3I+z9Ixe6pNijX3vSSg1jmQ=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=K5DNy8wStHBnxG7RqtEDrJ
U6qyI=; b=gcbIQD5XuGtWbLYV3tZbjtWSqYXypPbO8bNuDgFbhiiWsgUZD59yYk
nyfwgOTvkwRaBmPyr6gjfFfO4EnJJCSNG/IPpIaUjOw3zx0yEeuroR2oQq/1lAtC
TgROUmtrMmgOx/OWrC8+VfuFjqxE1tLstlh3HE9BU1z92wFwpOk2s=
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=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=H*M:cygwin, H*f:sk:56CF8A6, H*MI:sk:56CF8A6, H*i:sk:56CF8A6
X-HELO: mx1.redhat.com
Subject: Re: gcc: link scan order of /usr/lib and /usr/lib/w32api
To: cygwin AT cygwin DOT com
References: <56CF3D8B DOT 2050703 AT cygwin DOT com> <56CF8A6C DOT 3070706 AT users DOT sourceforge DOT net>
From: Yaakov Selkowitz <yselkowitz AT cygwin DOT com>
Message-ID: <56D0037C.5050302@cygwin.com>
Date: Fri, 26 Feb 2016 01:49:16 -0600
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56CF8A6C.3070706@users.sourceforge.net>
X-IsSubscribed: yes

On 2016-02-25 17:12, JonY wrote:
> On 2/26/2016 01:44, Yaakov Selkowitz wrote:
>> JonY,
>>
>> It has been brought to my attention that /usr/lib/w32api is now taking
>> precedence over /usr/lib, which is a result of this commit:
>>
>> https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=227962
>> https://github.com/gcc-mirror/gcc/commit/c1b7008c95f97dd7c11997e7be7be7b58d113db0
>>
>>
>> This is incorrect, and results in the unfortunately-named w32api
>> libuuid.a being found instead of the completely unrelated *NIX libuuid
>> (which is what *NIX software expects to find).
>>
>> Linking from /usr/lib/w32api is handled in binutils, and this is the fix
>> that my cygwin cross-toolchains are using to support sysroots:
>>
>> https://github.com/cygwinports/cygwin32-binutils/blob/master/01-w32api-sysroot.patch
>>
>>
>> Please revert r227962.
>
> Ok, I'll do a new release soon.

Here's a patch:

https://github.com/cygwinports/gcc/blob/master/0027-link-w32api.patch

-- 
Yaakov

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