Re: [PATCH v2 0/4] tools/nolibc: MIPS: entrypoint cleanups and N32/N64 ABIs

From: Sebastian Andrzej Siewior
Date: Wed Mar 26 2025 - 18:06:13 EST


On 2025-03-26 22:51:54 [+0100], Thomas Weißschuh wrote:
> > mips32le works as-is.
> > For mips64le I had to s/-march=mips64r6/-march=mips64r2 to match the
> > ABI. Which makes me wonder: Why do do we need to pass -march here and
> > can't rely on toolchain defaults?
>
> The goal here is to have an as-wide-as-possible test matrix for
> nolibc-test, which will mostly be running on QEMU anyways.
> Also we need to run the correct QEMU user variant; by fixing the
> architecture this is easy to do.

I would prefer to make distro users as in real hardware first class
citizen and not QEMU users. If you run qemu you can specify the ABI
anyway.

> Thomas

Sebastian