This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Relocatable linking from format elf32-m68k to format elf32-m68 not supported
- From: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- To: Binutils List <binutils at sources dot redhat dot com>
- Date: Tue, 27 Jun 2006 12:05:25 +0200
- Subject: Relocatable linking from format elf32-m68k to format elf32-m68 not supported
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