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

--- Comment #33 from Mark Millard <markmigm at gmail dot com> ---
In build/gcc/config.log . . .

The 3 ./conftest that prev-gcc/xg++ produced where the ./conftest
fails with:

ld-elf.so.1: Shared object "libstdc++.so.6" not found, required by "conftest"

are the only ones where the prev-gcc/xg++ command involved
did not contain:

-static-libstdc++ -static-libgcc

All the ./conftest produced using -static-libstdc++ -static-libgcc
did not have the problem when that ./conftest was executed.

So a 1-1 correspondance and it appears that the 3 should have
-static-libstdc++ -static-libgcc (or something specifying
an rpath for finding a libstdc++.so.6 ?).

Reply via email to