bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16792] $tooldir/lib is sysrooted when built --with-sysroot


From: hp at sourceware dot org
Subject: [Bug ld/16792] $tooldir/lib is sysrooted when built --with-sysroot
Date: Tue, 20 May 2014 01:59:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16792

--- Comment #3 from Hans-Peter Nilsson <hp at sourceware dot org> ---
(In reply to Cygwin/X maintainer from comment #2)
> When a sysroot is in use, libraries usually end up in =/lib and =/usr/lib
> (or =/mingw/lib for *-*-mingw*), but $exec_prefix/$target_alias/lib has
> still been scanned.  Not only is that not happening at the moment, but
> sysrooting that directory really doesn't make sense.

I'm not sure whether you agree or disagree. :)

To wit, I'm saying 'don't scan "$exec_prefix/$target_alias/lib", scan the
target-adjusted equivalent of "=/lib"; i.e. "=/mingw/lib" for *-*-mingw*'. 
...maybe also "=/usr/lib" where that isn't a capital offence, e.g. *-*-gnu...

IIUC (I'm certainly not sure) sysroot targets don't have (*should* not have)
anything in $exec_prefix/$target_alias/lib but everything in "=/lib" or
"=/usr/lib" so  $exec_prefix/$target_alias/lib should not be scanned at all (as
such, that is).

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]