This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc 2.31: hard freeze on Friday, 31st Jan


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]