[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Heads-up: riscv64 (wip-riscv branch) target for Mes 0.25 release
From: |
Janneke Nieuwenhuizen |
Subject: |
Heads-up: riscv64 (wip-riscv branch) target for Mes 0.25 release |
Date: |
Wed, 03 May 2023 12:40:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi Wladimir,
Just to give you a heads-up that your RISC-V work is now slated for the
release upcomping mes-0.25 release.
Now that we finally have the M2-Planet build integrated, tested and the
Full Source Bootstrap in place in GNU Guix, it's time to
Current work scheduled for release is on
wip
-> wip-x86_64
-> wip-riscv
branches. Andrius and I have fixed a blocker for the x86_64 M2-Planet
build, which depends on a generic 64bit fix in current M2-Planet master.
We'll probably wait for M2-Planet-0.11.0 to come out before
releasing Mes 0.25.
The good news is that Mes may just build using M2-Planet on RISC-V.
I've created a preliminary patch for that
https://git.savannah.gnu.org/cgit/mes.git/log/?h=wip-riscv
https://git.savannah.gnu.org/cgit/mes.git/commit/?id=b6fa78a697840e7d0dbc71214c963b0175e64130
which now builds but segfaults on my QEMU binfmt.
As for your RISC-V patches, initially I wondered if we should expose the
_AT variants in separate files, so instead of
--8<---------------cut here---------------start------------->8---
// lib/linux/access.c
int
access (char const *file_name, int how)
{
#if defined (SYS_access)
return _sys_call2 (SYS_access, file_name, how);
#elif defined (SYS_faccessat)
return _sys_call3 (SYS_faccessat, AT_FDCWD, file_name, how);
#else
#error No usable access sysall
#endif
}
--8<---------------cut here---------------end--------------->8---
having simply both
--8<---------------cut here---------------start------------->8---
// lib/linux/access.c
int
access (char const *file_name, int how)
{
return _sys_call2 (SYS_access, file_name, how);
}
--8<---------------cut here---------------end--------------->8---
and
--8<---------------cut here---------------start------------->8---
// lib/linux/faccessat.c
int
access (char const *file_name, int how)
{
return _sys_call3 (SYS_faccessat, AT_FDCWD, file_name, how);
}
--8<---------------cut here---------------end--------------->8---
and switch files based on achitecture, but I decided we've waited long
enough for RISC-V and we can do this if the need arises.
Anyway, thanks again for your contribution and sorry it has been taking
so long to release!
Greetings,
Janneke
--
Janneke Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond https://LilyPond.org
Freelance IT https://www.JoyOfSource.com | Avatar® https://AvatarAcademy.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Heads-up: riscv64 (wip-riscv branch) target for Mes 0.25 release,
Janneke Nieuwenhuizen <=