-current build fails FreeBSD 4.x

看板DFBSD_bugs作者時間21年前 (2005/04/08 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/4 (看更多)
Cross builds of DF on FreeBSD 4.x broke a couple of days ago (~ April 5th) .... >>> stage 4d: building everything.. [...] ===> sys/boot/i386/mbr 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 ===> sys/boot/i386/boot0 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). -- Chuck Tuffli Agilent Technologies
文章代碼(AID): #12LRJd00 (DFBSD_bugs)
文章代碼(AID): #12LRJd00 (DFBSD_bugs)