From owner-freebsd-toolchain@freebsd.org Tue Jun 18 23:43:32 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 BF3E815CC00E for ; Tue, 18 Jun 2019 23:43:31 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-24.consmr.mail.ne1.yahoo.com (sonic312-24.consmr.mail.ne1.yahoo.com [66.163.191.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46CBC6BFB6 for ; Tue, 18 Jun 2019 23:43:30 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: PnEy.N4VM1lps1FJ2FnZv9cPdremBbh_DF6XlKENsMU_w4Bnh1.SLsPnVdQOraB VnL9vYOlJBgWKtckY6Df3kQb7lvaUu_SBgnq3XCj0JVmQQsVIwDK8iLw4cy7XSWsuoDkXv59AbQb mCSBYxyfIB.ygvCgoAMoMsFAQtwi54frO3T12rL5RfpWvf8Ae0rhT7aBYi_.BZam_mEDEJp_eUag HcM.27bYuC5GUweiq9d9u7JFMSG9Fe9sjyokyX.CZt3atJRDr0W2KRipSH_1FgPEQAEuMC7WZ2Sy mlT2v_yFlYWHDntlKMFbbgW1k6LNaAYLSi2U4v67I8PCGLAjHi_.Sp7wm5UhPZxoZGHnNIrzga6F J3WXCwjhyLW9UmDZplAOu3lclnL7u1NFuIRLLcDfA7bmXFYmAQ1_1VAMEOpe.1rm.YgX53OZuARx bgR1.GWmqNuFUg3xkZU0MD8khCh7VXNj0Y.U1IoYuKJZW4UM_68U_rXDtnUYWu.PJk6QfwLWB4ji rLe17K_Tuhm4OG0P3XeTFbFOR0ADnxaz4A2pZrdwE8QEtYYJ6gwDGLrNmutAXyLrKuQx3iuAEx6J RobGEUxzBBfhORQEF4TeJrWsUolz4MpeiWGjNv5xmHXAF4_WkmpaKDudHs878tk8hxS.sFq93kyR YjWKeOMrr5QNh8lA6gtXjghNVw_wFh0mLleG1oadMpqtKXQvyM3N5fAIEyu5nHTvMQfyKTuQaU3t V3rQxitBuDau.ythtzXjPoskzVle5.APjIwMo1iQRmvluPXWAsuwPem4SYieAR02P6MwYH0tSygQ FFAWlO6d5j9EOdZipSLphzy0YkFR_mGVD6yzgNSZVQHSGSWFXH0jvO2CfhVQggMeCJ6bGEKxfbIa im3OKB1xohqpvBpVzl9XmvDWm9s1p6RuPmo6ZQvsz6zTZjiPS9MjuAyFD_.1W6bTa5e..YX53WNr qSQHubsoP8wIcSmP2o6iDjXkumUFhFCOv31eUrn0zahl89E3mdmz5Hfpd3XFJZyoXt4GfTXMkbYx osFsXs.dFPCynww4GCIxnusFtc3dnDbMAOnY.uaeDj3nUEB.SO3slYsRZptBx40BTgnBMmtmUxQt H5m4MdxYDuEqbHE3AgVv00mnxNDSeMEO9wBvVqqeygOwCseVNno9uwqXGKErzIjoJTu4HRBbMofD XzaR7N8Ih.3zpiOeuRk55W2ixFDshOkyN8il3FDe2AjhCyl.4INyHVJh7H4cH0CfUmppwsyCJR._ H Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Tue, 18 Jun 2019 23:43:23 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp431.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ae1fc97b2ce14ce89095e5fc03b9b9a6; Tue, 18 Jun 2019 23:43:19 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) 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 From: Mark Millard In-Reply-To: Date: Tue, 18 Jun 2019 16:43:18 -0700 Cc: FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <078C135A-4FC0-4155-83B2-546C5BEDF155@yahoo.com> References: <8B36A8AD-49F5-4B2B-856B-CD0162738DB7@yahoo.com> To: Bryan Drewery X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 46CBC6BFB6 X-Spamd-Bar: +++ X-Spamd-Result: default: False [3.61 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.86)[0.865,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.52)[ip: (5.25), ipnet: 66.163.184.0/21(1.33), asn: 36646(1.06), country: US(-0.06)]; NEURAL_SPAM_MEDIUM(0.91)[0.910,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.83)[0.829,0]; RCVD_IN_DNSWL_NONE(0.00)[205.191.163.66.list.dnswl.org : 127.0.5.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:43:32 -0000 On 2019-Jun-18, at 16:23, Bryan Drewery wrote: > 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_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 >=20 > cc is purposely not found during install. Yep. I expected that. > The problem is that it is > trying to link during install. That's bad. It should have already done > that during the build. It did. > Some timestamp is wrong and caused a relink. The retry of building from scratch and installing (via DESTDIR back to the messed up partition) did not have the problem. It suggests a race. (The alternate build context happens to have been from the restore of a dump -> restore today of the partition that later had world messed up by the install. Same machine. Both were under Hyper-V, and so on. No likely significant differences.) >> *** 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/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 >>=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/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 -- >>=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)