This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc version 2.97 20010119 utter failure
- To: gcc at gcc dot gnu dot org
- Subject: Re: gcc version 2.97 20010119 utter failure
- From: Harri Porten <harri at trolltech dot com>
- Date: Fri, 19 Jan 2001 17:55:54 +0100
> /opt/gcc/bin/g++ -ftemplate-depth-30 bzjunk.o -o bzjunk -lm -g -v
> Reading specs from /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/specs
> Configured with: ../../gcc/configure --prefix=/opt/gcc
> gcc version 2.97 20010119 (experimental)
> /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/collect2 -m elf_i386
> -dynamic-linker /lib/ld-linux.so.2 -o bzjunk /usr/lib/crt1.o
> /usr/lib/crti.o
> /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/crtbegin.o
> -L/opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97
> -L/opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/../../.. bzjunk.o
> -lstdc++ -lm -lgcc -lc -lgcc
> /opt/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/crtend.o /usr/lib/crtn.o
>
> LD_LIBRARY_PATH=/opt/gcc/lib ./bzjunk
> Segmentation fault
>
> Here is bzjunk.cpp:
> int main() { return 0; }
This behaviour started for me on the 17th or 18th already. Every
compiled C++ app segfaults in ??? when entering libstdc++. I got some
simple static links to work, though.
Harri.