Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2016 16:29:21 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: 11.0 -r301139: WITH_META_MODE=yes vs. "sh: ./make_keys: Exec format error"?
Message-ID:  <0b75f448-047f-53b3-3e1b-7de17a2da949@FreeBSD.org>
In-Reply-To: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net>
References:  <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--mi2lngJoWnH0o4CgdmHFWGuU392EXWA13
Content-Type: multipart/mixed; boundary="86E0wShOW1HwWt6F7R5DwnBbCJHbG0IdB"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Mark Millard <markmi@dsl-only.net>
Cc: FreeBSD Current <freebsd-current@freebsd.org>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0b75f448-047f-53b3-3e1b-7de17a2da949>