installworld is broken when world is built without compiler

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Mon, 18 May 2015 17:59:16 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


 I'm updating my NanoBSD installation, which doesn't include any
toolchain in buildworld/installworld, to r283052.

 And here are problem: sys/boot/efi/loader tries to build something at
"installworld":

===> sys/boot/efi/loader (install)
cc -O2 -pipe   -fPIC -I/data/src/sys/boot/efi/loader
- -I/data/src/sys/boot/efi/loader/arch/amd64
- -I/data/src/sys/boot/efi/loader/../include
- -I/data/src/sys/boot/efi/loader/../include/amd64
- -I/data/src/sys/boot/efi/loader/../../../contrib/dev/acpica/include
- -I/data/src/sys/boot/efi/loader/../../..
- -I/data/src/sys/boot/efi/loader/../../i386/libi386 -DNO_PCI -DEFI
- -DBOOT_FORTH -I/data/src/sys/boot/efi/loader/../../ficl
- -I/data/src/sys/boot/efi/loader/../../ficl/amd64 -DLOADER_DISK_SUPPORT
- -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT
- -I/data/src/sys/boot/efi/loader/../../common -ffreestanding -Wformat
- -msoft-float -fshort-wchar -mno-red-zone -mno-mmx -mno-sse -mno-aes
- -mno-avx -std=gnu99   -Qunused-arguments -c
/data/src/sys/boot/efi/loader/autoload.c -o autoload.o
/tmp/install.oRhcsq97/sh: cc: not found
*** Error code 127

Stop.
make[7]: stopped in /data/src/sys/boot/efi/loader

 And this file is here, in object directory:

% find /data/obj.nano/gateway.v2/data/src -name autoload.o
/data/obj.nano/gateway.v2/data/src/sys/boot/efi/loader/autoload.o
% ls /data/obj.nano/gateway.v2/data/src/sys/boot/efi/loader
amd64_tramp.o           conf.o                  elf64_freebsd.o
load_elf32_obj.o        main.o                  reloc_elf64.o
autoload.o              console.o               framebuffer.o
load_elf64.o            misc.o                  self_reloc.o
bcache.o                copy.o                  interp.o
load_elf64_obj.o        module.o                smbios.o
boot.o                  crc32.o                 interp_backslash.o
loader.efi              nullconsole.o           start.o
bootinfo.o              devicename.o            interp_forth.o
loader.sym              panic.o                 vers.c
comconsole.o            devopen.o               interp_parse.o
ls.o                    part.o                  vers.o
commands.o              disk.o                  load_elf32.o
machine                 reloc_elf32.o           x86
%

- -- 
// Lev Serebryakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQJ8BAEBCgBmBQJVWf5EXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePGMAP/in4VUtiyVXWFJSnUy2BCTGG
VbK+mYbfDonP7AqYE6JrKqcQat+U8o4402npzSKg0PdcJx+EGpcQHutLX4qemTDC
14bbvuWMnK8ufYS/EFQxSzhmjMgE4GOzk9Ih4yi7xeodmDmB7L4eC4Hff3n/deqT
729DpVFoqgGdrNkDeMjSXYLr9ljKs5YuSQNBWoTQjeue0XT3EOjfaNgYIQok+hWQ
MMchxZrSZNmGDh4X6IeTRfbGViS9bcB7yxOynA7ixawAqAKwtQA8gok1tn36r7Ju
fQ1CSNpp1EziDhudvPtf6TgAjD5SjnaWMXh+e2sNPbhu5RYh9D2EWAj4qc4t9aU5
eBfnHst0/iK09t1bo4NSDy9e4D3/thi4Z22EAof50s3FURh6YSwpGSCW3ybECadm
SXF6SuqmhjzOO4PPITlM6Xeae+x93MwytvxQPysywYPBtNyypmlWwthuHP3nlG+d
HullfkTmgpwNZhKQrajHp4Z4dpCTQCPrSEIxeYGHUUekt3SFtrBzxZQ7Q+x+boag
QQR0XdoDi3y3Y4ZuMhSzQQmsFBUvhFaIGpNNXv9B7spT9QGm8ExSeC9bFgTRJ8Kc
H3naXI+9tDGjlomIkqFN7MXpfxivePak+3GZrglDjgXbcNPvFU43qi6BakUE/oL4
N7MlqqhUd2TA/msIvuTl
=c/o3
-----END PGP SIGNATURE-----
Received on Mon May 18 2015 - 12:59:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:57 UTC