public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc: link scan order of /usr/lib and /usr/lib/w32api
@ 2016-02-25 17:44 Yaakov Selkowitz
  2016-02-25 23:12 ` JonY
  0 siblings, 1 reply; 3+ messages in thread
From: Yaakov Selkowitz @ 2016-02-25 17:44 UTC (permalink / raw)
  To: cygwin

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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-26  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-25 17:44 gcc: link scan order of /usr/lib and /usr/lib/w32api Yaakov Selkowitz
2016-02-25 23:12 ` JonY
2016-02-26  7:49   ` Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).