[Bug libstdc++/14697] libstdc++ couldn't find 32bit libgcc_s
aoliva at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 24 21:17:00 GMT 2004
------- Additional Comments From aoliva at gcc dot gnu dot org 2004-03-24 21:17 -------
--enable/disable-shared is not all-or-nothing. You can pass a list of packages
to --enable-shared for which you want shared libraries to be enabled.
--enable-shared=libgcc will get you a shared libgcc, but static libstdc++.
--enable-shared=libstdc++ will get you a shared libstdc++ while building static
libgcc only.
One of the points of the test at hand is to tell whether libgcc was built as a
shared library. If it wasn't, enabling symbol versioning would be wrong, since
it doesn't have symbol versions. After your patch, the test would pass instead
of failing, since gcc will be a do-nothing. Therefore, your patch breaks the
test. It's wrong.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14697
More information about the Gcc-bugs
mailing list