[Bug 213454] mips64 BERI boot components fail to build with CROSS_TOOLCHAIN=mips64-gcc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 13 15:52:12 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213454

            Bug ID: 213454
           Summary: mips64 BERI boot components fail to build with
                    CROSS_TOOLCHAIN=mips64-gcc
           Product: Base System
           Version: CURRENT
          Hardware: mips
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: emaste at freebsd.org

buildworld fails with:

===> sys/boot/mips/beri/boot2 (all)
/usr/local/mips64-freebsd/bin/ld -nostdlib -static -N -G0
-L/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2 -nostdlib -T
/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/flashboot.ldscript -o
flashboot.elf         relocate.o start.o boot2.o altera_jtag_uart.o cfi.o
sdcard.o
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a
/usr/local/mips64-freebsd/bin/ld: relocate.o: ABI is incompatible with that of
the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
relocate.o
/usr/local/mips64-freebsd/bin/ld: start.o: ABI is incompatible with that of the
selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
start.o
/usr/local/mips64-freebsd/bin/ld: boot2.o: ABI is incompatible with that of the
selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
boot2.o
/usr/local/mips64-freebsd/bin/ld: altera_jtag_uart.o: ABI is incompatible with
that of the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
altera_jtag_uart.o
/usr/local/mips64-freebsd/bin/ld: cfi.o: ABI is incompatible with that of the
selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
cfi.o
/usr/local/mips64-freebsd/bin/ld: sdcard.o: ABI is incompatible with that of
the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
sdcard.o
/usr/local/mips64-freebsd/bin/ld:
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(strsep.o):
ABI is incompatible with that of the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(strsep.o)
/usr/local/mips64-freebsd/bin/ld:
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(memcpy.o):
ABI is incompatible with that of the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(memcpy.o)
/usr/local/mips64-freebsd/bin/ld:
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(strcmp.o):
ABI is incompatible with that of the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(strcmp.o)
/usr/local/mips64-freebsd/bin/ld:
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(printf.o):
ABI is incompatible with that of the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(printf.o)
/usr/local/mips64-freebsd/bin/ld:
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(strlen.o):
ABI is incompatible with that of the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(strlen.o)
/usr/local/mips64-freebsd/bin/ld:
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(bcd.o):
ABI is incompatible with that of the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of file
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boot2/../../../../../lib/libstand/libstand.a(bcd.o)
*** Error code 1 (ignored)
/usr/local/mips64-freebsd/bin/objcopy -S -O binary flashboot.elf flashboot
/usr/local/mips64-freebsd/bin/objcopy: 'flashboot.elf': No such file
*** Error code 1 (ignored)

(jtagboot and beri/loader fail with the same errors)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list