LinuxQuestions.org
Register a domain and help support LQ
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
 
Search this Thread
Old 07-31-2006, 02:28 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,266

Rep: Reputation: 53
Weird problem, can't compile kernel: gcc: Internal error:Segmentation fault (prgm as)


CentOS 4.3
Current Kernel 2.6.9-34.0.2.ELsmp
I have a weird problem, I can't compile kernel, it seems to choke on a different module each time I try to compile.

Has anyone had this problem before?

One of the messages state it might be an OS or Hardware issue, do you know which one it is more likely to be? or is it likely something else? Thanks in advance.

******FIRST RUN*********
gcc: Internal error: Segmentation fault (program as)

Here is what the kernel says while compiling:
CC [M] drivers/atm/ambassador.o
gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [drivers/atm/ambassador.o] Error 1
make[1]: *** [drivers/atm] Error 2
make: *** [drivers] Error 2
INSTALL arch/i386/crypto/aes-i586.ko
cp: cannot stat `arch/i386/crypto/aes-i586.ko': No such file or directory
make[1]: *** [arch/i386/crypto/aes-i586.ko] Error 1
make: *** [_modinst_] Error 2

mm/memory.c: In function `get_user_pages':
mm/memory.c:1086: internal compiler error: in final_scan_insn, at final.c:1794
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[1]: *** [mm/memory.o] Error 1
make: *** [mm] Error 2
sh /usr/src/linux-2.6.17.7/arch/i386/boot/install.sh 2.6.17.7 arch/i386/boot/bzImage System.map "/boot"

*** Missing file: arch/i386/boot/bzImage
*** You need to run "make" before "make install".

make[1]: *** [install] Error 1
make: *** [install] Error 2

****SECOND RUN*********8

CC [M] drivers/infiniband/hw/mthca/mthca_mr.o
drivers/infiniband/hw/mthca/mthca_mr.c:890: internal compiler error: in size_of_die, at dwarf2out.c:6362
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [drivers/infiniband/hw/mthca/mthca_mr.o] Error 1
make[2]: *** [drivers/infiniband/hw/mthca] Error 2
make[1]: *** [drivers/infiniband] Error 2
make: *** [drivers] Error 2

gcc: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [fs/ext2/inode.o] Error 1
make[1]: *** [fs/ext2] Error 2
make: *** [fs] Error 2
 
Old 07-31-2006, 02:46 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
What version of gcc and qt (include the -devel packages also) are installed????

There seems to be an issue with qt-3.3.6-11.1 from the kde-redhat repo.

rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'gcc*' 'qt*' | sort
 
Old 07-31-2006, 04:37 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,266

Original Poster
Rep: Reputation: 53
root@server1 [~]# rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'gcc*' 'qt*' | sort
gcc-3.4.5-2.i386.rpm
gcc-c++-3.4.5-2.i386.rpm

root@server1 [~]# rpm -qa --qf="%{n}-%{v}-%{r}.%{arch}.rpm\n" 'gcc*' 'qt*' | sort
gcc-3.4.5-2.i386.rpm
gcc-c++-3.4.5-2.i386.rpm
qt-3.3.3-9.3.i386.rpm
qt-devel-3.3.3-9.3.i386.rpm

Compiling the kernel still returns the same error.
 
Old 07-31-2006, 05:15 PM   #4
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
>I have a weird problem, I can't compile kernel, it seems to choke on a different module each time I try to compile.

Since it segfaults on different modules I'd say it is certainly a hardware problem. Suspect #1 is RAM. Kernel compiling is actually a very good RAM test.
 
Old 08-01-2006, 05:28 PM   #5
abefroman
Senior Member
 
Registered: Feb 2004
Location: Chicago
Distribution: CentOS
Posts: 1,266

Original Poster
Rep: Reputation: 53
That was it, I replaced the ram and it worked no problem.

Thanks and thanks a lot!!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
internal compiler error: Segmentation fault X2O Mandriva 2 08-23-2004 08:38 PM
weird lilo segmentation fault demon666 Linux - Software 3 07-15-2004 01:27 PM
f-prot anti-virus "Segmentation fault" error and other weird stuff dalek Linux - Software 9 10-22-2003 07:37 PM
[gcc] internal error: segmentation fault fskmh Slackware 3 01-22-2003 05:36 PM
Segmentation Fault Error when trying to install kernel-source-2.4.2-2.i386.rpm rdaves@earthlink.net Linux - Software 1 09-13-2001 05:51 AM


All times are GMT -5. The time now is 11:29 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration