[Bug target/106088] ld cannot find dependent libraries when cross compiling

galaxyking0419 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Jun 26 13:41:08 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106088

--- Comment #3 from William Tang <galaxyking0419 at gmail dot com> ---
Thanks, you are right, somehow, the ld of binutils has the wrong default
SEARCH_DIR:

[william@NoteBook ~]$ arm-linux-gnueabihf-ld --verbose | grep SEARCH
SEARCH_DIR("/usr/lib/binutils/arm-linux-gnueabihf");
SEARCH_DIR("=/usr/arm-linux-gnueabihf/lib");

Created a bug for binutils:
https://sourceware.org/bugzilla/show_bug.cgi?id=29288


More information about the Gcc-bugs mailing list