From patchwork Wed Aug 12 14:42:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Francis X-Patchwork-Id: 40265 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EE9F13844070; Wed, 12 Aug 2020 14:52:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EE9F13844070 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1597243937; bh=NStJCe3Ym7xuZfdyzDI2Mn+r/M2rfPMBZAiOWtnumYQ=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Du8GAGcTdYl7xQYGPKpF5D6w3ddLE/9tTIhxUkvVhirm/1oTxRfTn6Cc5twZGTDct aA1II03Ux/wxOm43xJHIh9Vp/2tTanLF81gsuIwfnEJd4BEero2NEAOpNozxgTMEkZ 9Ubgzxrc65wtDEB4KJT4nTocPmLdk07pxqbqTwwY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from esa5.hgst.iphmx.com (esa5.hgst.iphmx.com [216.71.153.144]) by sourceware.org (Postfix) with ESMTPS id 9DFE1386191F for ; Wed, 12 Aug 2020 14:52:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9DFE1386191F IronPort-SDR: UMc490xAMioPVAY+RTR2HmrZqHB6eCLFFhAhk66rIuWWu4Lv41LBkbuDyYQ8TK2rKxN79jciZc l5KkKsDsEbulW3dbg/9xzSgwzDju9k61XUxsd27+xFa1KDdL9Wp55Fd3meMoEqIiXiyNgLSf1Y Y/hOTc079kaV2FPWlMLrLZO081ZtvcbXpwKKnLBet4ok2navi7DzU6brTDudEFmVYJQmW1A6EO U2QuoNE7/9RKfCzD6CUnDhF7XXsH3QFfYv7y4TGrcr4DwbQRnHnavisEqvpJqyubqgI2iA/ZJi +cg= X-IronPort-AV: E=Sophos;i="5.76,304,1592841600"; d="scan'208";a="144812662" Received: from h199-255-45-14.hgst.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 12 Aug 2020 22:52:05 +0800 IronPort-SDR: WIdYMLSIjeNRDM/s6d8qCNieeTF8MWC+JnpIBaX9jGcpZY/myu3B2KIg1na3LfY1Ceducvm571 CbBWGL7au2lg== Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2020 07:39:56 -0700 IronPort-SDR: lTh7FimvPSfrqvP+KWPqTTJUSvoOnrgcW3FFTXKkV4rRRfnQmFHFKNNvtjdLH+/OsLA4DGpo7w FuvgCtSai6vg== WDCIronportException: Internal Received: from jbfyk72.ad.shared (HELO risc6-mainframe.hgst.com) ([10.86.59.14]) by uls-op-cesaip01.wdc.com with ESMTP; 12 Aug 2020 07:52:04 -0700 To: libc-alpha@sourceware.org Subject: [PATCH v4 18/18] Add RISC-V 32-bit target to build-many-glibcs.py Date: Wed, 12 Aug 2020 07:42:04 -0700 Message-Id: <4a9e808e94b4212ef437a88230f81f8cf2cf1e39.1597243100.git.alistair.francis@wdc.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 X-Spam-Status: No, score=-13.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, 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-Patchwork-Original-From: Alistair Francis via Libc-alpha From: Alistair Francis Reply-To: Alistair Francis Cc: macro@wdc.com, alistair.francis@wdc.com Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" From: Zong Li Support building three variants of 32-bit RISC-V glibc as follows: - riscv32-linux-gnu-rv32imac-ilp32 - riscv32-linux-gnu-rv32imafdc-ilp32 - riscv32-linux-gnu-rv32imafdc-ilp32d Reviewed-by: Maciej W. Rozycki --- scripts/build-many-glibcs.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 325591b2c6..c7b2c84fce 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -347,6 +347,21 @@ class Context(object): self.add_config(arch='powerpc64le', os_name='linux-gnu', gcc_cfg=['--disable-multilib', '--enable-secureplt']) + self.add_config(arch='riscv32', + os_name='linux-gnu', + variant='rv32imac-ilp32', + gcc_cfg=['--with-arch=rv32imac', '--with-abi=ilp32', + '--disable-multilib']) + self.add_config(arch='riscv32', + os_name='linux-gnu', + variant='rv32imafdc-ilp32', + gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32', + '--disable-multilib']) + self.add_config(arch='riscv32', + os_name='linux-gnu', + variant='rv32imafdc-ilp32d', + gcc_cfg=['--with-arch=rv32imafdc', '--with-abi=ilp32d', + '--disable-multilib']) self.add_config(arch='riscv64', os_name='linux-gnu', variant='rv64imac-lp64',