Subject: ld cross compile coredump
To: None <>
From: Patrick Welche <>
List: tech-toolchain
Date: 11/14/2002 21:59:06
I just tried to make an acorn32 kernel on an i386 machine, kernel/world/source
of Nov  8 20:43. AFAICT nbmake-acorn32 depend && nbmake-acorn32 runs fine
until finally making the kernel:

/usr/src/tools/obj.acorn32/tools.NetBSD-1.6K-i386/bin/arm--netbsdelf-ld -N -Ttext 0xF0000000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
Segmentation fault - core dumped
*** Error code 139

Program terminated with signal 11, Segmentation fault.

#0  0x8071442 in _bfd_elf32_link_read_relocs ()
#1  0x80697db in bfd_elf32_arm_process_before_allocation ()
#2  0x805a24a in arm_elf_before_allocation ()
#3  0x805843e in ldemul_before_allocation ()
#4  0x80531d3 in lang_process ()
#5  0x8055434 in main ()
#6  0x8049570 in ___start ()

The really strange part is that I built a release via -m acorn32
successfully. The above was done by hand..