Relocatable linking from format elf32-m68k to format elf32-m68 not supported
Ralf Corsepius
ralf.corsepius@rtems.org
Tue Jun 27 11:48:00 GMT 2006
Hi,
I am facing a strange error when trying to link a relocatible from
several object files for "m68k-rtems4.7-gcc -mcpu32"
(basically identical with m68k-*elf)
# m68k-rtems4.7-gcc --pipe -B../../../../.././lib/
-B../../../../.././gen68340/lib/ -specs bsp_specs -qrtems -Wall -mcpu32
-O4 -fomit-frame-pointer -o shared/misc.rel -qnolinkcmds -nostdlib
-Wl,-r shared/misc/shared_misc_rel-memcpy.o
shared/misc/shared_misc_rel-m68kidle.o
shared/misc/shared_misc_rel-memProbe.o
/usr/lib/gcc/m68k-rtems4.7/4.1.1/../../../../m68k-rtems4.7/bin/ld:
warning: m68k:cpu32 architecture of input file
`shared/misc/shared_misc_rel-m68kidle.o' is incompatible with m68k:cpu32
output
/usr/lib/gcc/m68k-rtems4.7/4.1.1/../../../../m68k-rtems4.7/bin/ld:
Relocatable linking with relocations from format elf32-m68k
(shared/misc/shared_misc_rel-memProbe.o) to format elf32-m68k
(shared/misc.rel) is not supported
collect2: ld returned 1 exit status
This error seems to be new with vanilla binutils-2.17 + vanilla
gcc-4.1.1.
Older versions did not expose this issue.
Any ideas?
TIA,
Ralf
More information about the Binutils
mailing list