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.