This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
G++2.95.2 on Solaris2.7 dynamic linking segfault in global dtor cleanup
- To: "'gcc-bugs at gcc dot gnu dot org'" <gcc-bugs at gcc dot gnu dot org>
- Subject: G++2.95.2 on Solaris2.7 dynamic linking segfault in global dtor cleanup
- From: "Salz, Rich" <SalzR at CertCo dot com>
- Date: Thu, 20 Jan 2000 13:59:10 -0500
- Cc: "Salz, Rich" <SalzR at CertCo dot com>, "Bowe, John" <bowe at certco dot com>
"hello, world" segfaults from __do_global_dtors_aux in
libcstdc++.so.2.10.0 with only the "-g" flag specified.
The output of "gcc -v"
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.2/specs
gcc version 2.95.2 19991024 (release)
This is on a Sun Ultra-5 running Solaris2.7
The following sh script was used to generate the enclosed shar file:
#! /bin/sh
g++ --save-temps --verbose -g b.cpp 2>g++-log.txt
./a.out
echo bt | gdb ./a.out core >gdb-log.txt 2>&1
gzip <b.ii | uuencode b.ii.gz.uu >b.ii.gz.uu
uname -aX >uname-log.txt
perl $HOME/bin/shar.pl uname-log.txt g++-log.txt gdb-log.txt b.cpp
b.ii.gz.uu >SHAR
Apologies if this is a known bug (where documented?) or a common misconfig
error...
/r$
SHAR