Date: Tue, 18 Jun 2019 15:55:58 -0700 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Bryan Drewery <bdrewery@FreeBSD.org> Subject: head -r347549 installworld targeting amd64 after debug build: "stand/efi/boot1 (install)" tried to cc ... -o boot1.sym.full ... and got cc: not found Message-ID: <8B36A8AD-49F5-4B2B-856B-CD0162738DB7@yahoo.com>
next in thread | raw e-mail | index | archive | help
[I'm back at -r347549 because of other on-going investigations that started back then.] I normally do non-debug -jN builds but had a reason to make a debug build for amd64 to be installed and booted (head -r347549 ). But it is failing with the below. The buildworld did not report and issues in its typescript log as far as I found when I looked. =3D=3D=3D> stand/efi/boot1 (install) installing DIRS BINDIR install -d -m 0755 -o root -g wheel /boot cc -target x86_64-unknown-freebsd13.0 = --sysroot=3D/usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin = -O2 -pipe -Wformat -fshort-wchar -mno-red-zone -nostdinc = -I/usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/libsa = -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys = -Ddouble=3Djagged-little-pill -Dfloat=3Dfloaty-mcfloatface = -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT = -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC = -mno-red-zone -I. -DEFI_BOOT1 -DEFI_ZFS_BOOT = -I/usr/src/stand/efi/include -I/usr/src/stand/efi/include/amd64 = -I/usr/src/sys/contrib/dev/acpica/include -DEFI_UFS_BOOT = -I/usr/src/stand/common -fPIC -g -std=3Dgnu99 -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 ERROR-tried-to-rebuild-during-make-install -nostdlib = -Wl,-T/usr/src/stand/efi/loader/arch/amd64/ldscript.amd64,-Bsymbolic,-znot= ext -shared -Wl,-znocombreloc -Wl,--no-threads -o boot1.sym.full boot1.o = self_reloc.o start.o ufs_module.o devpath.o zfs_module.o = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/libefi/l= ibefi.a = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/libsa/libsa.= a /tmp/install.JSyxbO0g/sh: cc: not found *** Error code 127 Stop. make[6]: stopped in /usr/src/stand/efi/boot1 *** Error code 1 Stop. make[5]: stopped in /usr/src/stand/efi *** Error code 1 Stop. make[4]: stopped in /usr/src/stand *** Error code 1 Stop. make[3]: stopped in /usr/src *** Error code 1 Stop. make[2]: stopped in /usr/src *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src Script done, output file is = /root/sys_typescripts/typescript_make_amd64_debug_clang-amd64-host-2019-06= -18:15:16:18 The buildworld produced a stand/efi/boot1/boot1.o that apparently finished after stand/efi/boot1/boot1.sym.full and so lead to the installation make trying a rebuild, note the 14:59:12 for boot1.o.meta vs. the 14:59:11 for boot1.sym.full.meta as an example and the list order is via -lTdt : # ls -lTdt = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1* -rw-r--r-- 1 root wheel 6228 Jun 18 14:59:12 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.o.meta -rw-r--r-- 1 root wheel 43344 Jun 18 14:59:12 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.o -rw-r--r-- 1 root wheel 2042 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.efifat.meta -rw-r--r-- 1 root wheel 819200 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.efifat -rw-r--r-- 1 root wheel 1561 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.efi.meta -rwxr-xr-x 1 root wheel 81920 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.efi -rw-r--r-- 1 root wheel 841 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.sym.meta -rwxr-xr-x 1 root wheel 121416 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.sym -rw-r--r-- 1 root wheel 814 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.sym.debug.meta -rwxr-xr-x 1 root wheel 217408 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.sym.debug -rw-r--r-- 1 root wheel 3024 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.sym.full.meta -rwxr-xr-x 1 root wheel 325744 Jun 18 14:59:11 2019 = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.sym.full (Hmm. I missed part of a line for that last. Too late now.) The boot1.sym.full.meta shows: # more = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.sym.full.meta # Meta data file = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/bo= ot1.sym.full.meta CMD cc -target x86_64-unknown-freebsd13.0 = --sysroot=3D/usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin = -O2 -pipe -Wformat -fshort-wchar -mno-red-zone -nostdinc = -I/usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/libsa = -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys = -Ddouble=3Djagged-little-pill -Dfloat=3Dfloaty-mcfloatface = -DLOADER_GELI_SUPPORT -I/usr/src/stand/libsa/geli -DLOADER_DISK_SUPPORT = -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float -fPIC = -mno-red-zone -I. -DEFI_BOOT1 -DEFI_ZFS_BOOT = -I/usr/src/stand/efi/include -I/usr/src/stand/efi/include/amd64 = -I/usr/src/sys/contrib/dev/acpica/include -DEFI_UFS_BOOT = -I/usr/src/stand/common -fPIC -g -std=3Dgnu99 -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 -nostdlib = -Wl,-T/usr/src/stand/efi/loader/arch/amd64/ldscript.amd64,-Bsymbolic,-znot= ext -shared -Wl,-znocombreloc -Wl,--no-threads -o boot1.sym.full boot1.o = self_reloc.o start.o ufs_module.o devpath.o zfs_module.o = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/libefi/l= ibefi.a = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/libsa/libsa.= a CWD = /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1 TARGET boot1.sym.full -- command output -- -- filemon acquired metadata -- . . . This bad install hosed the build environment and I'm going to build from a different context and then install from there. We will see if the other -r347549 context has the same sort of problem. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8B36A8AD-49F5-4B2B-856B-CD0162738DB7>