[DTrace-devel] [PATCH 2/5] build: get the architecture from gcc -dumpmachine, not uname -m

Nick Alcock nick.alcock at oracle.com
Mon Jan 15 15:32:30 UTC 2024


On 21 Dec 2023, Kris Van Hees said:

> On Wed, Nov 29, 2023 at 04:08:26PM +0000, Nick Alcock wrote:
>> This makes it at least *possible* to support cross-compilation.
>> It doesn't mean we do support it, but it's the first necessary
>> prerequisite for such support.
>
> I would leave this out for now and only do it once we need it.  Especially
> since we don;t even know whether cross compilation would work.  Let's do this
> if/when cross compilation becomes something we need to support.

This was literally the first thing the Gentoo people asked about, and
what we're doing here is just wrong anyway (we really don't care what
arch the build machine is running).

I really think it should go in.



More information about the DTrace-devel mailing list