From patchwork Tue Aug 23 21:03:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 599474 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp2709368mae; Tue, 23 Aug 2022 14:06:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR5KZ7YDAtVdRA/CHRpswYnVZw+TDrbznAfbfJHt1zMsmR99Qj2s6cXFRu0b/ylgBGXr2WdD X-Received: by 2002:a05:622a:1d4:b0:343:71b3:dc28 with SMTP id t20-20020a05622a01d400b0034371b3dc28mr21263228qtw.325.1661288761638; Tue, 23 Aug 2022 14:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661288761; cv=none; d=google.com; s=arc-20160816; b=XTSxaJg0tqjT5/PphrBour3p12zXkUOEQGhHMrKY/4RIR4/8yRAS8CBgtZbPYVDSgN 3rhThH0UlRj4PQL24p05Z9N0441Wh3oD/fFeWWEeE1Pyle3b0jEZaQ3bax9QJw6yQaO6 yUUO++CL5iC4vtGBo2Wjm7gajHQvkbq491xEIc2lsA2Ou/XhcoAzosGMbXQH2xwvKEWM fQtRiugaPEYGdG5c8O7iE4Jd7DXNzpkkp1GNkRmbul80i9UAZbqGlPVzunOTXlqX7Pyd kDXKbjzPJg+k8nlkiQW7o+STHe1Iai+sj4CkyPp7hY/GJv63ActFvs9UVyb39dIvivQH fyrg== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=55aeJIb44l0wkuGM2pXiKXOTrTvHRXGyv/4q572RJR4=; b=QdBn2mN3TiY1JrMlwaW4oXhCx8oux2Y44Mz86zAOx6LkWFmtqjWwxiVXdWcavRAE5R YpiizPl+9pLkH6zAZqG5zzXRipJqnsuMBIPpgjSxgvHHg6ysX6nz2SFvUBwb/cCi0oa1 E1G+35Tz96s0EfjDn/X2okrxhSLp02waQ2d7Zxl0jex4/lTrz+yEkqwy9EIDrPFCxB93 ms8vjDxLYR6JtwdmU4YVCjISZ2Y4MjeR0wHxVSNEPgp95XKKbouAsBJOBm9hahYnOxzt q7C3zJ2G6V82iMZGpG91W5Mjf9zmV4p7+yFQgP/jrHxLYZ7+xhWMaDLH6gBa4LnPLdop GsGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jHpq0yMv; 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 d16-20020a05622a15d000b003437e37682bsi8124984qty.431.2022.08.23.14.06.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Aug 2022 14:06:01 -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=jHpq0yMv; 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]:49818 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQb61-0001k9-7E for patch@linaro.org; Tue, 23 Aug 2022 17:06:01 -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) 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-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) 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) 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 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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 --- 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 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