c/2522: Solaris 7 + Solaris patch 107058-01 = broken shared libs

peek@tiem.utk.edu peek@tiem.utk.edu
Mon Apr 9 14:26:00 GMT 2001

>Number:         2522
>Category:       c
>Synopsis:       Solaris 7 + Solaris patch 107058-01 = broken shared libs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 09 14:26:00 PDT 2001
>Originator:     peek@tiem.utk.edu
>Release:        Apparently any, but tested with 2.8.1, 2.95.2, and 2.95.3
SPARC Solaris 7 with the following pacthes applied:
106541-08, 106793-03, 107544-02, 107038-01, 106934-03,
107022-04, 106327-06, 106327-08, 106300-09, 106960-01,
106725-01, 107171-03
Solaris patch 107058-01 patches /usr/ccs/bin/as assembler
to add support for V9 ELF register symbols and the .register

After applying this patch, any version of gcc used (tested
with 2.8.1, 2.95.2, and 2.95.3) generated corrupted shared
libraries (tested specifically with glib and gtk+, both
versions 1.2.8 and 1.2.10).

Recompiling gcc with the new, patched version of as did not 
seem to have any effect.
1) Add patch 107058-01 to a Solaris 7 SPARC
2) Unpack glib and gtk and compile as per instructions
3) Compile and run any of the example programs (tested
   specifically with the helloworld example)
If possible, backout this patch using patchrm.  If backing
out is not possible, reinstall the original SUNWsprot from 
the distribution media, along with any previously-applied 
patches that modify this package, except 107058-01.

More information about the Gcc-bugs mailing list