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.8 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,RCVD_IN_XBL,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 202E11F46C for ; Sun, 12 Jan 2020 10:57:00 +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=BXBRp Un6shFuHTwjju42tUqi4rsR3rgMnyS/v3PPzEPkTdDzq5wUnaFlh/kiZp0GuThqS OHFYr4Sb011ofsPwTeiuebJkets82aRPXytcC6hpezQ8jV2VJ3g+wU/e5+L4gbn4 mhHW3Q+3euzTYQ9n3UOfqxryNgF07UOBX4x3vE= 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=s5mVrkLxUBG W0HtmsYejcyvbscU=; b=ZZaad/SKC3GA4Mf3UktLrnqWKotUdwEgKaYwfGO79V6 KE/NNZ3ybBfmr8zTJOIdMY6espNhBDlNrrtr8MVLpmu36V6+Ln/aGj38VqFiyXTW /THEorqdIJzuqQi44iSEdKfHnlTbmOmP2kcbMKnre/ByR3mUPJWCgKgx8hu2lDR4 = Received: (qmail 48169 invoked by alias); 12 Jan 2020 10:56:56 -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 48140 invoked by uid 89); 12 Jan 2020 10:56:55 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-out.m-online.net From: Andreas Schwab To: Alistair Francis Cc: libc-alpha@sourceware.org, arnd@arndb.de, adhemerval.zanella@linaro.org, fweimer@redhat.com, joseph@codesourcery.com, palmerdabbelt@google.com, macro@wdc.com, zongbox@gmail.com, alistair23@gmail.com Subject: Re: [RFC v6 20/23] riscv32: Specify the arch_minimum_kernel as 5.4 References: <854f3cf104857caa5180841e9d355c333b6778fc.1578824547.git.alistair.francis@wdc.com> X-Yow: Four thousand different MAGNATES, MOGULS & NABOBS are romping in my gothic solarium!! Date: Sun, 12 Jan 2020 11:56:47 +0100 In-Reply-To: <854f3cf104857caa5180841e9d355c333b6778fc.1578824547.git.alistair.francis@wdc.com> (Alistair Francis's message of "Sun, 12 Jan 2020 02:34:25 -0800") Message-ID: <878smduemo.fsf@hase.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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."