From patchwork Thu Jan 18 16:02:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1888133 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=DFri8f1x; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TG6wX3LD7z1yPV for ; Fri, 19 Jan 2024 03:03:08 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 752D23858004 for ; Thu, 18 Jan 2024 16:03:06 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id CA9E83858D37 for ; Thu, 18 Jan 2024 16:02:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CA9E83858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CA9E83858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::42a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705593765; cv=none; b=AdSezDvh6iuDCzKVfRm2LcSd/rqu1Q8fPzdwxO4VQ8admK6SkPpfDxt0Femjfle34uGy3Oke4KKqlwWAgMD3aSP32xSY9lkntaJlzImadex+vUVB+HXcyGV2pOP724IRaGdL9QYYq5C9wAiUKgpn4BrUrOEP9XCI8NwXqmaCvXI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705593765; c=relaxed/simple; bh=9VSwQS187+koXzEnX2DjNhPqamXjpIlj3vazkIe5lSI=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=FfBnFgPmct71UtcgH6RVY9+hNwItDgyJ+hdO0bPzpMfkin6eQm5utke95xUdNchNUq/cadMvJR3+nnLqCIb7URHFoX90g7AKYP28DfgabBl8KNmPr9roGauGkDaTj4lO7NZtJHPjacP/sX9VMSspah6Xgl8iCbThyD2JnQjk/zc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6db599d5cb8so3960143b3a.0 for ; Thu, 18 Jan 2024 08:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705593753; x=1706198553; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=BucMoeY2j77ot6GKx/7CnVdGiVxq6F2GC+8Big4fxzc=; b=DFri8f1xJAOENUiluulGxD+Yf5DtCF4k8Vd+QeJWcU43lLA2wnUvqGzintJv2HmFbh EOAo3Jm3BLn8nVBZMJ1U3CzdCrqLIdduo7dMBa59CxKQXHnu75s64Jr4TI+wSRKNkq9o sFsoSG+xru+zbF+//YhWQRtORCLv9GckuWC76Agb0zEkEj05mzo2YLG/NTs/eTK5u0lW 4eBOa8q+9jm4pC6cgZmNkwwf4StBCsLCSDXPNJNqcYhfCbXDsNP7aNrTPZLv09EuMitv Q2jhY0tzsSbFzRGdpi33LAzCW7I1h75Ju0XzMaXofOruFCed9Mo+1sfv8kSIPeoqTu4m EVHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705593753; x=1706198553; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BucMoeY2j77ot6GKx/7CnVdGiVxq6F2GC+8Big4fxzc=; b=esh/GwJWhQn7z9PGJeV1wl5u67Q1H6DR+rKmHdvu81ONeMO5CeJ25EeqHKsKXhTM0n RFatO09NkoPgmkCm9lGAKHd+PVQsWMYFq/XzOIpQe/P39CCvNEwLtZbaVztryW5qCJCd R8/oCsNAH8RjcoHrsXV8MdS1wAzYTFwmtYMzKHgtUoRAcFiTF0+ke9y8QOyJ4eLzC+0u GLjMWekMx8tZzgSEcJvtQC44v/mA2HgMyVxSlFH7v0CXFJhZH4kbLmGlpG/UfPRpvBpR 1vXkDTbu67cvVN0NGiyY1JiWGLSfTR7kaON6Ud1wpCF3g/xB0xvQvJUZ9Su8AZF17o7h 5ISQ== X-Gm-Message-State: AOJu0YxNu5zlRT6nlLYfdoAL1+8ioBXymse2rpASyKNzpTw3wlKrm+j/ RHv5Jb5sBKHfQ4qdqLzJf2splOitTXD06jCOXbXiVA1WiM6uetUoDPhkj8H2vmk1RN8Uo7+4/lb 2 X-Google-Smtp-Source: AGHT+IHxFTGh8di2M20EU+eqY3eL1L88IrnW7w0J8oQNstH7/YzwGLzdxcZA3M5bYzfACSJFcafyEw== X-Received: by 2002:a05:6a00:10c1:b0:6d3:a9:51a8 with SMTP id d1-20020a056a0010c100b006d300a951a8mr1105397pfu.59.1705593753435; Thu, 18 Jan 2024 08:02:33 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c2:2787:5326:ea15:1a78:7483]) by smtp.gmail.com with ESMTPSA id h20-20020a056a00231400b006dacfab07b6sm3463559pfh.121.2024.01.18.08.02.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 08:02:32 -0800 (PST) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 1/4] Use --disable-default-pie for sparc in build-many-glibcs.py Date: Thu, 18 Jan 2024 13:02:25 -0300 Message-Id: <20240118160228.741832-2-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240118160228.741832-1-adhemerval.zanella@linaro.org> References: <20240118160228.741832-1-adhemerval.zanella@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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+incoming=patchwork.ozlabs.org@sourceware.org The staticcally built binaries fails without this option [1]. Checked on sparc64-linux-gnu and sparcv9-linux-gnu. [1] https://sourceware.org/bugzilla/show_bug.cgi?id=29575 --- scripts/build-many-glibcs.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 9cdf3e682f..1967615df7 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -436,18 +436,20 @@ class Context(object): gcc_cfg=['--without-fp']) self.add_config(arch='sparc64', os_name='linux-gnu', - glibcs=[{}, - {'arch': 'sparcv9', + glibcs=[{'cfg' : ['--disable-default-pie']}, + {'cfg' : ['--disable-default-pie'], + 'arch': 'sparcv9', 'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}], extra_glibcs=[{'variant': 'leon3', + 'cfg' : ['--disable-default-pie'], 'arch' : 'sparcv8', 'ccopts' : '-m32 -mlong-double-128 -mcpu=leon3'}, {'variant': 'disable-multi-arch', - 'cfg': ['--disable-multi-arch']}, + 'cfg': ['--disable-multi-arch', '--disable-default-pie']}, {'variant': 'disable-multi-arch', 'arch': 'sparcv9', 'ccopts': '-m32 -mlong-double-128 -mcpu=v9', - 'cfg': ['--disable-multi-arch']}]) + 'cfg': ['--disable-multi-arch', '--disable-default-pie']}]) self.add_config(arch='x86_64', os_name='linux-gnu', gcc_cfg=['--with-multilib-list=m64,m32,mx32'],