From owner-freebsd-current@freebsd.org Wed Jun 1 23:29:25 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 B3FF7B662D9 for ; Wed, 1 Jun 2016 23:29:25 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 977AA1C2F; Wed, 1 Jun 2016 23:29:25 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 90867142F; Wed, 1 Jun 2016 23:29:25 +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 4D9131D767; Wed, 1 Jun 2016 23:29:25 +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 xf3F8m6HrT_X; Wed, 1 Jun 2016 23:29:21 +0000 (UTC) Subject: Re: 11.0 -r301139: WITH_META_MODE=yes vs. "sh: ./make_keys: Exec format error"? DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com A086B1D761 To: Mark Millard References: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net> Cc: FreeBSD Current From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <0b75f448-047f-53b3-3e1b-7de17a2da949@FreeBSD.org> Date: Wed, 1 Jun 2016 16:29:21 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mi2lngJoWnH0o4CgdmHFWGuU392EXWA13" 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: Wed, 01 Jun 2016 23:29:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mi2lngJoWnH0o4CgdmHFWGuU392EXWA13 Content-Type: multipart/mixed; boundary="86E0wShOW1HwWt6F7R5DwnBbCJHbG0IdB" From: Bryan Drewery To: Mark Millard Cc: FreeBSD Current Message-ID: <0b75f448-047f-53b3-3e1b-7de17a2da949@FreeBSD.org> Subject: Re: 11.0 -r301139: WITH_META_MODE=yes vs. "sh: ./make_keys: Exec format error"? References: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net> In-Reply-To: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net> --86E0wShOW1HwWt6F7R5DwnBbCJHbG0IdB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 6/1/2016 4:25 PM, Mark Millard wrote: > [The example context here for extracted materials is a amd64 -> armv6 c= ross build.] >=20 > In my recent experimentation with WITH_META_MODE=3Dyes I=E2=80=99ve had= multiple occasions when after updating /usr/src I attempt buildworld bui= ldkernel and end up with something like: >> --- lib/ncurses/ncursesw__L --- >> Building /usr/obj/clang/arm.armv6/usr/src/lib/ncurses/ncursesw/init_ke= ytry.h >> --- init_keytry.h --- >> sh: ./make_keys: Exec format error >> *** [init_keytry.h] Error code 126 >> >> make[4]: stopped in /usr/src/lib/ncurses/ncursesw >> 1 error >> >> make[4]: stopped in /usr/src/lib/ncurses/ncursesw >> *** [lib/ncurses/ncursesw__L] Error code 2 > I=E2=80=99ve also had such for powerpc being the target and make toolch= ain in use (preparing for buildkernel without buildworld). >=20 > There are multiple instances of make_keys construction in the builds. H= ere it looks like: >> # 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_ke= ys >> Building /usr/obj/clang/arm.armv6/usr/src/lib/ncurses/ncurses/make_key= s >> Building /usr/obj/clang/arm.armv6/usr/src/lib/ncurses/ncursesw/make_ke= ys >> sh: ./make_keys: Exec format error > Note that ncursesw has two Building lines above with the same path list= ed. >=20 > cleanworld and then retrying the sequence desired always seems to work = but is a complete rebuild. I don't understand why you're hitting this. It's an issue that I ran into and fixed and haven't run into again from several powerpc64 build tests. --=20 Regards, Bryan Drewery --86E0wShOW1HwWt6F7R5DwnBbCJHbG0IdB-- --mi2lngJoWnH0o4CgdmHFWGuU392EXWA13 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJXT2/RAAoJEDXXcbtuRpfPyvYIAKKJsPtQ2tK1ItJBuK5sADPb 6k8SAdWnxwAJEJqr+KxkZkTb9BL/9x+oREGdJIby80UOe2FLfgGXTbz3Qy0xElc5 FkMFgYarZFLSp1j2ri3FGQk/HsylkGfs2qoCZnYqoOaPg2QSpgCeHyuyq2nBKty2 bylw/SMz1WGWn1hXXN0toJKNKxZVgutsZMOKq9+msQragz2y92LUO4EDbTL8JeWR SU6+O102A7dGLXkKWqSrYHuYRe65ohB8VPVpI6TPH3xBzpZ/9ZB6yGSIlUqxYJub KZkj2BFAcfUncVjTwdFXltDG9BCt+40Gplr/daXPqTLJTA4HoQiuYfftovUKUQk= =SPQS -----END PGP SIGNATURE----- --mi2lngJoWnH0o4CgdmHFWGuU392EXWA13--