Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2016 15:52:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213454] mips64 BERI boot components fail to build with CROSS_TOOLCHAIN=mips64-gcc
Message-ID:  <bug-213454-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213454

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

buildworld fails with:

=3D=3D=3D> 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/boo=
t2/../../../../../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 f=
ile
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 f=
ile
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 f=
ile
boot2.o
/usr/local/mips64-freebsd/bin/ld: altera_jtag_uart.o: ABI is incompatible w=
ith
that of the selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of f=
ile
altera_jtag_uart.o
/usr/local/mips64-freebsd/bin/ld: cfi.o: ABI is incompatible with that of t=
he
selected emulation
/usr/local/mips64-freebsd/bin/ld: failed to merge target specific data of f=
ile
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 f=
ile
sdcard.o
/usr/local/mips64-freebsd/bin/ld:
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boo=
t2/../../../../../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 f=
ile
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boo=
t2/../../../../../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/boo=
t2/../../../../../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 f=
ile
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boo=
t2/../../../../../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/boo=
t2/../../../../../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 f=
ile
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boo=
t2/../../../../../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/boo=
t2/../../../../../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 f=
ile
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boo=
t2/../../../../../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/boo=
t2/../../../../../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 f=
ile
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boo=
t2/../../../../../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/boo=
t2/../../../../../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 f=
ile
/tank/emaste/obj/mips.mips64/tank/emaste/src/freebsd/sys/boot/mips/beri/boo=
t2/../../../../../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)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213454-8>