From patchwork Fri Aug 26 17:21:16 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: 600294 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp557068mae; Fri, 26 Aug 2022 10:28:09 -0700 (PDT) X-Google-Smtp-Source: AA6agR7H/0CC0XVrM4LA4AjnaMfF4O1Hzgcqdmjb40O9K0WqZFD9GshDGVFzlvIL5T8TNv6ZbI7s X-Received: by 2002:ac8:5b05:0:b0:342:fd04:a25c with SMTP id m5-20020ac85b05000000b00342fd04a25cmr660931qtw.303.1661534889755; Fri, 26 Aug 2022 10:28:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661534889; cv=none; d=google.com; s=arc-20160816; b=TRHVwsXOvcV7Hai6X3nlMCHsj7b+w6qr6NA0KNIwLVGQ0pwNVKzyjVZTqFwLncOm49 Rds7FWw0AbUsrOOcp/N3edrJ9Y22ZTCHX5ErtdufBMd1JG9afrfxRBzNi8xDiwbNtLQ7 r9xk3Mbkcry54Q3mxQ4imNQfOAvrny6ithQ4TEXg2CBhAUm/JP+T/ZcuFxPLCVYWE9M/ 21l4WOiPkbbVLa74j8TGpueu928Jgqw4yE2F+FcfG4ie4Kph9W64BAJ7nw4G6xaSKioo YYULrx5pSKXeQssNVwLEU7rQxXe4m6iiJ0rA4FRLWN2djlyHutTbH0pwJVhbFylPcdjT WOMg== 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=9MOnu1ec0euQQzlo0EzPjCl31y4DT+jd3bOgAm+WB8M=; b=vvY0Sb0GwDMcWsBcXIP5YS69rZ22/YlZJKcAnrB12sN0vuRzCDBEyem1JxYcjzFVqY E3/qUAgK2PIikdtMvCSdN+Zsjanm0d7DuFPcCQK78VU0D51cjMWqWwgSLF4et5BF2Hyx X7jXvMpPfYUW37xPTr5ibSgAwrvxZUaUf81DlKGAnn3U8mgatijEWZzXAZbZ1oApEwJ9 Ps49Uf9q0yRtZKa9YNG0zhdtRJx2NcLg2EEDAUd0YC9rokLgSkrK8I1s/r7s9Ijs8cge uT0PNcaxvsqiQx3N6AyU5Bb8ijzezsWhyUe6mbbERyXeNe98OtExFCOJVyAjovolnoJ7 CC3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hBl4EWTa; 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 x13-20020a0cfe0d000000b0049705645051si105618qvr.70.2022.08.26.10.28.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Aug 2022 10:28:09 -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=hBl4EWTa; 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]:35540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRd7p-0007MD-Br for patch@linaro.org; Fri, 26 Aug 2022 13:28:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRd1b-0004LR-An for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:43 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:34525) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRd1Z-0002Lu-F7 for qemu-devel@nongnu.org; Fri, 26 Aug 2022 13:21:43 -0400 Received: by mail-wr1-x42a.google.com with SMTP id e13so1648704wrm.1 for ; Fri, 26 Aug 2022 10:21:41 -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; bh=9MOnu1ec0euQQzlo0EzPjCl31y4DT+jd3bOgAm+WB8M=; b=hBl4EWTaHql0/oUQAHIeu5nLnBQCpL8QYOPtYz4G4ivcelHD7jmIS71zjydF47VXF9 NK9DSleYcmCRxWtUy4fu3+2r0g2wG2YJMjNfD5Hbec4VqyYE9+q4BsIYZrq/d44QgQUw SngZQnc0DAv8KFvcI+PzCVBiGSJrshOMcJDIg+QlOqIzb83heoPoOHtnyHe2VaLIHhGv M8PVeBUhnBfh1wq9UnSdvfnvt5DiBYJyHtgTom4a3e/o0Rj2fm12K22z2SOYlwC7KYZK zliQmj26XR2s26MOAQqzPoYOogqeXE/yoo/5dLS1vHKgMDt8px5fd2r+k2i6EbgRiDTT t8QA== 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; bh=9MOnu1ec0euQQzlo0EzPjCl31y4DT+jd3bOgAm+WB8M=; b=LNY9/SrR65co2tHNIkgNMWfKOxXQIHTvQvudQmNuS0wxcB5nQKLojkfzRz5vPdL5NX xMWbNHmL1+Xx6Kod7/TviZg1xsIkv6A34J3ZTOTwrygneizPBN4UUtIUtZSKXCTRL9PS t2yHEJsBebYxkxi2+oq5fFMGPMyNXSOqHux5EvJY9bmGDnt2AwE5NQMkHOb0R4iZ6M9J UzeUBMk62V5Yb/UZiYLw8L2i0ilHGUpn1Zm/746F0lYMlKIKoUwnIgEROcbxZpY12WF7 L70r9qVMXss9ikSEvmYR2ImcPkSHcEp8D6OZWPrGORIenDZeDnR/B5xq2NiQK1AJhOJl geoA== X-Gm-Message-State: ACgBeo0G7AqL36SLF9/tuizR7ibf7rMKoj8MtH355a6sHQF4Z/hd/VeM tZtSTFSWUeT6e4LlZzDN1wUkig== X-Received: by 2002:adf:e38e:0:b0:226:cff1:4b21 with SMTP id e14-20020adfe38e000000b00226cff14b21mr387938wrm.226.1661534499915; Fri, 26 Aug 2022 10:21:39 -0700 (PDT) Received: from zen.linaroharston ([185.81.254.11]) by smtp.gmail.com with ESMTPSA id f15-20020adff44f000000b00226cf855861sm237181wrp.84.2022.08.26.10.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Aug 2022 10:21:34 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id D33951FFC4; Fri, 26 Aug 2022 18:21:29 +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 v1 13/25] gitlab-ci/custom-runners: Disable -static-pie for ubuntu-20.04-aarch64 Date: Fri, 26 Aug 2022 18:21:16 +0100 Message-Id: <20220826172128.353798-14-alex.bennee@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220826172128.353798-1-alex.bennee@linaro.org> References: <20220826172128.353798-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42a.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> --- .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..85a234801a 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 --extra-cflags='-fno-pie -no-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