aMule Forum

English => en_Bugs => Topic started by: Guest on October 10, 2003, 12:31:54 AM

Title: g++ crashes when compiling 1.0.7
Post by: Guest on October 10, 2003, 12:31:54 AM
Hi All

it's unbelievable, but the sources makes crashing my compiler :

if g++ -DHAVE_CONFIG_H -I. -I. -I..     -g   -I/usr/local/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Isrc  -MT muuli_wdr.o -MD -MP -MF ".deps/muuli_wdr.Tpo" \
  -c -o muuli_wdr.o `test -f 'muuli_wdr.cpp' || echo './'`muuli_wdr.cpp; \
then mv ".deps/muuli_wdr.Tpo" ".deps/muuli_wdr.Po"; \
else rm -f ".deps/muuli_wdr.Tpo"; exit 1; \
fi
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.

The Version is:
# g++ -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
Title: Bad news for you ...
Post by: BigBob on October 10, 2003, 01:15:13 AM
It seem there is a bug in gcc 2.96 of redhat 7.3 ...

It apear when you trying to compile a big file (in your example, "muuli_wdr.cpp" this file contain all the GUI).
At this time, try debugging exactly same problem for another user of aMule, i don't have any tip ...
At the end the user switched to latest redhat (they seem to not upgrade packages for old distributions).

Hope this help even if it didn't fix dirrectly the problem ...

A++
Title: Re: g++ crashes when compiling 1.0.7
Post by: deltaHF on October 10, 2003, 01:30:59 AM
eru, look at google for gcc RH 9 rpms and update them

greets
delta
Title: Re: g++ crashes when compiling 1.0.7
Post by: Guest on October 10, 2003, 11:30:28 PM
ok, this now has been a reason to definitfly switch to my second red hat installation, that
is running rh9....
IT WORKS!

I just can say thanks to this great software!

Gruss
Eru