aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: g++ crashes when compiling 1.0.7  (Read 8092 times)

Guest

  • Guest
g++ crashes when compiling 1.0.7
« 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)
Logged

BigBob

  • aMule project creator.
  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 141
    • http://bigbob.fun.free.fr
Bad news for you ...
« Reply #1 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++
Logged
Creator of aMule & aStats projects

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: g++ crashes when compiling 1.0.7
« Reply #2 on: October 10, 2003, 01:30:59 AM »

eru, look at google for gcc RH 9 rpms and update them

greets
delta

Guest

  • Guest
Re: g++ crashes when compiling 1.0.7
« Reply #3 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
Logged