From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa5.hgst.iphmx.com (esa5.hgst.iphmx.com [216.71.153.144]) by sourceware.org (Postfix) with ESMTPS id 0ED383851C13 for ; Sun, 12 Jul 2020 15:57:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0ED383851C13 IronPort-SDR: 1cyZ67EVydWJkGNO9pAVPCAc37c3EGEtG4flaTlNpGEnQgvr/HOGwumPkiV+7Ekq7WjplHCBpK tGsWkTylyvWY0mmYPjYl5uERZr9GH5+x6imFreoWBnvM9cwKRxnYoOIn3rYazlc4b6wWqdLDVb 77poC8yXY+Jr5FAcHFzj/fuEZox3P+HFYlWf4STd+0N30eWq2D6XHgPPwKim+ffnz3UZN6Kf2u 2NFSoMgMgzdrVdnYEL/ACDhJPMNA5zkZ+5h2N52bt02poZVOT71t9vzZCYHDyCFziIDylXWiTX tts= X-IronPort-AV: E=Sophos;i="5.75,344,1589212800"; d="scan'208";a="142401284" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 12 Jul 2020 23:57:34 +0800 IronPort-SDR: Tzjyd8YRhVaUzotl/bCjUKTS/LJQTSNX6bvcQdAqvE7Ihp6YELJhm5uXNV8WatA9fV2xNhwz/i T+7MJ19CzZNJqiZO6wWXta0VUSuanPPRs= Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2020 08:46:04 -0700 IronPort-SDR: /oLC4Ws4AjqR3zKb1zRFR/YPsvvo+HYMUft4UQ5jQSTBTqkGeKZ75VE3/qtRANHNUGHJKYuud8 jYyLDW6H9P/w== WDCIronportException: Internal Received: from usa002626.ad.shared (HELO risc6-mainframe.hgst.com) ([10.86.57.178]) by uls-op-cesaip02.wdc.com with ESMTP; 12 Jul 2020 08:57:33 -0700 From: Alistair Francis To: libc-alpha@sourceware.org Cc: alistair.francis@wdc.com, alistair23@gmail.com Subject: [PATCH v3 16/19] riscv32: Specify the arch_minimum_kernel as 5.4 Date: Sun, 12 Jul 2020 08:48:03 -0700 Message-Id: X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-14.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jul 2020 15:57:35 -0000 --- sysdeps/unix/sysv/linux/riscv/configure | 4 ++++ sysdeps/unix/sysv/linux/riscv/configure.ac | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sysdeps/unix/sysv/linux/riscv/configure b/sysdeps/unix/sysv/linux/riscv/configure index 2b3c77f18c..33139618e7 100755 --- a/sysdeps/unix/sysv/linux/riscv/configure +++ b/sysdeps/unix/sysv/linux/riscv/configure @@ -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. */ 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 -- 2.27.0