From owner-freebsd-current@freebsd.org Thu Jun 2 18:52:33 2016 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 563A6B657ED for ; Thu, 2 Jun 2016 18:52:33 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-182.reflexion.net [208.70.211.182]) (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 038631C9F for ; Thu, 2 Jun 2016 18:52:32 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 17117 invoked from network); 2 Jun 2016 18:53:01 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 2 Jun 2016 18:53:01 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Thu, 02 Jun 2016 14:52:27 -0400 (EDT) Received: (qmail 10423 invoked from network); 2 Jun 2016 18:52:27 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with SMTP; 2 Jun 2016 18:52:27 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 93F3F1C43F7; Thu, 2 Jun 2016 11:52:26 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: 11.0 -r301139: WITH_META_MODE=yes vs. "sh: ./make_keys: Exec format error"? From: Mark Millard In-Reply-To: <92116.1464890038@kaos.jnpr.net> Date: Thu, 2 Jun 2016 11:52:29 -0700 Cc: Bryan Drewery , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <12D1F020-F1F1-464A-BAEA-18682E1ADA17@dsl-only.net> References: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net> <92116.1464890038@kaos.jnpr.net> To: "Simon J. Gerraty" X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 02 Jun 2016 18:52:33 -0000 On 2016-Jun-2, at 10:35 AM, Simon J. Gerraty wrote: > Mark Millard wrote: >=20 >>>>>> Building = /usr/obj/clang/arm.armv6/usr/src/lib/ncurses/ncursesw/make_keys >>>>>> sh: ./make_keys: Exec format error >=20 > This is an arm host or cross-building? >=20 > The error suggests HOST_CC got the wrong value. > You should be able to look at >=20 > /usr/obj/clang/arm.armv6/usr/src/lib/ncurses/ncursesw/make_keys.meta >=20 > to confirm whether the right toolchain was used. Quoting what I originally wrote that has been dropped from the context = preserved in the recent list entries: > [The example context here for extracted materials is a amd64 -> armv6 = cross build.] On 2016-Jun-2, at 10:53 AM, Simon J. Gerraty wrote: > BTW Mark, thanks very much for testing this. >=20 >>> # grep make_keys = ~/sys_typescripts/typescript_make_rpi2_nodebug_clang_bootstrap-amd64-host-= 2016-06-01:15:17:28 >>> Building = /usr/obj/clang/arm.armv6/usr/src/lib/ncurses/ncursesw/make_keys >>> Building = /usr/obj/clang/arm.armv6/usr/src/lib/ncurses/ncurses/make_keys >>> Building = /usr/obj/clang/arm.armv6/usr/src/lib/ncurses/ncursesw/make_keys >>> sh: ./make_keys: Exec format error >>=20 >> Note that ncursesw has two Building lines above with the same path = listed. >=20 > This build is still using the normal orchestration (tree walks etc) > so it it not at all out of the question for directories to be visited > more than once. >=20 > If curious; you can add -dM to have make explain why it built it again > the 2nd time. > The output can be copious, so you might want to only enable it in > ncursesw > eg. >=20 > .MAKEFLAGS: -dM You dropped the note where Bryan Drewery reported already having found = the problem: On 2016-Jun-1, at 5:06 PM, Bryan Drewery = wrote: > Yup it is due to r301079. Will have to think on this. It was a = temporary > workaround until bmake was fixed. >=20 >=20 > --=20 > Regards, > Bryan Drewery There is also the issue that installworld to / and reboot results in the = next buildworld buildkernel for each TARGET_ARCH being essentially a = complete build. ( = https://lists.freebsd.org/pipermail/freebsd-current/2016-June/061606.html = ) For my use this last usually removes the most of the potential time gain = from WITH_META_MODE=3Dyes. And taking less time is why I was = experimenting with using it. =3D=3D=3D Mark Millard markmi at dsl-only.net