From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GJbgB0sb4mDHOQAAgWs5BA (envelope-from ) for ; Sun, 04 Jul 2021 22:34:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KOhfA0sb4mCRdwAAbx9fmQ (envelope-from ) for ; Sun, 04 Jul 2021 20:34:19 +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 56476246ED for ; Sun, 4 Jul 2021 22:34:18 +0200 (CEST) Received: from localhost ([::1]:53056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m08oi-00019v-8O for larch@yhetil.org; Sun, 04 Jul 2021 16:34:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48492) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m08oU-00019g-8e for bug-guix@gnu.org; Sun, 04 Jul 2021 16:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59981) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m08oT-0004gz-T4 for bug-guix@gnu.org; Sun, 04 Jul 2021 16:34:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m08oT-0002tl-NA for bug-guix@gnu.org; Sun, 04 Jul 2021 16:34: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: Sun, 04 Jul 2021 20:34: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.162543083211126 (code B ref 49113); Sun, 04 Jul 2021 20:34:01 +0000 Received: (at 49113) by debbugs.gnu.org; 4 Jul 2021 20:33:52 +0000 Received: from localhost ([127.0.0.1]:43294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m08oG-0002tJ-Cl for submit@debbugs.gnu.org; Sun, 04 Jul 2021 16:33:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m08oB-0002t5-MP for 49113@debbugs.gnu.org; Sun, 04 Jul 2021 16:33:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47150) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m08o5-0004RY-Ea; Sun, 04 Jul 2021 16:33:37 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42632 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m08o5-0007dw-7F; Sun, 04 Jul 2021 16:33:37 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87233e500b6fbde614181369dfdb4535b3471c4d.camel@telenet.be> <7bf9667b405c900fb484521964c10d0a718fab04.camel@telenet.be> <875yybikkc.fsf@gnu.org> <878s2nz88x.fsf@gnu.org> Date: Sun, 04 Jul 2021 22:33:34 +0200 In-Reply-To: <878s2nz88x.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 03 Jul 2021 18:12:46 +0200") Message-ID: <87eecdyg2p.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=1625430858; 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=BYAFvUBqDnXf3Ib+NiFEqlP9LGy7LPnF4qMMZOZHeDQ=; b=F+2hSM/T3H70DxSrstmt8XYAO4SMquSaYIHryT0B1m41KOpFLogglm6cgrtam0KfD2/eUu v2wZZELS6VmthZEwkVQd3q9vxZvhONwWu3iLlUnvxri9lgUDYazd3Bmcg0xLNi3CcPpEVi g2WyTjesin3bMdbIjcN53mnlHH3An6wq8m2tOmzMTAoo664NwjY9RZzDAzgzABsLQpTlNq VDWLPsXkGcSWBE9MI0w/73wnBAW3TDd9/3xfMgWp/cc0YLFnSh/2mXkNT87IHUdfziuwNs IMFd1/fjhdoR9dfBKOiYNcCdJHO7jzNtM1xsjsfeZrxWbsAItWViwIB/DyCcgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625430858; a=rsa-sha256; cv=none; b=skxQbKCYpscxbLOey4ojiwejK+Rp2ENx9Y2nggpLH0ya2sFy5uFu+vBS2Xt9fOinWF7Kb0 1EJBoftqXFVCHCux59bdschMwFvfAeORGxgVcqdh2FNFIlXLdUYw8zUFnnjPvAReeabjwE k+nH0vyGjbKtp7eBk8SqkwMy4UjqCE/OVKdc5TseDiQalYoZK1CdKgYeG0lvzEr4a1go9Z +33GceAdmIZYcQM1R4hsYO9PIXNWTRhSycIy/rI0eKCeq6zN4lsIRF/JYbV5jRGOJoyiO4 55eQO/8//qLDc+q3kRFNiid32uzAYQz66fdCmrSpTkdaSXedxZ2PolxTBFtCKQ== ARC-Authentication-Results: i=1; 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-Spam-Score: -1.41 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: 56476246ED X-Spam-Score: -1.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: Azp+WSHPZJNX Hello, Ludovic Court=C3=A8s skribis: > Maxime Devos skribis: > >> aarch64-linux-gnu-ld: skipping incompatible /gnu/store/31pavw3yzfck5sql6= rjv92ahi8x9dhaj-glibc-cross-aarch64-linux-gnu-2.33/lib/libc.so when searchi= ng for -lc >> [ previous line 2 times repeated ] >> aarch64-linux-gnu-ld: cannot find -lc >> aarch64-linux-gnu-ld: skipping incompatible /gnu/store/31pavw3yzfck5sql6= rjv92ahi8x9dhaj-glibc-cross-aarch64-linux-gnu-2.33/lib/libc.so when searchi= ng 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=9Celf= 64-little=E2=80=9D instead of > =E2=80=9Celf64-littleaarch64=E2=80=9D). This, in turn, seems to be due t= o a regression > in how glibc=E2=80=99s build machinery computes that value, which is fixe= d 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 i= t soonish in > Guix as it does the job. Pushed as 949ed7aae1e9418ea99f569efe6cb03349485508! Ludo=E2=80=99.