Hello,
I have no idea what's going on here. I am trying to build world with llvm60 and binutils from ports.
But as is there:
And manually building works:
I have no idea what's going on here. I am trying to build world with llvm60 and binutils from ports.
Code:
===> stand/ficl (all)
===> stand/ficl32 (all)
===> stand/forth (all)
===> stand/liblua (all)
===> stand/liblua32 (all)
===> stand/lua (all)
===> stand/fdt (all)
===> stand/defaults (all)
===> stand/man (all)
===> stand/userboot (all)
===> stand/userboot/test (all)
===> stand/userboot/userboot_4th (all)
===> stand/userboot/userboot_lua (all)
===> stand/i386 (all)
===> stand/i386/mbr (all)
as --defsym FLAGS=0x80 --32 -o mbr.o /usr/src/stand/i386/mbr/mbr.s
/bin/sh: as: not found
*** Error code 127
Code:
# which as
/usr/local/bin/as
Code:
root@fb:/usr/src/stand/i386/mbr # make
as --defsym FLAGS=0x80 --32 -o mbr.o /usr/src/stand/i386/mbr/mbr.s
/usr/local/llvm60/bin/clang -O2 -pipe -I/usr/src/stand/i386/btx/lib -nostdinc -I/usr/obj/usr/src/amd64.amd64/stand/libsa32 -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys -Ddouble=jagged-little-pill -Dfloat=floaty-mcfloatface -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT -m32 -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -march=i386 -I. -DNDEBUG -std=gnu99 -Wsystem-headers -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Oz -Qunused-arguments -e start -Ttext 0x600 -Wl,-N,-S,--oformat,binary -nostdlib -Wl,--no-rosegment -o mbr mbr.o
machine -> /usr/src/sys/i386/include
x86 -> /usr/src/sys/x86/include
root@fb:/usr/src/stand/i386/mbr # as --defsym FLAGS=0x80 --32 -o mbr.o /usr/src/stand/i386/mbr/mbr.s
root@fb:/usr/src/stand/i386/mbr # l mbr.o
-rw-r--r-- 1 root wheel 1.7K May 17 14:50 mbr.o