This is the mail archive of the gcc-bugs@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]

[Bug libstdc++/14697] libstdc++ couldn't find 32bit libgcc_s


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]