r287246: buildworld fails: ld: i386:x86-64 architecture of input file `/usr/obj/usr/src/sys/boot/i386/gptboot/../../libstand32/libstand.a(qdivrem.o)' is incompatible with i386 output

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Fri, 28 Aug 2015 08:41:58 +0200
Recent CURRENT sources fail to buildworld:

[...]
--- util.o ---
cc  -DBOOTPROG=\"gptboot\"  -O1  -DGPT  -DUFS1_AND_UFS2  -DSIOPRT=0x3f8
-DSIOFMT=0x3  -DSIOSPD=9600  -I/usr/src/sys/boot/i386/gptboot/../../common
-I/usr/src/sys/boot/i386/gptboot/../common
-I/usr/src/sys/boot/i386/gptboot/../btx/lib -I.
-I/usr/src/sys/boot/i386/gptboot/../boot2
-I/usr/src/sys/boot/i386/gptboot/../../..  -Wall -Waggregate-return
-Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
-Winline -march=i386 -ffreestanding -mno-mmx -mno-sse -mno-avx -msoft-float
-m32 -DNDEBUG -std=gnu99    -Qunused-arguments
-c /usr/src/sys/boot/i386/gptboot/../../common/util.c -o util.o --- gptldr.out
--- ld -static -N --gc-sections -m elf_i386_fbsd -e start -Ttext 0x7c00 -o
gptldr.out gptldr.o --- gptboot.out --- ld -static -N --gc-sections -m
elf_i386_fbsd -Ttext 0x0 -o
gptboot.out /usr/obj/usr/src/sys/boot/i386/gptboot/../btx/lib/crt0.o gptboot.o
sio.o gpt.o crc32.o drv.o cons.o
util.o /usr/obj/usr/src/sys/boot/i386/gptboot/../../libstand32/libstand.a ld:
i386:x86-64 architecture of input file
`/usr/obj/usr/src/sys/boot/i386/gptboot/../../libstand32/libstand.a(qdivrem.o)'
is incompatible with i386 output *** [gptboot.out] Error code 1

make[6]: stopped in /usr/src/sys/boot/i386/gptboot
1 error

make[6]: stopped in /usr/src/sys/boot/i386/gptboot
*** [_sub.all] Error code 2
Received on Fri Aug 28 2015 - 04:42:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:59 UTC