[Bug bootstrap/46981] multilib LD_LIBRARY_PATH prevents configuration of target libraries
amodra at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Sep 2 02:07:11 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46981
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
This is more than just an AIX problem. Use of LD_LIBRARY_PATH prevents
bootstrapping with any tools that happen to use libstdc++.so, for example,
ld.gold on Linux. If the new libstdc++.so is incompatible with the version
ld.gold was linked against the result is typically a segfault on ld.gold
startup, when attempting to build gcc stage3 target libraries. A workaround is
to install a statically compiled ld.gold.
More information about the Gcc-bugs
mailing list