bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in ld


From: Martin Garon
Subject: bug in ld
Date: Mon, 30 Jul 2007 22:09:55 -0400

Here is a bug report with gnu tool suite for arm:

Versions:
arm-elf-gcc: 4.1.1
arm-elf-as: 2.17
arm-elf-ld: 2.17
no patches applied.

These are binary files compiled for cygwin obtained from www.gnuarm.com (GCC-4.1 toolchain).

Operating system:
Microsoft Windows XP
Media Center Edition
Version 2002
Service Pack 2

Hardware:
Intel(R)
Pentium(R) D CPU 2.80GHz
2.79GHz, 1.00 GB of RAM
Physical Address Extension

[transcript of the compilation:]

D9JV3WB1[/cygdrive/p/libraries/test5d]> make
arm-elf-as -ahls=ex5_start.lst -mapcs-32 -mcpu=arm7tdmi -o ex5_start.o ex5_start.s
arm-elf-ld -v -Tblinky.ld --cref -Map .map -o ex5.elf \
        ex5_start.o ex5_main.o bsp.o led.oram
GNU ld version 2.17
ex5_start.o: In function `loop':
(.text+0x114): undefined reference to `__fastcode_load'
arm-elf-ld: BFD 2.17 internal error, aborting at ../../binutils-2.17/bfd/elflink.c line 6509 in elf_link_output_extsym

arm-elf-ld: Please report this bug.

make: *** [ex5.elf] Error 1

[end of transcript]

-The reference to __fastcode symbol is defined in the linker script: blinky.ld.
-It is declared after the .text section of ex5_start.o is collected.
-The make script is called from an exterm window

Ask me for any other details I might omitted.

Regards,

--Martin Garon
embedded firmware engineer.




Connect to the next generation of MSN Messenger  Get it now!
reply via email to

[Prev in Thread] Current Thread [Next in Thread]