From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id NFzuHZmM4GDYsgAAgWs5BA (envelope-from ) for ; Sat, 03 Jul 2021 18:13:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uPrUGJmM4GCbUAAAbx9fmQ (envelope-from ) for ; Sat, 03 Jul 2021 16:13:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B3E691D4BD for ; Sat, 3 Jul 2021 18:13:12 +0200 (CEST) Received: from localhost ([::1]:52914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lziGU-0001Wl-AQ for larch@yhetil.org; Sat, 03 Jul 2021 12:13:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lziGM-0001WG-1Y for bug-guix@gnu.org; Sat, 03 Jul 2021 12:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56411) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lziGL-0006ke-R6 for bug-guix@gnu.org; Sat, 03 Jul 2021 12:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lziGL-0003CZ-N5 for bug-guix@gnu.org; Sat, 03 Jul 2021 12:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49113: aarch64-linux-gnu cross-compiler fails to build [core-updates] Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 03 Jul 2021 16:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49113 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 49113-submit@debbugs.gnu.org id=B49113.162532877712296 (code B ref 49113); Sat, 03 Jul 2021 16:13:01 +0000 Received: (at 49113) by debbugs.gnu.org; 3 Jul 2021 16:12:57 +0000 Received: from localhost ([127.0.0.1]:39724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lziGH-0003CG-HK for submit@debbugs.gnu.org; Sat, 03 Jul 2021 12:12:57 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lziGF-0003C0-1e for 49113@debbugs.gnu.org; Sat, 03 Jul 2021 12:12:56 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43708) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lziG8-0006be-HT; Sat, 03 Jul 2021 12:12:48 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42618 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lziG8-0000tq-A5; Sat, 03 Jul 2021 12:12:48 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87233e500b6fbde614181369dfdb4535b3471c4d.camel@telenet.be> <7bf9667b405c900fb484521964c10d0a718fab04.camel@telenet.be> <875yybikkc.fsf@gnu.org> Date: Sat, 03 Jul 2021 18:12:46 +0200 In-Reply-To: (Maxime Devos's message of "Sat, 19 Jun 2021 12:05:39 +0200") Message-ID: <878s2nz88x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 49113@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625328792; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=vyKkfh2YfF8dqqDDgVKHkyPdlHRyOM6wIYwyCle5wj8=; b=ABi+KkPqxPU/Lj83CL7vnugnQLV14GUzFLBmzTDQb2WcN/1PtBrcnqJ/MgdIB8P80YeNq+ TotzmiDGac34C8mDSI9UWat4h0rxVjOFYN/KHNih0seCcm/SGTttiwjkKJavU49/yXvC3O 24GU1X57W8LpvJQE0OEOLTYidP5SnjIALXAHmROVOfuZNMauNdjGGVoFDv87BqCQiSiGCS 1FgJoRwPsjqTnqpY+43lnSzVzgLtBrMXiRUT8qcOn8VGexIS//9Og1wxh8Ng9JjVC+g2KA YUsP1Ed7aER76WfmNQ/pm/uHQn8Td0uyAXvR/wLSTpJNQTsOGaP0f5SRlPd4rg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625328792; a=rsa-sha256; cv=none; b=Bo7BnHj3YdXsFLeB69+6fAY/Z897Aam9dPG0Oj3HAtz1vUmW8S+/0d9qJoyG1vhMeH5Xjt 9foz6gQe0d/pESZCVw2EJtkaBEZPmuCOPMVjcAUJi8rt4eGHxpqanWb+tTlkbeo4UoCjWK 33JJFSBw9oY8l7OnO7QHSj7U/phhX+qEU3AJ1Rbx0bwn8VOsvyjHBznNYZqIwKZ0iWEapL 9x8CXeXZVF9zjri2cjPBBH45+UOT0hH/+iDvJOoW5ccIxRBl+64GRuDi+zxEnMHDOl4OXa PY/nQxtTOPQ/mtzpYmcvxg/BP14mxH94gG24QCVqS9fe5NF0yzDDT8nWYQ9odw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B3E691D4BD X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: /9UUq93EYkoq Hi, Maxime Devos skribis: > aarch64-linux-gnu-ld: skipping incompatible /gnu/store/31pavw3yzfck5sql6r= jv92ahi8x9dhaj-glibc-cross-aarch64-linux-gnu-2.33/lib/libc.so when searchin= g for -lc > [ previous line 2 times repeated ] > aarch64-linux-gnu-ld: cannot find -lc > aarch64-linux-gnu-ld: skipping incompatible /gnu/store/31pavw3yzfck5sql6r= jv92ahi8x9dhaj-glibc-cross-aarch64-linux-gnu-2.33/lib/libc.so when searchin= g for -lc > [ previous line 2 times repeated ] > collect2: error: ld returned 1 exit status > make[2]: *** [Makefile:985: libgcc_s.so] Error 1 As discussed on IRC, the problem seems to be that, when cross-compiling, the =E2=80=98OUTPUT_FORMAT=E2=80=99 bit in libc.so is wrong (=E2=80=9Celf64= -little=E2=80=9D instead of =E2=80=9Celf64-littleaarch64=E2=80=9D). This, in turn, seems to be due to = a regression in how glibc=E2=80=99s build machinery computes that value, which is fixed = by this patch: https://sourceware.org/pipermail/libc-alpha/2021-July/128333.html I haven=E2=80=99t had feedback from upstream yet but I=E2=80=99ll apply it = soonish in Guix as it does the job. Thanks, Ludo=E2=80=99.