From owner-freebsd-toolchain@freebsd.org Tue Jun 18 23:24:06 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4C7415CBB4A for ; Tue, 18 Jun 2019 23:24:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 856446B800; Tue, 18 Jun 2019 23:24:05 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id DBCE1317B; Tue, 18 Jun 2019 23:24:04 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 57B9C9181; Tue, 18 Jun 2019 23:24:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id r-cNFhBfhE4m; Tue, 18 Jun 2019 23:23:59 +0000 (UTC) Subject: Re: head -r347549 installworld targeting amd64 after debug build: "stand/efi/boot1 (install)" tried to cc ... -o boot1.sym.full ... and got cc: not found DKIM-Filter: OpenDKIM Filter v2.10.3 mail.xzibition.com 17D0D9177 To: Mark Millard , FreeBSD Toolchain References: <8B36A8AD-49F5-4B2B-856B-CD0162738DB7@yahoo.com> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=https://zx.xk42.net/bryan.asc Autocrypt: addr=bdrewery@FreeBSD.org; prefer-encrypt=mutual; keydata= mQENBFJphmsBCADiFgmS4bIzwZijrS31SjEMzg+n5zNellgM+HkShwehpqCiyhXdWrvH6dTZ a6u50pbUIX7doTR7W7PQHCjCTqtpwvcj0eulZva+iHFp+XrbgSFHn+VVXgkYP2MFySyZRFab D2qqzJBEJofhpv4HvY6uQI5K99pMqKr1Z/lHqsijYYu4RH2OfwB5PinId7xeldzWEonVoCr+ rfxzO/UrgA6v/3layGZcKNHFjmc3NqoN1DXtdaEHqtjIozzbndVkH6lkFvIpIrI6i5ox8pwp VxsxLCr/4Musd5CWgHiet5kSw2SzNeA8FbxdLYCpXNVu+uBACEbCUP+CSNy3NVfEUxsBABEB AAG0JEJyeWFuIERyZXdlcnkgPGJkcmV3ZXJ5QEZyZWVCU0Qub3JnPokBVwQTAQoAQQIbAwUL CQgHAwUVCgkICwUWAwIBAAIeAQIXgAIZARYhBPkXPLLDqup6XIofCTXXcbtuRpfPBQJb5hLu BQkNPvODAAoJEDXXcbtuRpfP9rMH/3f7cfX5rzyEV5QNfV/wS4jFukLoPZ4+nCM/TKxH3pEX 2bLbeQbkk6La8cueQ5Lpoht5XFZ18Y5TbMittngltrlNzoDD0h9are24OkDFGim3afJU7tkj IGQa1if+re+vI5BhzYwRhj0oKXzBi39M5oePd3L1dXfx83rg2FPyZBdIejsz6fR74T3JVkbd 6k2l5/3Zk2uiNMy+eBfDRgYE1E6CP28kV0nCeGKZgSVso0kGUUHud7voKqGVpMvbd0mE4pp4 PE5YJaFPjrll9miaDAvdU8LGIq5n6+aXPLKoQ/QNl6mg6ifgI6FfKILOkTizLW8E5PBSNnCm NapQ55yjm125AQ0EUmmGawEIAKJUU9+Q19oW1RK5jTf3m56j+szIc8Y9DaLC8REUKl4UZJBK BqCl6c0cukVApOD92XoU6hJPm2rLEyp/IcYcPPNTnVu8D8h9oag2L8EiFN7+2hk0xG+lwjc8 uOIZycme7AIJsBU4AZ1v63lxm2k104hwpiatgbe71GIGl7p1MX6ousP/wGzXCOF25Dx9w02C eRe7zEMfhnFjSUhzdCC9han2+KaVB7qIqNR3b8NfbwRNlwPmHqlhXffUow9OsQjSnTK8WKNR lx7xzVccXIvWP2wECFrmqmzMmXpSrmIuiWEpFwZ9x2a0Pva8dCNRiCVTK51IlRXKjaAxiN1u IUrMm6UAEQEAAYkBPAQYAQoAJgIbDBYhBPkXPLLDqup6XIofCTXXcbtuRpfPBQJb5hL4BQkN PvONAAoJEDXXcbtuRpfPCjcH/ivBsOpdpebpgLizSNU5/X4yWN5Aixsc9VBnQhGKAKnMINJQ VMpA55sD2JSPwloXYM/B3qyPJRS/9cwIuX5LDNKKOZU3Qp+TzleynM15/xea14orWYRGRict YHBM3Cnqp7OD8K6Q1uhs0fTxyJP7PZ/G0+7Corlf1DlHhDt6C2HldRPFvAvAgl6sR9Wzgcb7 rzub2HVtbJgl6YHbgyAG7x9NpXFqzx1JLAMdpt2DIYwoi+oMdRQlBIwNuKjQjCGzuXHandd3 kGvBAsyJpQ+coEep9UzwANaV28cXrFr2R4FSOcR50rBA2Nh/vqUYfpsvBvJlwuKAoV1djVHa ihNeL5E= Organization: FreeBSD Message-ID: Date: Tue, 18 Jun 2019 16:23:57 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <8B36A8AD-49F5-4B2B-856B-CD0162738DB7@yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dp6dc3Rk4vLvKLGEW2jzLuGz1wyDtXlNp" X-Rspamd-Queue-Id: 856446B800 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.964,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2019 23:24:06 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Dp6dc3Rk4vLvKLGEW2jzLuGz1wyDtXlNp Content-Type: multipart/mixed; boundary="heqQFh21L6JhzQxOf1E0VnKSk9Q7Uo6Dv"; protected-headers="v1" From: Bryan Drewery To: Mark Millard , FreeBSD Toolchain Message-ID: Subject: Re: head -r347549 installworld targeting amd64 after debug build: "stand/efi/boot1 (install)" tried to cc ... -o boot1.sym.full ... and got cc: not found References: <8B36A8AD-49F5-4B2B-856B-CD0162738DB7@yahoo.com> In-Reply-To: <8B36A8AD-49F5-4B2B-856B-CD0162738DB7@yahoo.com> --heqQFh21L6JhzQxOf1E0VnKSk9Q7Uo6Dv Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/18/2019 3:55 PM, Mark Millard wrote: > [I'm back at -r347549 because of other on-going investigations > that started back then.] >=20 > 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. >=20 > =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_cla= ng/amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/amd64dbg_clang/amd64.am= d64/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.a= md64/stand/libsa -I/usr/src/stand/libsa -D_STANDALONE -I/usr/src/sys -Ddo= uble=3Djagged-little-pill -Dfloat=3Dfloaty-mcfloatface -DLOADER_GELI_SUPP= ORT -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. -DE= FI_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-pointe= r-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -W= no-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-= unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-addre= ss-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parame= ter -Wno-parentheses -Oz -Qunused-arguments ERROR-tried-to-rebuild-during= -make-install -nostdlib -Wl,-T/usr/src/stand/efi/loader/arch/amd64/ldscr= ipt.amd64,-Bsymbolic,-znotext -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/libefi.a /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd= 64/stand/libsa/libsa.a > /tmp/install.JSyxbO0g/sh: cc: not found cc is purposely not found during install. The problem is that it is trying to link during install. That's bad. It should have already done that during the build. Some timestamp is wrong and caused a relink. > *** Error code 127 >=20 > Stop. > make[6]: stopped in /usr/src/stand/efi/boot1 > *** Error code 1 >=20 > Stop. > make[5]: stopped in /usr/src/stand/efi > *** Error code 1 >=20 > Stop. > make[4]: stopped in /usr/src/stand > *** Error code 1 >=20 > Stop. > make[3]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make[2]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make[1]: stopped in /usr/src > *** Error code 1 >=20 > Stop. > make: stopped in /usr/src >=20 > Script done, output file is /root/sys_typescripts/typescript_make_amd64= _debug_clang-amd64-host-2019-06-18:15:16:18 >=20 >=20 > 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 : >=20 > # ls -lTdt /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stan= d/efi/boot1/boot1* > -rw-r--r-- 1 root wheel 6228 Jun 18 14:59:12 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.o.meta > -rw-r--r-- 1 root wheel 43344 Jun 18 14:59:12 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.o > -rw-r--r-- 1 root wheel 2042 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.efifat.meta= > -rw-r--r-- 1 root wheel 819200 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.efifat > -rw-r--r-- 1 root wheel 1561 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.efi.meta > -rwxr-xr-x 1 root wheel 81920 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.efi > -rw-r--r-- 1 root wheel 841 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.sym.meta > -rwxr-xr-x 1 root wheel 121416 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.sym > -rw-r--r-- 1 root wheel 814 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.sym.debug.m= eta > -rwxr-xr-x 1 root wheel 217408 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.sym.debug > -rw-r--r-- 1 root wheel 3024 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.sym.full.me= ta > -rwxr-xr-x 1 root wheel 325744 Jun 18 14:59:11 2019 /usr/obj/amd64db= g_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/boot1/boot1.sym.full >=20 > (Hmm. I missed part of a line for that last. Too late > now.) >=20 > The boot1.sym.full.meta shows: >=20 > # more /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/ef= i/boot1/boot1.sym.full.meta > # Meta data file /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd6= 4/stand/efi/boot1/boot1.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/amd6= 4.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/amd= 64.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_BO= OT -I/usr/src/stand/common -fPIC -g -std=3Dgnu99 -Wsystem-headers -Wno-po= inter-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variabl= e -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -= Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-a= ddress-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-pa= rameter -Wno-parentheses -Oz -Qunused-arguments -nostdlib -Wl,-T/usr/src= /stand/efi/loader/arch/amd64/ldscript.amd64,-Bsymbolic,-znotext -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/amd6= 4.amd64/usr/src/amd64.amd64/stand/efi/libefi/libefi.a /usr/obj/amd64dbg_c= lang/amd64.amd64/usr/src/amd64.amd64/stand/libsa/libsa.a > CWD /usr/obj/amd64dbg_clang/amd64.amd64/usr/src/amd64.amd64/stand/efi/b= oot1 > TARGET boot1.sym.full > -- command output -- >=20 > -- filemon acquired metadata -- > . . . >=20 >=20 >=20 > 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. >=20 > =3D=3D=3D > Mark Millard > marklmi at yahoo.com > ( dsl-only.net went > away in early 2018-Mar) >=20 --=20 Regards, Bryan Drewery --heqQFh21L6JhzQxOf1E0VnKSk9Q7Uo6Dv-- --Dp6dc3Rk4vLvKLGEW2jzLuGz1wyDtXlNp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE+Rc8ssOq6npcih8JNddxu25Gl88FAl0Jco1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5 MTczQ0IyQzNBQUVBN0E1QzhBMUYwOTM1RDc3MUJCNkU0Njk3Q0YACgkQNddxu25G l8+CGQf9H4ivS8anmknCN6joncJ2/+GpRWFqZDcC8m2aFBAyvsNuqnqB77+xhjB/ UrpXAtPnCDl3v+fAYC9jFbWtInTsbH2tU3u5ZE8QXp2CQ23jvXQtkt3CDbrGSJDE AeciDq6q3l97AMkh8G2xQzi3fMLL4gq3VJZi5RjTvldivaxGN7k0Gi+DSkGGjkKB 7+zOeBQ/qa3kHgz2/6zkwaMN6t5UgEhCiTD0VjDjU8pruWCbSQ6BSz858CKa6Vvm t7sXVFC84MLbOhZyL770xMQx9zOKI46X1I/2U9GNtjgFcrXyRLJEYvOHtmF3GagZ mTQ93s7xL6gH95EUKyOrmYMj8zC4pA== =RgfV -----END PGP SIGNATURE----- --Dp6dc3Rk4vLvKLGEW2jzLuGz1wyDtXlNp--