r279842 could not do "installworld" if compiler was not build at "buildoworld" phase (amd64/efi trys to compile on install)

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Tue, 10 Mar 2015 22:38:58 +0300
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


 NaonBSD build with r279842 host and r279842 sources without compiler
built in "buildworld" stage fails to make "installworld" because it
try to compile "sys/boot/amd64/efi" at install phase:

I have this in "src.conf"

WITHOUT_CROSS_COMPILER=yes
WITHOUT_CLANG=yes
WITHOUT_BINUTILS=yes
WITHOUT_ELFTOOLCHAIN_TOOLS=yes
WITHOUT_GCC=yes
WITHOUT_TOOLCHAIN=yes

 And got this at "make installworld":

===> sys/boot/userboot/userboot (install)
install  -o root -g wheel -m 444     userboot.so
/data/obj.nano/gateway.v2/_.w/boot
===> sys/boot/ficl32 (install)
===> sys/boot/ficl (install)
===> sys/boot/amd64 (install)
===> sys/boot/amd64/efi (install)
cc -O2 -pipe   -fPIC -I.
- -I/data/src/sys/boot/amd64/efi/../../efi/include
- -I/data/src/sys/boot/amd64/efi/../../efi/include/amd64
- -I/data/src/sys/boot/amd64/efi/../../../contrib/dev/acpica/include
- -I/data/src/sys/boot/amd64/efi/../../.. -DBOOT_FORTH
- -I/data/src/sys/boot/amd64/efi/../../ficl
- -I/data/src/sys/boot/amd64/efi/../../ficl/amd64 -DLOADER_DISK_SUPPORT
- -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT
- -I/data/src/sys/boot/amd64/efi/../../common -ffreestanding -mno-mmx
- -mno-sse -mno-aes -mno-avx -msoft-float -std=gnu99
- -Qunused-arguments -c /data/src/sys/boot/amd64/efi/autoload.c
/tmp/install.4m4ZY660/sh: cc: not found
*** Error code 127

Stop.
make[7]: stopped in /data/src/sys/boot/amd64/efi
*** Error code 1

r278206 worked with this config.

BTW, it will be nice to have WITHOUT_UEFI knob.

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

iQJ8BAEBCgBmBQJU/0hSXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRGOTZEMUNBMEI1RjQzMThCNjc0QjMzMEFF
QUIwM0M1OEJGREM0NzhGAAoJEOqwPFi/3EePxtQP/A1tFNf2TEVwGn8K6xILuPf4
nKMf5sfCMLyObskWJ1QUFpg8x2CV+R3LInCOliAgLamA3McFy62md7+h2V+FtBrc
T/7W6kzNS7WBQCXALsb1psOFSpTqhmvEF3q3WT0gvyeO8xrI4rF5qrohgLpsIcY7
otamP8WcFRdDA9+EHiiXJo7OB+r/1bhTtoZQ/n4wfTzrUyfUk6faZlVAdFewRfjZ
gOwZ7vUMkOrhabcnxt+sf1qhA9Ned0Cd31DJp+Bq3VJ1P6HFkcOydM4sKfNQO2sL
BWCnTmskm/ZoD8MRkAeC7MJ0xHCCETxToWzDckA5naYiqSUm/PKp5srqtM1vLLDr
2YPh8CXqSqM8gbNIP66LAhsQGpfofUgPb8El16Ha9Ah5e5XGUMc5p1MWYIDR4LkF
YVse2v/J4tQZuSdGzgWXMQicMpw2CSBwZQ9Wd/cN2PFF/yp75C4J1dk9wOa97VMW
Y+U9dNoFo7QXVj5l3g/Dp5vU9AudAD1P10lzlZmoPVzex/eKJs3JUW7vvUFRLRgc
oPgstt2nie5/r16cvuRcA8pdAU1bW0Kem2XxY1bg7yhLodxDLlgfxrpaGXj/NW2w
F0qjKtlLFXdkd4AUA9zX4VkMwRCX4nRCQ043cY9ICC25ufvliSgnERGzpvQXkxu6
CtlMK+h3Mplsn0LoR6uq
=1UGD
-----END PGP SIGNATURE-----
Received on Tue Mar 10 2015 - 18:39:12 UTC

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