Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Errors compiling all kinds of stuff
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
vert
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 214
Location: Delft, The Netherlands

PostPosted: Wed Jul 10, 2002 12:36 am    Post subject: Errors compiling all kinds of stuff Reply with quote

I just installed Gentoo on a little server, and thought it could nicely do an emerge -u world tonight
only it failed with the first package: shadow
fist it was an error with " as " :?:
I then tried to compile gcc, more errors
then shadow again, and this time an error with: [copydir.lo] Error 1
followed by a !!! Function src_compile, Line 33, Exitcode 2

GCC now gives (from 2.9.5-r5 to 2.9.5-r7) :
Internal compiler error: program as got fatal signal 11
and again a !!! Function src_compile

Ah! Now I also get a "virtual memory exhausted" ...
now what is that supposed to mean :?: :?:
if that's the problem, how can I solve this (apart from a reboot)?
Back to top
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Wed Jul 10, 2002 12:40 am    Post subject: Re: Errors compiling all kinds of stuff Reply with quote

Well if your running a server you really shouldn't emerge --update world as you can and will break things, but try to emerge one package and post the "full" error you recieve.
_________________
This message self destructed a long time ago.
Back to top
View user's profile Send private message
trythil
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 123
Location: RHIT, Terre Haute, IN, USA

PostPosted: Wed Jul 10, 2002 1:54 am    Post subject: Reply with quote

Quote:

GCC now gives (from 2.9.5-r5 to 2.9.5-r7) :
Internal compiler error: program as got fatal signal 11
and again a !!! Function src_compile

Ah! Now I also get a "virtual memory exhausted" ...
now what is that supposed to mean
if that's the problem, how can I solve this (apart from a reboot)?


"Internal compiler error" can mean almost anything, although it's usually hardware-related. The error "virtual memory exhausted" means that you've run out of memory, physical (RAM sticks) and virtual (swap space). I'll bet anything that the two are related.

Use the "free" command, and post the output here. It'll let us know how much memory your system has access to.

Example:

Code:

trythil@lothlann trythil $ free
             total       used       free     shared    buffers     cached
Mem:        384812     373080      11732          0         20     197980
-/+ buffers/cache:     175080     209732
Swap:       216836       5996     210840


For that matter, is your swap partition even activated?
Back to top
View user's profile Send private message
vert
Apprentice
Apprentice


Joined: 07 May 2002
Posts: 214
Location: Delft, The Netherlands

PostPosted: Wed Jul 10, 2002 8:10 am    Post subject: Reply with quote

ok, well, it was swap related ofcourse
guess i was too tired last night :roll:
anyways, free said my swap use was zero
so I did a mkswap again and now it works :D
thnx for the tips :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum