arm-elf-ld 2.16.1 crash at bfd/elf32-arm.c:5536

Shaun Jackman sjackman@gmail.com
Sat Jul 30 22:17:00 GMT 2005


Hello Nick,

On 7/29/05, Nick Clifton <nickc@redhat.com> wrote:
> Sorry - I had a quick look at the code, but it appears to be good.  So
> we really are going to need a test case that can reproduce the problem.

Good news! I found the test case that reproduces my bug. It involves objcopy:

$ echo 'int main() { return 0; }' > main.c
$ echo empty > empty
$ arm-elf-objcopy -Ibinary -Oelf32-littlearm empty empty.o
$ arm-elf-gcc main.c empty.o
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/local/lib/gcc/arm-elf/4.0.1/../../../../arm-elf/bin/ld: warning:
unknown architecture of input file `empty.o' is incompatible with arm
output

Cheers,
Shaun



More information about the Binutils mailing list