This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc version 2.97 20010119 utter failure


> /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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]