<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 20, 2026 at 10:26 PM Poul-Henning Kamp <<a href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">--------<br>
Per Buer writes:<br>
<br>
> Is a PR implementing this welcome?<br>
<br>
Absolutely!<br></blockquote><div><br>Fifteen places are affected by this. 14 of them are clean and easy to address. The last one is params.First, this requires significant work and complexity, and tackling it in Python will likely produce something quite fragile.<br><br>So, I looked into autotools/CC_FOR_BUILD, which correctly creates an ad-hoc binary for the host, not the target. The problem is that "params.rst" will change if you are on 64-bit compiling for 32-bit, as the accepted arguments are somewhat different. Everything else will do fine.<br><br>Do we still care about 32 bit? If we do this, it gets out of hand; if we don't care, it remains trivial. We still can't compile for other platforms, such as compiling on Linux for FreeBSD, because accept_filter and sysconf will differ. But arm64 <--> amd64 on the OS will work fine.<br><br><br></div></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Per Buer</div><div>Varnish Software</div></div></div></div>
</div>