]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* README, libtool.m4 [ solaris CC ]: Document issue with C++
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 31 Aug 2005 06:38:50 +0000 (06:38 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Wed, 31 Aug 2005 06:38:50 +0000 (06:38 +0000)
standard libraries.

ChangeLog
README
libtool.m4

index 38ac92fc7ae3265e53b676d785feb578f746bbf1..361b0b063821cdabb5c6e0d9e432da23252b8a7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-31  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * README, libtool.m4 [ solaris CC ]: Document issue with C++
+       standard libraries.
+
 2005-08-29  Gary V. Vaughan  <gary@gnu.org>
 
        * libltdl/m4/ltdl.m4 (LTDL_CONVENIENCE): Fix the comment to not
diff --git a/README b/README
index 492a4e230b8b16a5846252bbef6efb8b94b34641..47d92d4a57f99373916b8e2ef6e28da5054dc229 100644 (file)
--- 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.
index d218aa6bc1a8181945f402722b6e070f274e4616..a952cb14044923acc0592a22b4c16152ec7cbe7a 100644 (file)
@@ -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