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.thiba...@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