From nobody Fri May 17 09:38:30 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1661288781; cv=none; d=zohomail.com; s=zohoarc; b=AVBUiJB02DbKV92aJ2IZu+fZTceZxMQrcvqTKA5Mr+VV3jM8cVAo0wmAGJVFKuDN0MHSLiXgvM7Jo3+1boklDlZt9hQ9r3XrwFngkWf4Ne1JMbEbE6Ueol2EssNBb3D9z+W6EZKdcvbgWYv7jf1EXX9VQBYTVhtoH19wOVBFITA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1661288781; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=55aeJIb44l0wkuGM2pXiKXOTrTvHRXGyv/4q572RJR4=; b=KoGTDavLYlOFbatzbIlUflfSXbBY1qqt6FxuC64idEqNo1Hhn1zS5Tvkooshdey2Ko0P5mm1pKcMu2ClzOc/Vb45q+whTwIWVDa+U70VO2O+PKSQePJ4uR0LuGzmcUrnOCPVVdhpyLfSZtcMK598INezu+L2r8bknjwkWAvey4c= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1661288781355956.5722387867546; Tue, 23 Aug 2022 14:06:21 -0700 (PDT) Received: from localhost ([::1]:32898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQb6K-0002q7-31 for importer@patchew.org; Tue, 23 Aug 2022 17:06:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQb3f-0001fu-4t for qemu-devel@nongnu.org; Tue, 23 Aug 2022 17:03:37 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:52917) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQb3c-0001Ab-Ln for qemu-devel@nongnu.org; Tue, 23 Aug 2022 17:03:34 -0400 Received: by mail-pj1-x1034.google.com with SMTP id f21so15116577pjt.2 for ; Tue, 23 Aug 2022 14:03:32 -0700 (PDT) Received: from stoup.. ([2602:47:d49d:ec01:46f9:77b4:ec0a:c2d9]) by smtp.gmail.com with ESMTPSA id s6-20020aa78bc6000000b005366dbc4cf4sm6146640pfd.216.2022.08.23.14.03.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Aug 2022 14:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=55aeJIb44l0wkuGM2pXiKXOTrTvHRXGyv/4q572RJR4=; b=jHpq0yMvZCNee9P4VzyDY6mZBD3LQshypRjnmfq6sgpAL/1XcpzyDNEabCPpwORjEr GiFdLd9kqtr3aHG7gcJsSixWmWmNnRJkykP53znw4SeZuRfKOlTrLkaxQ/vCFROx0gQt V4xHYfSwEr6OzGD+NF/kD6n1+i8+85RW/HvrSKvscECvdSqXX1fxQDTu7Sa3elzWD/jQ QNSrq20sPTnmFPJA6K38ae3Vp/3T0IM/PyjK2dCdssYA7lDXeoG00ki/cD4Ew+kHK/pN S58OX2eEi3++W14H4Y5bcb1srqGrQk8U2T3DuzFf8CDTeJZQY4iHU5NaCB5BAkB/lLpR ++kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=55aeJIb44l0wkuGM2pXiKXOTrTvHRXGyv/4q572RJR4=; b=N81bMagQFxZf6ihGAPfvJwKPUJCnh4++5mAuq2Ggq8DDSJfx4GNfJ3ugAy8WViGGiJ DHvuurPAboEBpEyg9HQnlYVDQa/ZZkXYkzRzP6RdKOacq92bpoCzcjpV/vmk8TMvZWsW uscXdjAzvQWcmeKF0hADZ1x/4lRFwwXJcuokXDFxC7Anfb0IvkDXxZuN4nzAG+a+0OJT rXlWImUhVmUzflKbznwMWrpSfPNxIWFC1btfhq/EbVUm+ymZMHNRO21sGzNkxs+6WJMH nt0w0IAm650K5BBZ3Ps7ajTqhYbTanWo9XAiCldlWdgaUboirymLa422aZw8otZG/bf2 AcVg== X-Gm-Message-State: ACgBeo0eRPnIEcVYI9/3wz4D4XcBUq51MAep+0MKr9Fc0/3Cgilrcq+A v3m5Zjfw93DzUGL0+NAKC2ta32jxuFCAow== X-Google-Smtp-Source: AA6agR5P/dv+VqDF9pgftm12w8M80NxeoHuJegNRusTA1FevLkeo342DOZcgFueoc7HpJsvZZfRuFw== X-Received: by 2002:a17:90a:9309:b0:1fa:d28b:3751 with SMTP id p9-20020a17090a930900b001fad28b3751mr4839059pjo.189.1661288611113; Tue, 23 Aug 2022 14:03:31 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: alex.bennee@linaro.org Subject: [PATCH] gitlab-ci/custom-runners: Disable -static-pie for ubuntu-20.04-aarch64 Date: Tue, 23 Aug 2022 14:03:29 -0700 Message-Id: <20220823210329.1969895-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1034.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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1661288783723100001 Content-Type: text/plain; charset="utf-8" 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_f= irst': (.text+0x10): relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15 agai= nst \ symbol `__environ' defined in .bss section in /usr/aarch64-linux-gnu/lib/li= bc.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 --- Irritatingly, once this is fixed, we're still in a broken state because we're now picking up an x86_64 cross-compiler, without all of the required static libraries: https://gitlab.com/qemu-project/qemu/-/jobs/2923714301#L3028 Cross compilers aarch64 : cc arm : arm-linux-gnueabihf-gcc i386 : i686-linux-gnu-gcc mips64el : mips64el-linux-gnuabi64-gcc mipsel : mipsel-linux-gnu-gcc riscv64 : riscv64-linux-gnu-gcc s390x : s390x-linux-gnu-gcc x86_64 : x86_64-linux-gnu-gcc where we hadn't done so just 4 days ago: https://gitlab.com/qemu-project/qemu/-/jobs/2908305198 Cross compilers aarch64 : cc arm : arm-linux-gnueabihf-gcc i386 : i686-linux-gnu-gcc riscv64 : riscv64-linux-gnu-gcc s390x : s390x-linux-gnu-gcc Alex? I think you're the only one who would know how this host is supposed to be configured for gitlab... I guess I'm not going to let this affect the release, but we do have quite a number of annoyingly consistent failures now. We should either fix them or disable them. r~ --- .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 thos= e libs in distro supplied packages - mkdir build - cd build - - ../configure --enable-debug --static --disable-system --disable-gluster= fs --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-gluster= fs --disable-libssh --disable-pie --extra-cflags=3D'-fno-pie -no-pie' || { cat config.log meson-logs/meson-log.txt; exit 1; } - make --output-sync -j`nproc --ignore=3D40` - make --output-sync -j`nproc --ignore=3D40` check V=3D1 --=20 2.34.1