--disable-shared bootstrap dies building libcc1

Václav Zeman vhaisman@gmail.com
Sun Feb 15 09:25:00 GMT 2015


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20150215/20f86948/attachment.sig>


More information about the Gcc mailing list