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 X-Patchwork-Id: 763631 Delivered-To: patch@linaro.org Received: by 2002:a5d:6e5d:0:b0:337:62d3:c6d5 with SMTP id j29csp860737wrz; Thu, 18 Jan 2024 08:03:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMUKgLv9n+2KDG83cT/yTMr6w7T/+xyW0aL7zPqm/6j+RYEHLeO/nbxKaojxZzo5CQ+RM3 X-Received: by 2002:a05:6808:1520:b0:3bd:a0cb:41cc with SMTP id u32-20020a056808152000b003bda0cb41ccmr124407oiw.35.1705593780241; Thu, 18 Jan 2024 08:03:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705593780; cv=pass; d=google.com; s=arc-20160816; b=UT63qikJ2w4oG2pRlKcs0mFMfwbTwyeiQ/YM9R8dBaUCs4IBO4rMbLjBfpH7bmpM0W M/G+EnDMEJMne8K9ssJSw78j1a9Q0t/LTXRt5ZDduN/VuElm9cjuGC+ZOcHpHvZ+itcu SEvxLvjyfmAGRpFSGeg3/8efLy2mAYcKiNGbwh5Uhv6NLzGF1NBcJHzz2Kzn3DXYg8Jz mhaIHHFxlyLwRuPX8y4UfdtC9DdRED6jwMLzH6et3OeTrOncg/ZNy4rnB4us+APM7p0i Mr5hk8a92Zp/23jZ6VdHSKzKkGwofAutQItmO17LHR2NRY3nbZsVWGxQhNqojWjZZmyY jszg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=BucMoeY2j77ot6GKx/7CnVdGiVxq6F2GC+8Big4fxzc=; fh=dHLBnA+MhGtNtN2B2JMAELi4oD+gmgMg7DL8H0jYbkI=; b=GTEaQ2kB3BRcqRGjpRgDoXWTDGuhWkFlSvQ/3V5umsNUt6lq5IVjOZpVlAa+Iffhsa fWiVR4VY/B5gY0yYT04Ypo0AoszqZ7MQ9IyEiLQn4QoJgr0utyKeh3Pc2eRaA1I7Ay7U CLNtCp6+dlc91NWJzpMcIFvGBoFoiDTKdA+6lVSJi/omRf4WOsn3fgLAwkGa9PiAnq+H DBsTSIFXrk7Dzt4jbByhEubiRPANfABMcwxO7proAHyCPL4weML2a37ToukEZjAaRB3A igle4KYJ/Z3Hkq4ZVa4QO8OIO/lk4G0kVnCfWL/YydMANgm4E+YRw0YFKoNRBVr4afqI JODg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DFri8f1x; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id 14-20020a9f200e000000b007cdfdccd3f4si1828904uam.31.2024.01.18.08.02.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 08:02:59 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DFri8f1x; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id CFD1738582A3 for ; Thu, 18 Jan 2024 16:02:57 +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-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+patch=linaro.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'],