You are not logged in.

#1 2007-11-06 15:40:00

feralert
Member
Registered: 2007-03-21
Posts: 12

internal compiler error: gcc - gcc-libs fault??

Hi all,

Didnt know where to post this, hope i got the right place.

For the past few days i have been having problems compiling just about anything, from amule to a kernel.

This is a quote from the amule compilation (sometimes it happens five minutes after start, sometimes half an hour...it depends):

/usr/include/wx-2.8/wx/protocol/http.h: In member function
'wxStringToStringHashMap_wxImplementation_HashTable::Node**
wxStringToStringHashMap_wxImplementation_HashTable::GetNodePtr(const
wxString&) const':
/usr/include/wx-2.8/wx/protocol/http.h:21: warning: dereferencing
type-punned pointer will break strict-aliasing rules
OtherFunctions.cpp: In constructor 'CED2KFileTypes::CED2KFileTypes()':
OtherFunctions.cpp:980: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [amuled-OtherFunctions.o] Error 1
make[3]: Leaving directory `/var/abs/local/amule-cvs-20071104/src/amule-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/amule-cvs-20071104/src/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/amule-cvs-20071104/src/amule-cvs'
make: *** [all] Error 2

I checked gcc and this is what i saw:

[root@Tatoo amule-cvs-20071104]# pacman -Qs gcc
local/gcc 4.2.2-3 (base-devel)
   The GNU Compiler Collection
local/gcc-libs 4.2.2-2 (base)
   Runtime libraries shipped by GCC for C and C++ languages

Is it right to have a different revision of them?

I checked an archlinux install i got at work (not updated), and see that it's got this:

[root@Arch]# pacman -Qs gcc
local/gcc 4.2.2-1 (base-devel)
   The GNU Compiler Collection
local/gcc-libs 4.2.2-1 (base)
   Runtime libraries shipped by GCC for C and C++ languages

Same version/revision
If i try pacman -Syu in this one, it will ask me if i want to upgrade to -the problematic- gcc 4.2.2-3 and gcc-libs 4.2.2-2.

Has the different revision of gcc anything to do with my problem?

Anyone else having this issues when compiling?

Thanks!

P.S.: I edit to add that i have also tried reinstalling gcc, gcc-libs as well as binutils to no avail.

Last edited by feralert (2007-11-06 17:24:21)

Offline

#2 2008-01-09 01:11:58

Si
Member
Registered: 2006-09-11
Posts: 57

Re: internal compiler error: gcc - gcc-libs fault??

Wow I didn't know this problem existed so long ago. I've only just noticed this recently when many packages simply wouldn't compile due to this same error. Does any have a clue what could be the problem?

Offline

#3 2009-02-28 08:31:08

cleanrock
Member
Registered: 2008-11-17
Posts: 109

Re: internal compiler error: gcc - gcc-libs fault??

i see this often too when i install from aur
i just rebuild and it usually gets built second time

is this a common and known problem ?

Offline

#4 2009-02-28 09:14:49

Si
Member
Registered: 2006-09-11
Posts: 57

Re: internal compiler error: gcc - gcc-libs fault??

I later realised the problem was my CPU overheating (Dell XPS M1330). I noticed many machine check exception warnings in dmesg, and lots of temperature/thermal normal messages. Things compile fine if I throttle down the CPU.

Offline

Board footer

Powered by FluxBB