bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mig not cross-building correctly


From: Flávio Cruz
Subject: Re: mig not cross-building correctly
Date: Tue, 5 Dec 2023 01:09:24 -0500

Hmm, we haven't made any significant change in MiG recently that would break this.

I think you need to do: ./configure --target=i686-unknown-linux-gnu. The target compiler will generate the file cpu.h which includes the required sizes when generating code for i686.
If MiG is expecting sizeof(ipc_port_t) to be 8 bytes it's because a 64 bit compiler is being used for cpu.h.

On Sat, Dec 2, 2023 at 7:19 AM Samuel Thibault <samuel.thibault@gnu.org> wrote:
Hello,

As reported on IRC: building mig with --host=i686-unknown-linux-gnu
doesn't seem to be producing a 32bit-target mig any more: building
gnumach with it ends up with:

   84 |         _Static_assert(sizeof(ipc_port_t) == 8 * 1, "expected ipc_port_t to be size 8 * 1");

Samuel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]