Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
internal compiler error [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
katfish
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2011
Posts: 147

PostPosted: Fri May 15, 2015 12:42 pm    Post subject: internal compiler error [solved] Reply with quote

Hi, I got a new NB on which I started with an hardened non-multilib installl.

After the bootstrap, I upgraded to gcc-4.9.2 to go with -fstack-protector-strong.

As emerge world -ave failed with
Quote:
x86_64-pc-linux-gnu-g++: internal compiler error: Killed (program cc1plus)
,
I switched back to gcc-4.8.4 and remerged world.

After emerge world -e run the whole night, I have the same issue now with both compiler versions installed.

After rereading gentoo news about gcc, I added -std=c++11 to my CXX flags. but that did not help.

My make.conf: https://binarysignals.net/pub/e10-make.conf

TIA
k4t


Last edited by katfish on Fri May 15, 2015 2:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Fri May 15, 2015 1:22 pm    Post subject: Reply with quote

"killed" usually indicates that you ran out of memory. Try to add more swap space.

Since you run a hardened system, you should also check in the syslog whether there was another reason for killing. However, I would bet that it is lack of memory...
Back to top
View user's profile Send private message
katfish
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2011
Posts: 147

PostPosted: Fri May 15, 2015 2:13 pm    Post subject: Reply with quote

It was PAX related. Same issue as here:
https://forums.gentoo.org/viewtopic-t-975862-postdays-0-postorder-asc-highlight-killed%2Bcc1-start-25.html

It seems that during the initial emerge world -e, both gcc versions got -r PaX flags, which was the reason why they got killed each time.

Normally, such PaX actions are logged to /var/log/messages but not this time :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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