Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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".
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
>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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.