Date: Sun, 12 Jun 2016 19:14:00 -0700 From: "Simon J. Gerraty" <sjg@juniper.net> To: Mark Millard <markmi@dsl-only.net> Cc: Bryan Drewery <bdrewery@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, <sjg@juniper.net> Subject: Re: 11.0 -r301139: WITH_META_MODE=yes vs. "sh: ./make_keys: Exec format error"? [still true of -r301815] Message-ID: <41913.1465784040@kaos.jnpr.net> In-Reply-To: <AAA6AB83-2357-4677-88DF-BC375ADDC3EF@dsl-only.net> References: <890D3808-1939-4BEA-886F-324EBA8C8671@dsl-only.net> <92116.1464890038@kaos.jnpr.net> <4a2034a9-a2e1-d951-aecf-43e043c48d75@FreeBSD.org> <55609B4E-DCC8-4666-BA15-17B6EF7D593F@dsl-only.net> <38443.1465735161@kaos.jnpr.net> <AAA6AB83-2357-4677-88DF-BC375ADDC3EF@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Mark Millard <markmi@dsl-only.net> wrote: > Cross builds work just fine based on the FreeBSD tree when omitting WITH= _META_MODE=3D. > = Hmm must do something odd then. > As of -r301825 there is almost no use of HOST_CC at the upper levels or = in share/mk/*: Yes, which means if cross-building works it must be requring a separate walk of the tree or similar dance. It cannot work by building tools like make_keys in the same pass as the library, since that would require use of something other than CC. > > # grep HOST_CC /usr/src/Makefile* > > # grep HOST_CC /usr/src/share/mk/* > > /usr/src/share/mk/bsd.compiler.mk:.for var in CC CXX HOST_CC HOST_CXX > = > where that last does: Yes, that's for ccache, but I don't see HOST_CC used anywhere. Sorry, guess I have no clue how cross-building currently works in FreeBSD, but as is it won't work with DIRDEPS - which pretty much expects to be able to build the tree in a single pass. META_MODE should be orgthogonal, but that appears not to be so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41913.1465784040>