g++ (2.95.2) and Linux RH7
Yves Fuhrman
yves.fuhrman@cea.fr
Thu Apr 5 04:08:00 GMT 2001
Hello,
I have a problem using gcc 2.95.2 on a Linux RH 7.0.
I compiled gcc 2.95.2 after having patched the sources and had no
problem during compile/install.
Then I tried to compile a small c++ :
no error at compile time..( g++ -g)
then : ./a.out => Segmentation fault (core dumped)
gdb a.out =>
Program received signal SIGSEGV, Segmentation fault.
0x4004c4c7 in ios::eof () from /usr/lib/libstdc++-libc6.2-2.so.3
Current language: auto; currently c++
the same c++ compiled on a mandrake 6 (with gcc 2.95.2) executes
correctly (both on mdk 6 and rh 7)
does anyone knows what I am missing?
Thx in advance,
Yves.
More information about the Gcc-help
mailing list