On 14.2.2015 03:10, Alan Modra wrote: > On both x86_64-linux and powerpc64-linux, a --disable-shared bootstrap > dies with linker errors when building libcc1.so. You can't build a > shared library using objects from the static libstdc++ (or any other > library built without -fpic/-fPIC). > > OK, so there is a workaround, specify --disable-plugin too, but > shouldn't this be automatic if --disable-shared is given? >
Shouldn't static libstdc++ be built with the PIC options regardless of --disable-shared? I can imagine people wanting to link static libraries into their own shared libraries. -- VZ
signature.asc
Description: OpenPGP digital signature