This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc 2.31: hard freeze on Friday, 31st Jan
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: Romain Naour <romain dot naour at gmail dot com>, GLIBC Devel <libc-alpha at sourceware dot org>, alistair23 <alistair23 at gmail dot com>
- Date: Sat, 1 Feb 2020 14:49:43 +0530
- Subject: Re: glibc 2.31: hard freeze on Friday, 31st Jan
- References: <78730bb4-4c3f-2cc6-bbdc-40ef1acfda27@gotplt.org> <19bcbe8f-8243-b98c-562d-aa0c19aa2ef2@gmail.com>
On 01/02/20 13:53, Romain Naour wrote:
> The risc64 port needs at least a kernel headers >= 5.0
>
> Otherwise glibc fail to build with:
>
> ../sysdeps/unix/sysv/linux/riscv/rv64/arch-syscall.h:193:33: error: expected
> declaration specifiers or '...' before numeric constant
> 193 | #define __NR_riscv_flush_icache 259
> | ^~~
> In file included from ../sysdeps/unix/sysv/linux/riscv/flush-icache.c:25:
> /home/naourr/buildroot/test/toolchain/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/asm/syscalls.h:29:36:
> error: unknown type name 'sys_riscv_flush_icache'
> 29 | __SYSCALL(__NR_riscv_flush_icache, sys_riscv_flush_icache)
> | ^~~~~~~~~~~~~~~~~~~~~~
>
> See: https://gitlab.com/kubu93/toolchains-builder/-/jobs/422726962
>
Thanks for testing. We have a NEWS item that declares that we don't
need the latest Linux kernel headers to build anymore, which appears to
be not true for riscv. I'll fix that NEWS item up like so:
* It is no longer necessary to have recent Linux kernel headers to build
working (non-stub) system call wrappers on all architectures except
64-bit RISC-V. 64-bit RISC-V requires a minimum kernel headers
version of 5.0.
>
> There are other issues related to glibc 2.31 that need to be fixed in other
> software:
>
> The last released version of Busybox needs to be patched to remove stime()
>
> https://git.busybox.net/busybox/commit/?id=d3539be8f27b8cbfdfee460fe08299158f08bcd9
>
This is covered by the NEWS.
> GCC 9.2.0 (and probably older gcc version) needs to be fixed due to an issue
> with libsanitizer:
>
> https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=ce9568e9e9cf6094be30e748821421e703754ffc
>
> https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=75003cdd23c310ec385344e8040d490e8dd6d2be
>
> Maybe this is something to add in the glibc wiki or release note?
>
I have added this to the release wiki page.
Thanks,
Siddhesh