From: Ralf Wildenhues Date: Wed, 31 Aug 2005 06:38:50 +0000 (+0000) Subject: * README, libtool.m4 [ solaris CC ]: Document issue with C++ X-Git-Tag: release-1-5-20~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cdd7f65bae9081b4438f6af8dc4328cf7624c8af;p=thirdparty%2Flibtool.git * README, libtool.m4 [ solaris CC ]: Document issue with C++ standard libraries. --- diff --git a/ChangeLog b/ChangeLog index 38ac92fc7..361b0b063 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-08-31 Ralf Wildenhues + + * README, libtool.m4 [ solaris CC ]: Document issue with C++ + standard libraries. + 2005-08-29 Gary V. Vaughan * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE): Fix the comment to not diff --git a/README b/README index 492a4e230..47d92d4a5 100644 --- a/README +++ b/README @@ -122,3 +122,8 @@ loaded through inter-module dependencies. 9) Note that newer Sun Studio Fortran compilers might need Autoconf macros not yet present in 2.59 but only in CVS Autoconf. + +10) Note that Sun C++ compiler versions before 5.6 may need some special +setup to link properly against shared versions of the C++ standard libraries. +See http://lists.gnu.org/archive/html/libtool/2005-08/msg00088.html for +more information. diff --git a/libtool.m4 b/libtool.m4 index d218aa6bc..a952cb140 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -3749,6 +3749,9 @@ ifelse([$1],[CXX], solaris*) case $cc_basename in CC*) + # Adding this requires a known-good setup of shared libraries for + # Sun compiler versions before 5.6, else PIC objects from an old + # archive will be linked into the output, leading to subtle bugs. _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun' ;; esac