tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
m68k build failure
It used to be possible to build an m68k target optimized for the 68040
with "COPTS+= -m68040" in /etd/mk.conf.
I now get the following error messages, is this expected ?
The tree builds fine for m68k without -m68040.
# build libgcc_s/libgcc_s.so.1.0
rm -f libgcc_s.so.1.0
/u8/build/mac68k-tools/bin/m68k--netbsdelf-gcc -nodefaultlibs -Wl,-x -shared -Wl,-soname,libgcc_s.so.1 -Wl,--warn-shared-textrel -Wl,-Map=libgcc_s.so.1.map --sysroot=/var/obj/mac68k -nodefaultlibs -Wl,--version-script=/var/obj/mac68k-obj/external/gpl3/gcc/lib/libgcc/libgcc_s/libgcc.map -o libgcc_s.so.1.0 -Wl,-rpath,/lib -L=/lib -Wl,--whole-archive libgcc_s_pic.a -Wl,--no-whole-archive
libgcc_s_pic.a(_float.pico):(.text+0x8): relocation truncated to fit: R_68K_PC16 against symbol `$_exception_handler' defined in .text section in libgcc_s_pic.a(_floatex.pico)
libgcc_s_pic.a(_float.pico):(.text+0x18): relocation truncated to fit: R_68K_PC16 against symbol `$_exception_handler' defined in .text section in libgcc_s_pic.a(_floatex.pico)
libgcc_s_pic.a(_float.pico):(.text+0x22): relocation truncated to fit: R_68K_PC16 against symbol `$_exception_handler' defined in .text section in libgcc_s_pic.a(_floatex.pico)
libgcc_s_pic.a(_float.pico):(.text+0x2c): relocation truncated to fit: R_68K_PC16 against symbol `$_exception_handler' defined in .text section in libgcc_s_pic.a(_floatex.pico)
libgcc_s_pic.a(_float.pico):(.text+0x3c): relocation truncated to fit: R_68K_PC16 against symbol `$_exception_handler' defined in .text section in libgcc_s_pic.a(_floatex.pico)
libgcc_s_pic.a(_float.pico): In function `__cmpsf2_internal':
(.text+0x728): relocation truncated to fit: R_68K_PC16 against symbol `$_exception_handler' defined in .text section in libgcc_s_pic.a(_floatex.pico)
/u8/build/mac68k-tools/lib/gcc/m68k--netbsdelf/4.8.4/../../../../m68k--netbsdelf/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: error: ld returned 1 exit status
*** Failed target: libgcc_s.so.1.0
Robert Swindells
Home |
Main Index |
Thread Index |
Old Index