Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel &/or make kernel segmentation fault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gheff
n00b
n00b


Joined: 03 Feb 2004
Posts: 19
Location: Corryong, NE Victoria, Australia

PostPosted: Wed Dec 28, 2005 4:41 am    Post subject: genkernel &/or make kernel segmentation fault Reply with quote

Hi All,

Installed latest stable release of Gentoo (2005.1.r1) .

Installed standard Gentoo sources

Code:
emerge gentoo-sources


also emerged and ran sucessfully genkernel.

Rebooted with new kernel (2.6.14-r5)... all worked okay.

Now for the problem...

i updated my system using

Code:
emerge -uDv system


which also updated my gcc from gcc-3.3.6 to gcc.3.4.4

I then wanted to modified my kernel however I get this segment fault with the following error...

Quote:
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
/bin/sh: line 1: 11205 Segmentation fault ld -m elf_i386 -m elf_i386 -o .tm p_vmlinux1 -T arch/i386/kernel/vmlinux.lds arch/i386/kernel/head.o arch/i386/ker nel/init_task.o init/built-in.o --start-group usr/built-in.o arch/i386/kernel/bu ilt-in.o arch/i386/mm/built-in.o arch/i386/mach-default/built-in.o arch/i386/cry pto/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o secu rity/built-in.o crypto/built-in.o lib/lib.a arch/i386/lib/lib.a lib/built-in.o a rch/i386/lib/built-in.o drivers/built-in.o sound/built-in.o arch/i386/pci/built- in.o arch/i386/power/built-in.o net/built-in.o --end-group
make: ***


I have run gcc-config and even set it back gcc.3.3.6 but same error.

I also run Make {kernel} with original .config configuration file with the same error!

Help! I have no idea what the problem is... I want to recompile my kernel but I am stuck!

TYIA Greg.
_________________
Life? What is Life? Find it!
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Wed Dec 28, 2005 8:36 pm    Post subject: Reply with quote

Be sure to follow the Gentoo GCC upgrade guide:
http://www.gentoo.org/doc/en/gcc-upgrading.xml
As this guide is to help existing programs to work with the new compiler, I'm not sure it would help you with compiling the kernel, but you should follow it anyway. See the section about ugrading from 3.3.x to 3.4.x
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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