[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29288] Dependent libraries cannot be found with default sysroot
From: |
amodra at gmail dot com |
Subject: |
[Bug ld/29288] Dependent libraries cannot be found with default sysroot search dir and rpath using cross ld |
Date: |
Mon, 04 Jul 2022 00:41:47 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29288
--- Comment #9 from Alan Modra <amodra at gmail dot com> ---
The script you used overrode the proper library path by specifying
--with-lib-path. Normally the library path is
$tool_lib:/usr/local/lib:/lib:/usr/lib all of which are prefixed with "=" when
sysrooted. You instead got $tool_lib:$your_lib_path with just $tool_lib
prefixed with "=". (tool_lib, aka /$prefix/$target/lib predates sysroot by a
long time and was an attempt to support cross target specific libs.) The
configure process assumes that you know exactly what you're doing if specifying
--with-lib-path even down to *not* prefixing with "=". Sadly, it appears your
faith in the people who wrote/modified/maintained that script is misplaced.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/29288] Dependent libraries cannot be found with default sysroot search dir and rpath using cross ld,
amodra at gmail dot com <=