[v3,16/19] riscv32: Specify the arch_minimum_kernel as 5.4
Commit Message
---
sysdeps/unix/sysv/linux/riscv/configure | 4 ++++
sysdeps/unix/sysv/linux/riscv/configure.ac | 4 ++++
2 files changed, 8 insertions(+)
Comments
Alistair,
Is there a specific Linux kernel feature required for RV32 support that
version 5.4 has added worth mentioning in the change description?
Otherwise OK.
Maciej
On Wed, 15 Jul 2020, Maciej W. Rozycki wrote:
> Otherwise OK.
Also I suggest reordering this change and the next ahead of 15/19, so
that the tree is consistent at the point RV32 builds are enabled with the
removal of the trap from `sysdeps/riscv/preconfigure'.
Maciej
@@ -162,6 +162,10 @@ if test $libc_cv_riscv_int_abi = no; then
as_fn_error $? "Unable to determine integer ABI" "$LINENO" 5
fi
+if test $libc_cv_riscv_int_abi = ilp32; then
+ arch_minimum_kernel=5.4.0
+fi
+
libc_cv_riscv_float_abi=no
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -13,6 +13,10 @@ if test $libc_cv_riscv_int_abi = no; then
AC_MSG_ERROR([Unable to determine integer ABI])
fi
+if test $libc_cv_riscv_int_abi = ilp32; then
+ arch_minimum_kernel=5.4.0
+fi
+
libc_cv_riscv_float_abi=no
AC_EGREP_CPP(yes, [#ifdef __riscv_float_abi_double
yes