Re: git: f9df60975087 - main - Add support for host32 for DIRDEPS_BUILD

From: Simon J. Gerraty <sjg_at_juniper.net>
Date: Sun, 24 Sep 2023 01:46:06 UTC
Mark Millard <marklmi@yahoo.com> wrote:
> > Does the following look like it would DTRT for you?
> > Not sure about COMPILER_TYPE vs COMPAT_COMPILER_TYPE
> 
> I reported strictly based on noticing the official FreeBSD
> Jenkins activity having build failures. My environment is

Thanks.


> I expect that Mike Karels would be a better one to comment
> on any alternate structuring for having the build environment
> always be explicit for its aarch64 -m32 use, at least based
> on preexisting familiarity with where and how things are used.
> 
> Last I tried, gcc12 based builds did not work/finish for
> aarch64, even though amd64 was working at the time. It seemed
> that the status was not a surprise to folks. Correctly
> covering gcc12 use for this issue may well still end up with
> a broken/incomplete aarch64+LIB32 build via gcc12 --for other
> reasons.

> I see that you have since disabled the new share/mk/local.sys.mk
> code unless ${MK_DIRDEPS_BUILD} == "yes" --thus giving time
> for considering alternatives.

Yes, the block was moved from *sys.dirdeps*.mk which only applies to
DIRDEPS_BUILD, so seemed like a safe option for now.

As I mentioned I think using a separate variable for the arg to -target
flag is probably the best bet - allows that to be controlled
independently.