Re: 11.0 -r301139: WITH_META_MODE=yes vs. "sh: ./make_keys: Exec format error"?

From: Bryan Drewery <bdrewery_at_FreeBSD.org>
Date: Thu, 2 Jun 2016 11:11:09 -0700
On 6/2/2016 10:53 AM, Simon J. Gerraty wrote:
> BTW Mark, thanks very much for testing this.
> 
>>> # 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
>>
>> Note that ncursesw has two Building lines above with the same path listed.
> 
> 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.
> 
> 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.
> 
> .MAKEFLAGS: -dM
> 

r297997 was the original fix for it. It is visited twice (build-tools
and everything).  The problem came when I added .META to all suffix
rules to work around the lack of default .META (the patch we're discussing).

-- 
Regards,
Bryan Drewery


Received on Thu Jun 02 2016 - 16:11:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC