Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel compile error [RESOLVED]
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
shadowoperator
n00b
n00b


Joined: 16 Mar 2006
Posts: 36

PostPosted: Thu Mar 16, 2006 10:24 pm    Post subject: Kernel compile error [RESOLVED] Reply with quote

Hi,

I'm trying to recompile my kernel so as to make use of ALSA provided by the kernel.

However, every time do this, I get the following error:

Code:
 AR      arch/i386/lib/lib.a
  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: 29047 Segmentation fault      ld -m elf_i386 -m elf_i386 -o .tmp_vmlinux1 -T arch/i386/kernel/vmlinux.lds arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/built-in.o --start-group usr/built-in.o arch/i386/kernel/built-in.o arch/i386/mm/built-in.o arch/i386/mach-default/built-in.o arch/i386/crypto/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o block/built-in.o lib/lib.a arch/i386/lib/lib.a lib/built-in.o arch/i386/lib/built-in.o drivers/built-in.o sound/built-in.o arch/i386/pci/built-in.o arch/i386/oprofile/built-in.o arch/i386/power/built-in.o net/built-in.o --end-group
make: *** [.tmp_vmlinux1] Error 139


By "every time" I mean that I have tried with gentoo-sources, genkernel and vanilla-sources. Same result every time.
This is the first time it happens on this machine - I've had gentoo on it before, and it never happened before.

Maybe it's worth mentioning I upgraded to gcc-3.4.5 after building the system?

How can I overcome this kernel problem? Any help would be much appreciated.


Last edited by shadowoperator on Sat Mar 18, 2006 6:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
vandalman
n00b
n00b


Joined: 16 Mar 2005
Posts: 52

PostPosted: Fri Mar 17, 2006 12:32 am    Post subject: Reply with quote

try doing a
Code:
make clean

And then recompile.
Back to top
View user's profile Send private message
shadowoperator
n00b
n00b


Joined: 16 Mar 2006
Posts: 36

PostPosted: Sat Mar 18, 2006 1:12 pm    Post subject: Reply with quote

Thanks - did that. Unfortunately still the same result (segmentation fault).

I unmerged genkernel and gentoo-sources (as I don't actually want them) before re-emerging gentoo-sources, doing 'make clean' and subsequently 'make && make modules_install'.

What else can I try?
Back to top
View user's profile Send private message
shadowoperator
n00b
n00b


Joined: 16 Mar 2006
Posts: 36

PostPosted: Sat Mar 18, 2006 6:09 pm    Post subject: Reply with quote

I've found the solution.
Seems to be a bug, which is rectified by downgrading binutils, as described here:

https://bugs.gentoo.org/show_bug.cgi?id=114565

Following steps 4-6 I can again compile a kernel. Thank goodness!
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