Hi Stefan,

On Saturday, 7 November 2026 at 15:59, Stefan Yohansson <[email protected]> wrote:

> Hi Hakan, Diego,
> 
> I'd like to introduce myself, since this is my first message to the list. My 
> name is Stefan Yohansson. I'm a software engineer and mathematician, and I've 
> worked mostly in systems and telephony (FreeSWITCH, Asterisk, WebRTC). I've 
> contributed to Mozilla Firefox, FreeSWITCH, GNOME Settings. I've been 
> following the riscv64 port with interest and I'd like to help.
> 

Nice getting to meet you. Thanks for your interest and 
contributions! :)

> My setup is a DC-ROMA RISC-V Mainboard II (ESWIN EIC7700X SoC) installed in a 
> Framework Laptop 13. I build gnumach natively on that machine with GCC 13.
> 
> With the latest changes, the build fails in riscv64/riscv64/pmap.c:
> 
>   ../riscv64/riscv64/pmap.c: In function 'pmap_walk_range':
>   ../riscv64/riscv64/pmap.c:181:26: error: 'false' undeclared (first use in 
> this function)
>     181 |                 } while (false);
>         |                          ^~~~~
> 

Whoops. My bad!

> probably it is a toolchain mismatch problem since I think this build ok
> in GCC 15 (maybe your case).
> 
> To keep the port building with the GCC versions most riscv64
> distributions currently ship, I think that using FALSE
> which this file already uses elsewhere:
> 
>   --- a/riscv64/riscv64/pmap.c
>   +++ b/riscv64/riscv64/pmap.c
>   @@ -181 +181 @@
>   -           } while (false);
>   +           } while (FALSE);
> 

Yes, this is right. I applied it, thanks!

[...]
> 2.43.0
> 
> Thank you both for the work on this port.
> 
> Regards,
> Stefan
> 

Hakan

Reply via email to