| View previous topic :: View next topic |
| Author |
Message |
shadowoperator n00b


Joined: 16 Mar 2006 Posts: 36
|
Posted: Thu Mar 16, 2006 10:24 pm Post subject: Kernel compile error [RESOLVED] |
|
|
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 |
|
 |
vandalman n00b

Joined: 16 Mar 2005 Posts: 52
|
Posted: Fri Mar 17, 2006 12:32 am Post subject: |
|
|
try doing a
And then recompile. |
|
| Back to top |
|
 |
shadowoperator n00b


Joined: 16 Mar 2006 Posts: 36
|
Posted: Sat Mar 18, 2006 1:12 pm Post subject: |
|
|
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 |
|
 |
shadowoperator n00b


Joined: 16 Mar 2006 Posts: 36
|
Posted: Sat Mar 18, 2006 6:09 pm Post subject: |
|
|
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 |
|
 |
|