This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
Attachment:
signature.asc
Description: OpenPGP digital signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |