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: Alistair Francis <alistair23 at gmail dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Alistair Francis <alistair dot francis at wdc dot com>, GNU C Library <libc-alpha at sourceware dot org>, Arnd Bergmann <arnd at arndb dot de>, Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Florian Weimer <fweimer at redhat dot com>, Joseph Myers <joseph at codesourcery dot com>, Palmer Dabbelt <palmerdabbelt at google dot com>, "Maciej W. Rozycki" <macro at wdc dot com>, Zong Li <zongbox at gmail dot com>
- Date: Tue, 14 Jan 2020 17:25:16 +1000
- 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> <878smduemo.fsf@hase.home>
On Sun, Jan 12, 2020 at 8:56 PM Andreas Schwab <schwab@linux-m68k.org> wrote:
>
> 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.
I'm not clear what you mean. Which part?
Alistair
>
> 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."