From owner-freebsd-current@freebsd.org Sat Oct 24 21:35:57 2015 Return-Path: Delivered-To: freebsd-current@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 CEE9AA1D41D for ; Sat, 24 Oct 2015 21:35:57 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C17CB35; Sat, 24 Oct 2015 21:35:57 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by obbwb3 with SMTP id wb3so118008398obb.0; Sat, 24 Oct 2015 14:35:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=RWlYTn9+lF5Ghh6xlBtVpyh2hxXXSBso9Zskw/wW7nc=; b=0ZW14SX0Q4uHW9It2ChTDiqhUw2gTBvlVv+MoSGai988HCDbsMo+Co38c8oGnp3MOC YPyDZUPspaRSHTuMG0zoVmDRKnvwNWGqetVxx/YzZycnWD5HWrtyAYVq1P1LvOA65wno 9SF7BKLI/rK1XCNahHfuLjSjSzPskafYwDdl01lJfcvCWZt+1/GLGwWD03W2109AbOK8 YXoAQHwyMFmx2bFBUii5ZGnUPVSUECGpA1av0vVN4FIdZbQtaKih82iwsJXavFxpXOMW 7Lqycm3ktve1AWQY+rbk/nug34peiCTJONkBtCaK9bXMpdy+0frwlK+laAarwDKmf4mj mO3w== X-Received: by 10.182.181.42 with SMTP id dt10mr18766708obc.54.1445722556661; Sat, 24 Oct 2015 14:35:56 -0700 (PDT) Received: from ?IPv6:2601:601:800:126d:6c5b:a5fd:aec8:13bf? ([2601:601:800:126d:6c5b:a5fd:aec8:13bf]) by smtp.gmail.com with ESMTPSA id wf9sm11386235obc.11.2015.10.24.14.35.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 24 Oct 2015 14:35:56 -0700 (PDT) Subject: Re: EFI bootloader often trys to build itself at installworld stage Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=utf-8 From: NGie Cooper X-Priority: 3 (Normal) In-Reply-To: <1124529854.20151025002803@serebryakov.spb.ru> Date: Sat, 24 Oct 2015 14:35:54 -0700 Cc: freebsd-current Content-Transfer-Encoding: quoted-printable Message-Id: References: <1124529854.20151025002803@serebryakov.spb.ru> To: lev@FreeBSD.org X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Oct 2015 21:35:58 -0000 > On Oct 24, 2015, at 14:28, Lev Serebryakov wrote: >=20 > Hello freebsd-current, >=20 > Each other time "make installworld" from object directory created = several hours ago > try to build efiloader again (and fails in my case as this world = doesn't > contain compiler): >=20 > =3D=3D=3D> sys/boot/efi/loader (install) > cc -O2 -pipe -fPIC -I/data/src/sys/boot/efi/loader = -I/data/src/sys/boot/efi/loader/arch/amd64 = -I/data/src/sys/boot/efi/loader/../include = -I/data/src/sys/boot/efi/loader/../include/amd64 = -I/data/src/sys/boot/efi/loader/../../../contrib/dev/acpica/include = -I/data/src/sys/boot/efi/loader/../../.. = -I/data/src/sys/boot/efi/loader/../../i386/libi386 -DNO_PCI -DEFI = -DBOOT_FORTH -I/data/src/sys/boot/efi/loader/../../ficl = -I/data/src/sys/boot/efi/loader/../../ficl/amd64 -DLOADER_DISK_SUPPORT = -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT = -I/data/src/sys/boot/efi/loader/../../common -ffreestanding -Wformat = -msoft-float -mno-mmx -mno-sse -mno-avx -fshort-wchar -mno-red-zone = -mno-aes -std=3Dgnu99 -Qunused-arguments -c = /data/src/sys/boot/efi/loader/autoload.c -o autoload.o > /tmp/install.Ku58dvCm/sh: cc: not found >=20 > Only LOCAL fileystems are in use, and computer has ntpd-synchronized = clock. >=20 > "installworld" right after "buildworld" works Ok, but if I need to > re-create same nanobsd image without changing world (and sources), its = often > fails to perform "installworld" for second time at this exact point: = efi/loader. Hi lev, Be sure to run buildworld with -DNO_CLEAN after updating your = sources when using make installworld. Unfortunately many of the = Makefiles under sys/boot are sensitive to updates, i.e. you=E2=80=99ll = have to rebuild them (otherwise it will try to rebuild them at install = and fail as noted above). That being said, what you described seems interesting. Not sure = why it would be failing. Could you please dump all the debug output from = make? Thanks! -NGie=