This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC v6 20/23] riscv32: Specify the arch_minimum_kernel as 5.4
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Alistair Francis <alistair dot francis at wdc dot com>
- Cc: libc-alpha at sourceware dot org, arnd at arndb dot de, adhemerval dot zanella at linaro dot org, fweimer at redhat dot com, joseph at codesourcery dot com, palmerdabbelt at google dot com, macro at wdc dot com, zongbox at gmail dot com, alistair23 at gmail dot com
- Date: Sun, 12 Jan 2020 11:56:47 +0100
- Subject: Re: [RFC v6 20/23] riscv32: Specify the arch_minimum_kernel as 5.4
- References: <cover.1578824547.git.alistair.francis@wdc.com> <854f3cf104857caa5180841e9d355c333b6778fc.1578824547.git.alistair.francis@wdc.com>
On Jan 12 2020, Alistair Francis wrote:
> diff --git a/sysdeps/unix/sysv/linux/riscv/configure b/sysdeps/unix/sysv/linux/riscv/configure
> index 2b3c77f18c..db09edad1d 100755
> --- a/sysdeps/unix/sysv/linux/riscv/configure
> +++ b/sysdeps/unix/sysv/linux/riscv/configure
> @@ -155,6 +155,7 @@ _ACEOF
> if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
> $EGREP "4 4 4" >/dev/null 2>&1; then :
> libc_cv_riscv_int_abi=ilp32
> + arch_minimum_kernel=5.4.0
> fi
> rm -f conftest*
>
> diff --git a/sysdeps/unix/sysv/linux/riscv/configure.ac b/sysdeps/unix/sysv/linux/riscv/configure.ac
> index 710d46afcd..9c736415f7 100644
> --- a/sysdeps/unix/sysv/linux/riscv/configure.ac
> +++ b/sysdeps/unix/sysv/linux/riscv/configure.ac
> @@ -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
That doesn't fit together.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."