]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: set minimum uname for RISC-V
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 25 Apr 2018 10:02:18 +0000 (11:02 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 30 Apr 2018 07:47:46 +0000 (09:47 +0200)
commitb02ebad1dc3132672a2a1ade2997c78441947e77
tree455859c000238a002c576bbcfcf064b90c06f8d0
parent6f0c4706b35dead265509115ddbd2a8d1af516c1
linux-user: set minimum uname for RISC-V

As support for RISC-V was only merged into the mainline kernel at 4.15
it is unlikely that glibc will be happy with a reported kernel version
of 3.8.0. Indeed when I testing binaries created by the current Debian
Sid compiler the tests failed with:

  FATAL: kernel too old

Bump the version to the minimum a RISC-V glibc would expect:

  https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/riscv/configure.ac

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180425100218.24785-1-alex.bennee@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/riscv/target_syscall.h