[Bug 259583] stand/i386/loader_4th: cc: not found

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Nov 2021 02:55:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259583

            Bug ID: 259583
           Summary: stand/i386/loader_4th: cc: not found
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: mi@FreeBSD.org

The from-source upgrade from FreeBSD-11 to 13.0 went smoothly. I'm not trying
to rebuild 13 on 13, and that fails -- in the "installworld" stage.

The buildworld finished successfully, followed by build- and installkernel.

The installworld fails:

....
===> stand/i386/isoboot (install)
installing DIRS BINDIR
install  -d -m 0755 -o root  -g wheel  /boot
install  -o root  -g wheel -m 444  isoboot /boot/isoboot
install  -o root -g wheel -m 444 isoboot.8.gz  /usr/share/man/man8/
===> stand/i386/loader_4th (install)
cc -target x86_64-unknown-freebsd13.0
--sysroot=/spare/obj/green/src/13/amd64.amd64/tmp
-B/spare/obj/green/src/13/amd64.amd64/tmp/usr/bin -O2 -pipe -fno-common
-I/green/src/13/stand/i386/btx/lib -nostdinc
-I/spare/obj/green/src/13/amd64.amd64/stand/libsa32 -I/green/src/13/stand/libsa
-D_STANDALONE -I/green/src/13/sys -Ddouble=jagged-little-pill
-Dfloat=floaty-mcfloatface -ffunction-sections -fdata-sections
-DLOADER_GELI_SUPPORT -I/green/src/13/stand/libsa/geli -DLOADER_DISK_SUPPORT
-m32 -ffreestanding -mno-mmx -mno-sse -mno-avx -mno-avx2 -msoft-float
-march=i386 -mno-relax -I. -Iinclude -I/green/src/13/stand/common
-I/green/src/13/stand/ficl -I/green/src/13/stand/ficl/i386
-I/green/src/13/stand/common -DBF_DICTSIZE=30000 -DLOADER_CD9660_SUPPORT
-DLOADER_EXT2FS_SUPPORT -DLOADER_MSDOS_SUPPORT -DLOADER_UFS_SUPPORT
-DLOADER_GZIP_SUPPORT -DLOADER_BZIP2_SUPPORT -DLOADER_NET_SUPPORT
-DLOADER_NFS_SUPPORT -DLOADER_TFTP_SUPPORT -DLOADER_GPT_SUPPORT
-DLOADER_MBR_SUPPORT -DLOADER_ZFS_SUPPORT -I/green/src/13/stand/libsa/zfs
-I/green/src/13/sys/cddl/boot/zfs
-I/green/src/13/sys/cddl/contrib/opensolaris/uts/common -Wall
-I/green/src/13/stand/i386 -DLOADER_PREFER_AMD64 -std=gnu99
-Wno-format-zero-length -Wsystem-headers -Werror -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 -static
-Wl,--defsym,ORG=0x0,-T,/green/src/13/stand/i386/boot.ldscript
-Wl,--gc-sections /spare/obj/green/src/13/amd64.amd64/stand/i386/btx/lib/crt0.o
-Wl,--no-rosegment  -o loader_4th.sym main.o conf.o vers.o chain.o gfx_fb.o
8x16.o boot.o commands.o console.o devopen.o interp.o interp_backslash.o
interp_parse.o ls.o misc.o module.o nvstore.o pnglite.o load_elf32.o
load_elf32_obj.o reloc_elf32.o load_elf64.o load_elf64_obj.o reloc_elf64.o
disk.o part.o vdisk.o dev_net.o bcache.o isapnp.o pnp.o interp_forth.o
zfs_cmd.o  /spare/obj/green/src/13/amd64.amd64/stand/ficl32/libficl.a 
/spare/obj/green/src/13/amd64.amd64/stand/i386/libi386/libi386.a
/spare/obj/green/src/13/amd64.amd64/stand/libsa32/libsa32.a 
/tmp/install.cWeAHcJi/sh: cc: not found
*** Error code 127
Stop.
make[6]: stopped in /green/src/13/stand/i386/loader_4th
*** Error code 1

Stop.
make[5]: stopped in /green/src/13/stand/i386
*** Error code 1
...

-- 
You are receiving this mail because:
You are the assignee for the bug.