This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/7669: [Solaris 2.7, gcc-3.1.1] libstdc++.so segfaults in _init()
- From: richarda at vecien dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 20 Aug 2002 23:27:48 -0000
- Subject: libstdc++/7669: [Solaris 2.7, gcc-3.1.1] libstdc++.so segfaults in _init()
- Reply-to: richarda at vecien dot com
>Number: 7669
>Category: libstdc++
>Synopsis: [Solaris 2.7, gcc-3.1.1] libstdc++.so segfaults in _init()
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 20 16:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Richard Andrews
>Release: gcc-3.1.1
>Organization:
>Environment:
Solaris 2.7
binutils-2.13
Patches installed :
106541-04
106857-04
106978-06
All optional packages installed.
>Description:
All programs linked against libstdc++.so.4.0.1 segfault at startup and dump core. Linking against libstdc++.a does not cause the problem.
The problem did not occur with gcc-3.1 binary package from sunfreeware.com.
The backtrace from an empty program follows.
(gdb) bt
#0 0x13f78 in ?? ()
#1 0xff325b14 in frame_dummy () from /opt/dev/lib/libstdc++.so.4
#2 0xff3259fc in _init () from /opt/dev/lib/libstdc++.so.4
#3 0xff3b9ea4 in ?? ()
#4 0xff3b9d5c in ?? ()
#5 0xff3c1528 in ?? ()
#6 0xff3b2d44 in ?? ()
(gdb) l
1 ../../gcc/libgcc2.c: No such file or directory.
>How-To-Repeat:
gcc-3.1.1 was built from gcc-core-3.1.1 and gcc-g++-3.1.1 source tarballs using binutils-2.13 and gcc-3.1 (solaris7 binary package from sunfreeware.com) configured as follows
obj-gcc-3.1.1 $ cat config.status
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../gcc-3.1.1/configure --with-gcc-version-trigger=/export/home/opt/dev/src/gcc-3.1.1/gcc/version.c --host=sparc-sun-solaris2.7 --prefix=/opt/dev --with-gnu-as --with-as=/opt/dev/bin/as --with-gnu-ld --with-ld=/opt/dev/bin/ld --disable-multilib --disable-nls --norecursion
# using "mh-frag"
Build was "make bootstrap", "make install"
The build appeared to progress without a problem.
All programs (even with a main() that does nothing) exhibit the problem when linked against libstdc++.so.4.0.1
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: