This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14697] libstdc++ couldn't find 32bit libgcc_s
- From: "aoliva at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Mar 2004 21:17:15 -0000
- Subject: [Bug libstdc++/14697] libstdc++ couldn't find 32bit libgcc_s
- References: <20040323175052.14697.hjl@lucon.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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