From owner-freebsd-toolchain@freebsd.org Fri Nov 3 19:49:21 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 058E2E59870 for ; Fri, 3 Nov 2017 19:49:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-131.reflexion.net [208.70.210.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8D03708FB for ; Fri, 3 Nov 2017 19:49:20 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 17400 invoked from network); 3 Nov 2017 19:42:39 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 3 Nov 2017 19:42:39 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Fri, 03 Nov 2017 15:42:39 -0400 (EDT) Received: (qmail 26719 invoked from network); 3 Nov 2017 19:42:38 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 3 Nov 2017 19:42:38 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 2B571EC92A1; Fri, 3 Nov 2017 12:42:38 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools From: Mark Millard In-Reply-To: <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org> Date: Fri, 3 Nov 2017 12:42:37 -0700 Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <25840EFC-69DD-4A2A-B89A-0D6D51C9BA14@dsl-only.net> References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 19:49:21 -0000 On 2017-Nov-3, at 11:31 AM, Bryan Drewery wrote: > On 11/3/17 1:52 AM, Mark Millard wrote: >> I did get another problem after buildworld, buildkernel, = installkernel >> without future source code dates: the installworld got a "cc not = found" >> for the amd64 native build based on -r325351 --that also appears to = be >> set up to report: >>=20 >> ERROR-tried-to-rebuild-during-make-install >>=20 >> if cc had been found: >>=20 >> .if defined(SRCTOP) >> # Prevent rebuilding during install to support read-only objdirs. >> .if ${.TARGETS:M*install*} =3D=3D ${.TARGETS} && = empty(.MAKE.MODE:Mmeta) >> CFLAGS+=3D ERROR-tried-to-rebuild-during-make-install >> .endif=20 >> .endif=20 >>=20 >=20 > This one usually only happens if it is trying to compile at = installtime, > which usually means a file is missing (wrong OBJDIR perhaps) or the > timestamps are off. >=20 > I'll play with this more and see what I can come up with, but I didn't > run into anything like this myself yet. I locally forced a -dm on the ${MAKE} command involved and the result reported: Examining beforeinstall...non-existent....PHONY node...out-of-date. recheck(beforeinstall): update time from 16:00:00 Dec 31, 1969 to now Examining machine...modified 20:13:03 Nov 03, 2017...up-to-date. Examining x86...modified 20:13:07 Nov 03, 2017...up-to-date. Examining autoload.c...modified 2:27:17 Nov 03, 2016...up-to-date. Examining autoload.o...modified 0:10:12 Nov 03, 2017...modified before = source x86...out-of-date. cc -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin -O2 = -pipe -ffreestanding -Wformat -mno-mmx -mno-sse -mno-avx -msoft-float = -fshort-wchar -mno-red-zone -mno-aes -DLOADER_UFS_SUPPORT = -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT = -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/boot/zfs = -DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader = -I/usr/src/sys/boot/efi/loader/arch/amd64 = -I/usr/src/sys/boot/efi/include -I/usr/src/sys/boot/efi/include/amd64 = -I/usr/src/sys/contrib/dev/acpica/include -I/usr/src/sys = -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DSMBIOS_SERIAL_NUMBERS = -I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot/ficl = -I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FORTH = -DBF_DICTSIZE=3D15000 -g -std=3Dgnu99 -Wsystem-headers -Wall = -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized = -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 = -Qunused-arguments ERROR-tried-to-rebuild-during-make-install -c = /usr/src/sys/boot/efi/loader/autoload.c -o autoload.o /tmp/install.intsn5IS/sh: cc: not found *** Error code 127 So far I've not found anything with matching times for: Examining machine...modified 20:13:03 Nov 03, 2017...up-to-date. Examining x86...modified 20:13:07 Nov 03, 2017...up-to-date. But the reason for rebuild is listed as: modified before source x86...out-of-date. I'll keep looking. The odd time (future) is in the ball park of others from when the virtual machine apparently had a bad time setting. I'm not sure if the x86 is a file vs. a directory here. A directory would seem a bit strange for forcing a rebuild. (Similarly for machine.) =3D=3D=3D Mark Millard markmi at dsl-only.net