From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id EA8AA1F466 for ; Tue, 14 Jan 2020 09:03:24 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=LkwHR oaf3/icisHuzzm1VABf7RhV7eD10c34V5AG/qEGgQz2Lcqaz8jH3EAaC7H+ZV7uG i0PYL0+ooSQrDMJiHpGB5UZyc2+pf01WSfbX8l5ZG6Pcg6ZWjppfUFjnQkvz43xh 7aDr5HQPfKIkWsn9e4hqz1n4NSR/IehBpmJ97k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=8S38JPl31q0 T3jWgmWOklcdCgLg=; b=YEXgqZ7KKAtfdYkjHnSgQjrl64yiDNGEVbxS88y1F/R ayVFdDx5WP6LJ9mgdVOng37QEzEJwjSHZJJmyqvy2s/4ZLjtz+ZlZvvcvh/8hEVm OFWrm7eGJXLJjgd7XE0xJ8rbi1ex4lseHJ0gvWOrOV/MIVHeUnMm4FMijYbLXGeU = Received: (qmail 66194 invoked by alias); 14 Jan 2020 09:03:22 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 66182 invoked by uid 89); 14 Jan 2020 09:03:22 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-out.m-online.net From: Andreas Schwab To: Alistair Francis Cc: Alistair Francis , GNU C Library , Arnd Bergmann , Adhemerval Zanella , Florian Weimer , Joseph Myers , Palmer Dabbelt , "Maciej W. Rozycki" , Zong Li Subject: Re: [RFC v6 20/23] riscv32: Specify the arch_minimum_kernel as 5.4 References: <854f3cf104857caa5180841e9d355c333b6778fc.1578824547.git.alistair.francis@wdc.com> <878smduemo.fsf@hase.home> X-Yow: As a FAD follower, my BEVERAGE choices are rich and fulfilling! Date: Tue, 14 Jan 2020 10:03:06 +0100 In-Reply-To: (Alistair Francis's message of "Tue, 14 Jan 2020 17:25:16 +1000") Message-ID: <87eew2z9yt.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain On Jan 14 2020, Alistair Francis wrote: > On Sun, Jan 12, 2020 at 8:56 PM Andreas Schwab 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? Both parts. 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."