From patchwork Wed Sep 14 15:59:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 605764 Delivered-To: patch@linaro.org Received: by 2002:ab3:1c02:0:b0:1e7:4ce8:c350 with SMTP id u2csp862610lth; Wed, 14 Sep 2022 09:38:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR61MTL+n9jPXPEGIc8MrVdWuJaZXbTMNCqGFxJgvtbwcR6q7WQg2BiG/Di3d9/R+aiMURb0 X-Received: by 2002:ac8:4887:0:b0:35b:b08d:20ad with SMTP id i7-20020ac84887000000b0035bb08d20admr15771793qtq.118.1663173524456; Wed, 14 Sep 2022 09:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663173524; cv=none; d=google.com; s=arc-20160816; b=YrI8YBkpjOh3ftoiTuGETfLJPDrXgMuOTPUZtCDn5tPPMkWuqwCS9n+SJByA6Zg9uZ +cQ8lBS9EewsW4Dn6o4BHMlqKjYXjZF2795pxoz2HULBSC76VmX405bGDxxFbmKbidH1 AWzJdpS15s5E8yB3DLQ3vLtuc/8P9qLiT3LWK2k4JiNC371v7azLa/i0/eITpE/0wvDJ 73ubYJfQZzbyJEsrFhZgJgx1X6mwnthhuyXkJMyih50lLaR1QVX/G1prxawbfjc+B2p1 UUA3SZ9lHcKyVDYKMkO579YSPkdsKTqwhMRQS5x3uZgINMFmGO1UZwvRQqA0O7Py/2Z4 tm1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender: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:cc:to :from:dkim-signature; bh=YtututB/HwLz66Zj57eTsQrfGdUZAAhyrcZh+dfp8lg=; b=of/92HtE9+JI30RVb04V8Go8H/yDV7+TwW+idD/EYMiYupMRpdldPMElnXDz9CxcR4 dDB7fdfqBDKjSZWzHo3CY6T9MnMhTJn7+EoWXKTfGnyDAhzy2eocy7WWhAry2PEQoigU ESpR9HpAj4oeXIfrYs8XtEgpJS2cNxYT1hr7rc7qNl0Hh9VL7HFR6iRL5WPuXxMi4LH/ BKkfqI3Za82DsMbqPWJuxk124md+TRnQjvhxDKsAgDfDShVXRb4Gde+MLSGgzPAb+P9o opZar5Og5NIcWIr6Dp1dr67NlcpUXWcBrrND41S1GTCafRzHbZKupOR2fxArP2joLa7W MyYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e8qhptXI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id kl11-20020a056214518b00b004a909c4b69fsi1436282qvb.368.2022.09.14.09.38.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 14 Sep 2022 09:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e8qhptXI; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYVPP-0004az-Vq for patch@linaro.org; Wed, 14 Sep 2022 12:38:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYUo2-0006hN-10 for qemu-devel@nongnu.org; Wed, 14 Sep 2022 12:00:06 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:36763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYUo0-0002nV-4A for qemu-devel@nongnu.org; Wed, 14 Sep 2022 12:00:05 -0400 Received: by mail-wr1-x436.google.com with SMTP id h8so19454639wrf.3 for ; Wed, 14 Sep 2022 09:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=YtututB/HwLz66Zj57eTsQrfGdUZAAhyrcZh+dfp8lg=; b=e8qhptXImSiQk2ZYA5+GRlLCbCis/0FE6wzCTwKUP3zbP6KAx0a5/pyXajefFkz9Id iGc4zDZRYcqQhcKEXm9bfH41iGMSZdQEAuRwNUTfXbgdF7+kBSoc//8wB/wihYq314HA uG5DNmMoQXbwd4L1NGnrSvIrhyWScPQfUTOMTm7lFMDkbhxXeSdFBcMyhKKxmA1XFGHq t/bjET61OamWRdk6yemgle4FNB8suQdC5ks8JZLBizavgnf/p/OkSqj1rAK5QpjlUxcx 8vygf3Y5sW0ywCu3MdganqTqsB0NfYcDokbna+8gYFNb5H3tPlXX2Dl9pix/dmMCH5Vs GjxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=YtututB/HwLz66Zj57eTsQrfGdUZAAhyrcZh+dfp8lg=; b=qoXAwBs0dhbUw48oO2qrASEAUWdR5WFt57ojZNETDWZ+QmaSdXYl22iENCSFuKOxy0 4M84VK/0DvxiFoC4rPksSQIpyKurU6S4I+xa4iHogwPfbVJnayX7irLNPJAW+xsa79b4 COVzACixQy7KUSe/5D3cPQ0mV478qnFE+4Erbz7VKb5Keh5dwLeDdHZogNjllXYXtfb2 ZmSVO3PvpjnF2m8/dKGaMJTfSQM0TXhIgIHf7/J8WgU1mcDnOStiqfh0U+4OZsdh2Dou hFxlUSxQ/rpR9TCTiNqj/WsrI0HVzp9ttECJJsBrSKicfvYhyCNSY0RkuCoj1cqCbJNS /NRQ== X-Gm-Message-State: ACgBeo3JC3OTyNGSyxcuIQlOQYID2vfDQm1G3AgXp6aj8NsmPC9uLgZe fP0vR5yQ6PPJXMdWCsduAbJReg== X-Received: by 2002:adf:fd47:0:b0:228:dbab:8f5d with SMTP id h7-20020adffd47000000b00228dbab8f5dmr21311729wrs.524.1663171203325; Wed, 14 Sep 2022 09:00:03 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id az8-20020a05600c600800b003b27f644488sm17858772wmb.29.2022.09.14.08.59.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 09:00:01 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 05EE01FFCB; Wed, 14 Sep 2022 16:59:52 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: fam@euphon.net, berrange@redhat.com, f4bug@amsat.org, aurelien@aurel32.net, pbonzini@redhat.com, stefanha@redhat.com, crosa@redhat.com, Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PATCH v2 19/30] gitlab-ci/custom-runners: Disable -static-pie for ubuntu-20.04-aarch64 Date: Wed, 14 Sep 2022 16:59:39 +0100 Message-Id: <20220914155950.804707-20-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220914155950.804707-1-alex.bennee@linaro.org> References: <20220914155950.804707-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Richard Henderson The project has reached the magic size at which we see /usr/aarch64-linux-gnu/lib/libc.a(init-first.o): in function `__libc_init_first': (.text+0x10): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 against \ symbol `__environ' defined in .bss section in /usr/aarch64-linux-gnu/lib/libc.a(environ.o) /usr/bin/ld: (.text+0x10): warning: too many GOT entries for -fpic, please recompile with -fPIC The bug has been reported upstream, but in the meantime there is nothing we can do except build a non-pie executable. Signed-off-by: Richard Henderson Signed-off-by: Alex Bennée Message-Id: <20220823210329.1969895-1-richard.henderson@linaro.org> Message-Id: <20220826172128.353798-14-alex.bennee@linaro.org> Reviewed-by: Thomas Huth --- v2 - rm --extra-cflags workaround (now in configure) --- .gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml b/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml index 3d878914e7..3f4dee4f86 100644 --- a/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml +++ b/.gitlab-ci.d/custom-runners/ubuntu-20.04-aarch64.yml @@ -16,7 +16,9 @@ ubuntu-20.04-aarch64-all-linux-static: # --disable-glusterfs is needed because there's no static version of those libs in distro supplied packages - mkdir build - cd build - - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh + # Disable -static-pie due to build error with system libc: + # https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1987438 + - ../configure --enable-debug --static --disable-system --disable-glusterfs --disable-libssh --disable-pie || { cat config.log meson-logs/meson-log.txt; exit 1; } - make --output-sync -j`nproc --ignore=40` - make --output-sync -j`nproc --ignore=40` check V=1