From patchwork Fri May 3 17:27:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stafford Horne X-Patchwork-Id: 89426 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 BA1FE384474D for ; Fri, 3 May 2024 17:28:53 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by sourceware.org (Postfix) with ESMTPS id C165638460A2 for ; Fri, 3 May 2024 17:27:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C165638460A2 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C165638460A2 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::136 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714757270; cv=none; b=AhQQQAcWqkZ3ogeLeIOKkWJyCQvP4If6IWoeJ/hJhK5T9vZ5rbLJad8ZbnE0hVpAnB6/GR0lV84m48GvJCAgor6aJ1E3SOWxVLZd6APg5DzFMpvSWwus9AKw1LiIiRXJi1ipmUJ+TkrfWIB4zCT/ExUg1+MkEd+uxkixq2gUjxI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714757270; c=relaxed/simple; bh=VkUZv4GvWcn4BM2BCaYGEgq2GExuqEbPzDPsT6ToNe8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=qFmaFFOC6+rt27qXia6q9G9OznfOswWN0qk6Yy8VLZxzZQvyDb9BlMPni4/q3Un0KjmJ579gyI0ICyfJzDE3Tm6IysAH3ISgShZmEyI+j3cHJlBIu2hVim28IOoTyYqDhobmKOt/aq9mc+QXdzTnyPqLS+kQH+EXkjTeixCW/Cg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-51f3761c96aso2526457e87.3 for ; Fri, 03 May 2024 10:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714757265; x=1715362065; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ILo3F4g6sqGLSNDOgBrfYgNSRthgJSy1s+0EPzQXChQ=; b=gmY4iJR2jmv9qXsv7Bkuh1vfIEuC9+rJoJoCwo8tKFzqatCrtZAQsRY3aUk0li1rg2 +tJHgKL9Ilg/wq2ViAs4a/NTzxVuMtkuHhk8sKc7HlyPW5kHVOk950/bvdh3IUMfrZu/ xcvs83xXbe6Szo4EaCThZ+/bZ7ZOaIVRxCSWzPyCSEKELrmMpA04+ORWYvR2oxRYAXoO V/i5Ys/8LdqJgE+EAeav30Z7uL6qDBX65GqymFrM+yYcldFe7Hf9WPD/1YMOBlp3DCfG QVEaI+HCcTtRlrcg6hHlDitH81/4FneRamokYXgC66ZVerd6xfBlI4KtGPvR94tJUd0P wHRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714757265; x=1715362065; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ILo3F4g6sqGLSNDOgBrfYgNSRthgJSy1s+0EPzQXChQ=; b=qEjbg+xC7Lxj9Qh6aGn8TpDX6Hmz7NNhiwm4gHrZXKATnuHVrupgA2V/ZoRSR1Y0/m U6+c4QtDH5JNF2chqx23UXp117VVZr3wGtbk3uczGuGGfuaTGQVNKrIfb6PHI0XhlZme wlxZHgokjShrD2OBOzWCyc7eCaVBEfnd05Q5jC1lGA5NrrXjtH52afqf1VV+8Ia0Rngv CYH9jzQEcps6EcmC5uunW9kLyw551o4f6ns8OjhZSH6mQStvOnf0ebV6sOOi0EXfA3rD d1VCcXP9xrCPKwKGuRhRI6K/UR8AELDbChhdiYcT6cxtUK9rtg072hgud0e7aw06y5rk dTAw== X-Gm-Message-State: AOJu0YxIy62f19A7Nrn56m2pgbvuc1xgeWTy3NoaTvDppw45iU1b+Jx8 qAz8PaGbvhvC5QOCTBwixxX5DNpSz0XU6VVNKtnHY/7HZ7hcOeoyH/n0Ug== X-Google-Smtp-Source: AGHT+IHFaRdGXjaHrPr3Yj3pKvTUz0zkMmKajIMOJ9Hp/XIiCL/t25f5rRezS/+zhmWATlazXSgpOQ== X-Received: by 2002:ac2:443c:0:b0:51d:33de:aaec with SMTP id w28-20020ac2443c000000b0051d33deaaecmr2738815lfl.8.1714757265014; Fri, 03 May 2024 10:27:45 -0700 (PDT) Received: from localhost (cpc1-brnt4-2-0-cust862.4-2.cable.virginm.net. [86.9.131.95]) by smtp.gmail.com with ESMTPSA id fm9-20020a05600c0c0900b0041c23148330sm10004921wmb.10.2024.05.03.10.27.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 10:27:43 -0700 (PDT) From: Stafford Horne To: GLIBC patches Cc: Linux OpenRISC , Stafford Horne , Adhemerval Zanella Subject: [PATCH v3 3/3] build-many-glibcs.py: Add openrisc hard float glibc variant Date: Fri, 3 May 2024 18:27:31 +0100 Message-ID: <20240503172731.675178-4-shorne@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240503172731.675178-1-shorne@gmail.com> References: <20240503172731.675178-1-shorne@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-10.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org This adds the OpenRISC hard float glibc variant to the build many script. We update the compiler for glibc to support hard-float multilibs to allow us to use a single generic compiler for all glibc variants, this requires updating the compiler name. Tested and all builds are passing. Reviewed-by: Adhemerval Zanella --- Since v2: - No change Since v1: - No change scripts/build-many-glibcs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 35dac538e5..38eb9f2dd2 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -362,8 +362,9 @@ class Context(object): gcc_cfg=['--enable-obsolete']) self.add_config(arch='or1k', os_name='linux-gnu', - variant='soft', - gcc_cfg=['--with-multilib-list=mcmov']) + gcc_cfg=['--with-multilib-list=mcmov,mhard-float'], + glibcs=[{'variant': 'soft'}, + {'variant': 'hard', 'ccopts': '-mhard-float'}]) self.add_config(arch='powerpc', os_name='linux-gnu', gcc_cfg=['--disable-multilib', '--enable-secureplt'],