aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Segfault in compilation on Mandriva 2008 with CVS as of 2008 Jan 3rd  (Read 2588 times)

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385

compilation stops :

Quote
amule.cpp: In member function 'wxString CamuleApp::GetLog(bool)':
amule.cpp:1762: attention : déréférencement du pointeur type-punned brisera les strictes d'aliases
amuleIPV4Address.h: In member function 'virtual bool amuleIPV4Address::Hostname(uint32)':
amuleIPV4Address.h:62: erreur interne du compilateur: Erreur de segmentation

Veuillez soumettre un rapport complet d'anomalies,
avec le source pré-traité si nécessaire.
Consultez <URL:https://qa.mandriva.com/> pour plus de détail.
make[3]: *** [amule-amule.o] Erreur 1
make[3]: quittant le répertoire « /mnt/stockage/BUILD/amule-cvs/src »
make[2]: *** [all-recursive] Erreur 1
make[2]: quittant le répertoire « /mnt/stockage/BUILD/amule-cvs/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /mnt/stockage/BUILD/amule-cvs »
make: *** [all] Erreur 2
erreur: Mauvais status de sortie pour /var/tmp/rpm-tmp.40420 (%build)

This is with gcc 4.2.2 20070909 (prerelease) on Mandriva 2008 with wxGtk 2.8.7
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Segfault in compilation on Mandriva 2008 with CVS as of 2008 Jan 3rd
« Reply #1 on: January 03, 2008, 12:43:27 PM »

amuleIPV4Address.h: In member function 'virtual bool amuleIPV4Address::Hostname(uint32)':
amuleIPV4Address.h:62: erreur interne du compilateur: Erreur de segmentation

Veuillez soumettre un rapport complet d'anomalies,
avec le source pré-traité si nécessaire.
Consultez <URL:https://qa.mandriva.com/> pour plus de détail.
...
This is with gcc 4.2.2 20070909 (prerelease) on Mandriva 2008 with wxGtk 2.8.7

Well, this is not an aMule problem, this is a gcc problem and you should do as you were told and report the problem to the Mandriva guys.

Cheers!
Logged

Festor

  • Hero Member
  • *****
  • Karma: 79
  • Offline Offline
  • Posts: 935
  • Offline -> Studying...
Re: Segfault in compilation on Mandriva 2008 with CVS as of 2008 Jan 3rd
« Reply #2 on: January 03, 2008, 12:49:14 PM »

Sometimes this helps:

Clean all the temporary files, restart Mandriva and try releasing system load running only the process of packing

OldFrog

  • Sr. Member
  • ****
  • Karma: 31
  • Offline Offline
  • Posts: 385
Re: Segfault in compilation on Mandriva 2008 with CVS as of 2008 Jan 3rd
« Reply #3 on: January 03, 2008, 08:46:53 PM »

Sometimes this helps:

Clean all the temporary files, restart Mandriva and try releasing system load running only the process of packing

Good hint. Most probably, another process overflowed gcc's memory. I restarted the compilation, and it went at the end like a breeze.

Thanks all.
Logged
Computer Science is no more about computers than astronomy is about telescopes (Edsger W. Dijkstra)