Re: -current build fails FreeBSD 4.x

看板DFBSD_bugs作者時間21年前 (2005/04/08 07:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/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 You nailed it. It's using the wrong compiler... but it's too late to fix that. I'm going to use David Rhodus's patch in the release tree instead. -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #12LRkn00 (DFBSD_bugs)
文章代碼(AID): #12LRkn00 (DFBSD_bugs)