From patchwork Tue Sep 20 17:15:22 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: 607652 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2049883pvb; Tue, 20 Sep 2022 15:07:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM41+9eMTlPP7+5CEsAVbm5QpC9iGZvtm2jPATZlyVO1TIe/59PeytQCg2CczOQ5E2lFsgkf X-Received: by 2002:a37:48c:0:b0:6ce:121f:a69a with SMTP id 134-20020a37048c000000b006ce121fa69amr17912667qke.13.1663711657603; Tue, 20 Sep 2022 15:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663711657; cv=none; d=google.com; s=arc-20160816; b=c1h00BYJH6KI6GdbcgVFyj/rnYqSCIqsDpeWKeNPb8dRILDgR5CH+UQ2NAfzGPn0ib PCRKwxp6lslHTvYoWTRZ7MxZ3svKCPF38+J/nfWNz9O0134r4mvOFgWhdy1rz6Pz4l7X kYqUu0TVObaqa2pNw0bNQ4PPx1hNptLsbS40VPk2aOmOs0k54rKUPMAIC+MIne3dzijQ 8DwhBqveC0gTsH0l1XUYWqWz/Cux4uKF1tE9Am040QmcEXbKDgOzIimAhqpsAYZXaKrh 3XEkoCM1UjjiiH17/TVhgSLBYcsv3U/y88XQdmAzdMjm/sWG7qh+2n278wc7jElVyWp2 i38Q== 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=N5I2F6uV15K8rJ+JfIBb+LUKr5djlIcn2XXO4PUTzSQ=; b=kjBWNSL7sTRLjEZmrpJRzeApEI1yor2xchrX5ZqO2c7rraCELSRJkekLKECIEQxlcg Jk3qyT90GtMY1tX1G8hjAXKseiOYueBPq6bB5ysp5canaupMgpIkK1lWgp4iCVGhVdQw MM2yTVgBMKo6qAF1BFMax+tssRfr0EKLEV7/NqvcOb8xROcyoYW5Ieo3+PcgiYNGyUL4 SV1R8ipOQ5u3Nlb9ll3S5gFDLrE9IwM6a/zoVy8dSNjtcqjmrD+4DdysjDLqQ8kEtDzL BzPlJw6IaqCB/TpImu5XYnkdNBy1JKS2y0oIxkjEq7CWp5EGAN0d9vWQ8GdChNC/F5Iq aktg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kDNettcX; 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 i7-20020a05622a08c700b0035c2bea5448si564094qte.229.2022.09.20.15.07.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Sep 2022 15:07:37 -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=kDNettcX; 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]:49462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oalOy-0000X8-VY for patch@linaro.org; Tue, 20 Sep 2022 18:07:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oagqt-0000ho-3N for qemu-devel@nongnu.org; Tue, 20 Sep 2022 13:16:12 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:34367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oagqr-0000k5-8t for qemu-devel@nongnu.org; Tue, 20 Sep 2022 13:16:06 -0400 Received: by mail-ej1-x62e.google.com with SMTP id y3so7863769ejc.1 for ; Tue, 20 Sep 2022 10:16:04 -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=N5I2F6uV15K8rJ+JfIBb+LUKr5djlIcn2XXO4PUTzSQ=; b=kDNettcXcvfqL7fbnmOFmKmC8sk92FCfF2RE7rYPRqi8xu30qiMlo752lSCfwiNzTy 087UWbizDmilUcdkzHjaG1nsvuS8JpJKlppwNLHo+mv3s35LhTd1tKLqYqJ/dvPizfdJ 6quu7Zfpd7/uxc6zMJDCzyIAEOWM3cR2Oqhwk8l6jDC2mgp4wJbtUDOLNNF9rHuMEFVj +XTZzLfPDcL8CmzMjf+8psVACOu8i123i5fzmSIuPuwSJHMorx6Ighpt599q5wvX6HVZ B+FVXVEaaT7kGXn3hkV2ZzGF5CF31ZCJLhUGIZKqZamrcNmeu2Mb/t0GIVwkuBn2vvvz 7xOg== 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=N5I2F6uV15K8rJ+JfIBb+LUKr5djlIcn2XXO4PUTzSQ=; b=l9qLtKWr71DK8TUSUGWN3iRxkLBlUqO5oAQYfRpaGW5LRa26s5RYsCQu5ZPa/4VDOg 0zzlzMn8hHLbVjakDWe3mC/U5uN3xrRb4oiwiCx0RJhxkoSDOCu9YElWjvnf4zA1rjs+ Uo6XXloh5LV1r/3g86nbMHiyloYw8kSnbjMv9HYm9qVIYuhqTwfqRONh0zXVugHD9c8B xVgUmpqVKeGWe21EhJmkFS40pi7nx7si+LzaGP5wTv2Ve3Psb04SCMixNMqLuefm/xVD F8ZAGBCkd3hfRdd8CRPjKKHho4khOgo5JTjMDK0A70hSFGljB3j6I93QxxMu2LL0r0mp RbjQ== X-Gm-Message-State: ACrzQf2JgaEXe082KO1sk191rGQ2uqfTPxDd+ia73xMnC6XDZIDbH0NF L5TiAmvfx4eedebMhA4numazCQ== X-Received: by 2002:a17:907:3f87:b0:781:ee94:7f91 with SMTP id hr7-20020a1709073f8700b00781ee947f91mr1122904ejc.52.1663694161325; Tue, 20 Sep 2022 10:16:01 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id d13-20020a17090648cd00b00770880dfc4fsm200665ejt.29.2022.09.20.10.15.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 10:15:55 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A08811FFBA; Tue, 20 Sep 2022 18:15:35 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 19/30] gitlab-ci/custom-runners: Disable -static-pie for ubuntu-20.04-aarch64 Date: Tue, 20 Sep 2022 18:15:22 +0100 Message-Id: <20220920171533.1098094-20-alex.bennee@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220920171533.1098094-1-alex.bennee@linaro.org> References: <20220920171533.1098094-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x62e.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 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> Reviewed-by: Thomas Huth Message-Id: <20220914155950.804707-20-alex.bennee@linaro.org> 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