This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
--disable-shared bootstrap dies building libcc1
- From: Alan Modra <amodra at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sat, 14 Feb 2015 12:40:22 +1030
- Subject: --disable-shared bootstrap dies building libcc1
- Authentication-results: sourceware.org; auth=none
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?
--
Alan Modra
Australia Development Lab, IBM