DragonFly bugs List (threaded) for 2005-04
-current build fails FreeBSD 4.x
Cross builds of DF on FreeBSD 4.x broke a couple of days ago (~ April 5th)
>>> stage 4d: building everything..
as -o mbr.o /usr/home/ctuffli/tinderbox/CURRENT/i386/i386/src/sys/boot/i386/mbr/mbr.s
ld -N -e start -Ttext 0x600 -o mbr.out mbr.o
objcopy -S -O binary mbr.out mbr
cc -c -DFLAGS=0xf -DTICKS=0xb6 /usr/home/ctuffli/tinderbox/CURRENT/i386/i386/src/sys/boot/i386/boot0/boot0.S -o boot0.o
CCVER=gcc2 OBJFORMAT_PATH=/ PATH=/usr/bin:/bin:/usr/sbin:/sbin cc -O -pipe -ffreestanding -mpreferred-stack-boundary=2 -fno-stack-protector -static /usr/home/ctuffli/tinderbox/CURRENT/i386/i386/src/sys/boot/i386/boot0/../bootasmdef.c -o bootasmdef.nx
cc1: Invalid option `-fno-stack-protector'
*** Error code 1
-fno-stack-protector is used sucessfully elsewhere in the build, so
I'm betting the specification of "PATH=/usr/bin:..." is causing grief
because the build is picking up the native compiler and not the cross
compiler which does support the above option. That said, I wasn't sure
whether the problem is using the native compiler or the compiler
option (or something completely different).