LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-03-2005, 11:53 AM   #1
benne
Member
 
Registered: Sep 2004
Location: Iceland
Distribution: Gentoo
Posts: 44

Rep: Reputation: 15
GCC seg faults


Hi there

I had to reinstall gentoo on my desktop system due to harddrive change the other day and i had quite a few problems. Now i am trying to emerge xorg-x11 but gcc always segfaults at the same place.

Code:
\"/usr/lib/X11/XKeysymDB\" StrKeysym.c -o unshared/StrKeysym.o
In file included from StrKeysym.c:35:
ks_tables.h:640: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/xorg-x11-6.8.2-r2/temp/cck1dWYv.out file, please attach this to your bugreport.
make[4]: *** [StrKeysym.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/lib/X11'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r2/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r2 failed.
!!! Function build, Line 971, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.
I thought GCC migh be the problem (and still think it is) o tried to emerge a older version. It segfaulted then too. I had no problems while using the livecd (2005.1), it probably used anouther GCC version.

I have tried to run memtest86, it ran 6 or 7 times without any error at all

Any ideas?

Cheers, Benne

Last edited by benne; 09-03-2005 at 11:58 AM.
 
Old 09-03-2005, 08:14 PM   #2
benne
Member
 
Registered: Sep 2004
Location: Iceland
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
no ideas?
 
Old 09-03-2005, 10:52 PM   #3
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,290
Blog Entries: 5

Rep: Reputation: 53
What happens when you emerge glibc?
also check /etc/make.conf for errors ...

Last edited by comprookie2000; 09-03-2005 at 10:55 PM.
 
Old 09-04-2005, 09:23 AM   #4
benne
Member
 
Registered: Sep 2004
Location: Iceland
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by comprookie2000
What happens when you emerge glibc?
also check /etc/make.conf for errors ...
It seg faults then too. Ive chacked make.conf for errors and tried without it. A gentoo-dev i know went over it. http://www.spunge.org/~benedikt/make.conf

the stupd thin is that everything workds perfectly when i use the livecd, nothing seg faults then. I have tried both 2005.1 and 2004.3 livecds.
 
Old 09-04-2005, 11:43 PM   #5
benne
Member
 
Registered: Sep 2004
Location: Iceland
Distribution: Gentoo
Posts: 44

Original Poster
Rep: Reputation: 15
Could it be a faulty kernel config?
 
Old 09-05-2005, 01:09 AM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 47
did you try to optimize gcc ?
optimizing gcc is a bad thing
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeated seg faults Tick Linux - General 5 07-29-2004 07:09 PM
seg faults happening allan_y Linux - General 2 07-25-2004 05:30 AM
bash seg faults Kilka *BSD 4 12-15-2003 01:40 AM
SlackWare 9.0 install seg faults Owl Linux - Newbie 2 11-03-2003 06:32 AM
w3m seg faults slakmagik Linux - Software 0 05-04-2003 10:58 PM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration