update to status of Solaris 7 dynamic linker bug with GCC
Paul Eggert
eggert@twinsun.com
Wed Oct 6 15:08:00 GMT 1999
Sun just reported to me some more details about the status of the
Solaris 7 dynamic linker bug exposed by Sun patch 107058-01 and GCC.
Here's a proposed update to GCC's install/specific.html file that
reflects the current status as I know it. A similar update needs to
be made to install/SPECIFIC. (I don't see offhand the relationship
between those two files -- surely they're not both maintained by
hand?)
*** install/specific.html Mon Aug 16 02:16:48 1999
--- /tmp/specific.html Wed Oct 6 14:58:07 1999
*************** if you initially built it with gcc-2.7.2
*** 427,437 ****
<p>Sun patch 107058-01 (1999-01-13) for SPARC Solaris 7 triggers a bug in
the dynamic linker. This problem (Sun bug 4210064) affects GCC 2.8
! and later, including all EGCS releases. To avoid this problem, do not
! install Sun patch 107058-01 until after Sun releases a patch for bug
! 4210064. Sun has a fix for this bug but (as of 1999-06-24) has not
! yet released it as a patch.</p>
<hr>
<h3><a name="sparc-sun-sunos*">sparc-sun-sunos*</a></h3>
--- 427,461 ----
<p>Sun patch 107058-01 (1999-01-13) for SPARC Solaris 7 triggers a bug in
the dynamic linker. This problem (Sun bug 4210064) affects GCC 2.8
! and later, including all EGCS releases. Sun formerly recommended
! 107058-01 for all Solaris 7 users, but around 1999-09-01 it started to
! recommend it only for people who use Sun's compilers.
+ <p>Here are some workarounds to this problem:
+
+ <ul>
+ <li>Do not install Sun patch 107058-01 until after Sun releases a
+ complete patch for bug 4210064. This is the simplest course to take,
+ unless you must also use Sun's C compiler. Unfortunately 107058-01
+ is preinstalled on some new Solaris-based hosts, so you may have to
+ back it out.
+
+ <li>Copy the original, unpatched Solaris 7
+ <code>/usr/ccs/bin/as</code> into
+ <code>/usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/as</code>,
+ adjusting the latter name to fit your local conventions and software
+ version numbers.
+
+ <li>Install Sun patch 106950-03 (1999-05-25) or later. Nobody with
+ both 107058-01 and 106950-03 installed has reported the bug with GCC
+ and Sun's dynamic linker. This last course of action is riskiest,
+ for two reasons. First, you must install 106950 on all hosts that
+ run code generated by GCC; it doesn't suffice to install it only on
+ the hosts that run GCC itself. Second, Sun says that 106950-03 is
+ only a partial fix for bug 4210064, but Sun doesn't know whether the
+ partial fix is adequate for GCC. Revision -08 or later should fix
+ the bug, but (as of 1999-10-06) it is still being tested.
+ </ul>
<hr>
<h3><a name="sparc-sun-sunos*">sparc-sun-sunos*</a></h3>
More information about the Gcc-bugs
mailing list