This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ld segfaults building kernel


Hi,

I'm trying to narrow down an oops on my ARM target, so I tried to
re-build my kernel with frame unwind info. enabled.  But when I enable
CONFIG_UNWIND_INFO, I get the following:

...
LD      vmlinux
/bin/sh: line 1: 16687 Segmentation fault      arm-linux-gnueabi-ld
-EL -p --no-undefined -X -o vmlinux -T arch/arm/kernel/vmlinux.lds
arch/arm/kernel/head.o arch/arm/kernel/init_task.o init/built-in.o
--start-group usr/built-in.o arch/arm/kernel/built-in.o
arch/arm/mm/built-in.o arch/arm/common/built-in.o
arch/arm/mach-at91rm9200/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 arch/arm/lib/lib.a lib/lib.a arch/arm/lib/built-in.o
lib/built-in.o drivers/built-in.o sound/built-in.o net/built-in.o
--end-group
make: *** [vmlinux] Error 139

The toolchain is Crosstool-built - gcc 4.1.1, binutils 2.17, glibc 2.4
built for ARM EABI.  I also tried with CodeSourcery's 2006q1-6 release
and got the same results.  This occurs with both Linux 2.6.17 and
2.6.18-rc6.

I'm sure I'm missing something obvious, probably related to EABI since
it apparently changed the frame unwinding semantics, but I'm not sure
what to do to fix this.  Any ideas?

Thanks

-- 
Matthew L. Creech 

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]