From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id z5q1Nm/LzWDcqAAAgWs5BA (envelope-from ) for ; Sat, 19 Jun 2021 12:48:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KODtMW/LzWCdPgAA1q6Kng (envelope-from ) for ; Sat, 19 Jun 2021 10:48:15 +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 35AC7296B0 for ; Sat, 19 Jun 2021 12:48:15 +0200 (CEST) Received: from localhost ([::1]:37372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luYWK-00042D-ST for larch@yhetil.org; Sat, 19 Jun 2021 06:48:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48500) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luYWA-00041s-MM for bug-guix@gnu.org; Sat, 19 Jun 2021 06:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luYWA-0007OX-E8 for bug-guix@gnu.org; Sat, 19 Jun 2021 06:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luYWA-0001xM-Cz for bug-guix@gnu.org; Sat, 19 Jun 2021 06:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48913: i686-linux-gnu cross-compiler cannot find libgcc_s [core-updates] Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 19 Jun 2021 10:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48913 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 48913-submit@debbugs.gnu.org id=B48913.16240996457436 (code B ref 48913); Sat, 19 Jun 2021 10:48:02 +0000 Received: (at 48913) by debbugs.gnu.org; 19 Jun 2021 10:47:25 +0000 Received: from localhost ([127.0.0.1]:58611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luYVY-0001vs-Rt for submit@debbugs.gnu.org; Sat, 19 Jun 2021 06:47:25 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:44450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luYVX-0001vR-Hn for 48913@debbugs.gnu.org; Sat, 19 Jun 2021 06:47:24 -0400 Received: from ptr-bvsjgyjmffd7q9timvx.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by baptiste.telenet-ops.be with bizsmtp id JynN2500H0mfAB401ynPu3; Sat, 19 Jun 2021 12:47:23 +0200 Message-ID: From: Maxime Devos In-Reply-To: <875yybikkc.fsf@gnu.org> References: <87233e500b6fbde614181369dfdb4535b3471c4d.camel@telenet.be> <7bf9667b405c900fb484521964c10d0a718fab04.camel@telenet.be> <875yybikkc.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-v9ZqeI2oZrpuUpQaqEDk" Date: Sat, 19 Jun 2021 09:37:27 +0200 MIME-Version: 1.0 User-Agent: Evolution 3.34.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624099643; bh=nzWg3Nqi9/+SmIyUgMTDeMvFNbmQSaBsK6ig89T1FYo=; h=Subject:From:To:Cc:In-Reply-To:References:Date; b=C+NNU+IBaCpUAPfcXFbLFairToJMgYgvWV4retzPmo4wwR4c/fcgaBBISAy0m6hWB 9LyCp6cws68P9+OBUAkwKQ932iTBrPbQD1Da4bN+dC7VMEA2o0kT4JUnXDyiwlotuj 7pY/gn+tRHuBquELfALeCXeCEJZZtVlmbqGx3yei7sXKRdkj/kiI9cO9eYi8S0k2wj 2RUwcIoBaE+hGF7tLvXp/hrZ0XLYVvgblQRZ2vkIuEQ4QrgrUIXLROrbhFyUQ0CvPt OeW9Pw2GcGPRT/sfMpDSrg/5sInZTPh+SsIxirqbBNVd6acu1GdM9yBX6jXCDownXD QeyvNqogHwT7Q== 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: 48913@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=1624099695; 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: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: dkim-signature; bh=nzWg3Nqi9/+SmIyUgMTDeMvFNbmQSaBsK6ig89T1FYo=; b=PiJYzAe93t1wm6JQldep+TrLqrh9TLQ0ZUV6NIGjleUz66Qg7wqUyNB4zV63IhZB3XwuzY cLkcrrnRIDpH1xJUQ/Jo1QR1nF8tvItmfwykx2f5YFb9IosNc6HdeQv1sq7oN1fm7dW11e ZoTeaP8eeVe8Q8escum/ZBnqagz9XPDdkrzKdg3KfJq5nyw+P+FWQMYa1mh11idjPJnkLx mFc+DNJ/75BNmyA8sVRbIB7wbEIomDhxVAVYwcPX14DDSAGjP8LQflXdVU439gwq02Hk4v aOU4Str79fPYWYp5n0/mWFijM3hosQS2fJmnUD+dfLp9+dDBaKBlgSLmbAK2OQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624099695; a=rsa-sha256; cv=none; b=bcCsTmzJRBGc5Kfoigb20xzvfvGNZugT6dP7J7mWdeIXQlMICRI8z3XzaUv2hehBsx3AwT l3oNbyp3u5z8CD88Sh0RKgiFFDTsFI4+S4rY2+RVJAxM8pXXCT+xkzp+jFxBd+/L+ZYzQr oOFhQAcE9EMU6VfAWnhFAfsSV7vyCpEolrBgEIyNcETNqXTyY9+omS0Om+yDkloV0nBxn8 52+RFtI9ia2LKQIGBVpulDemjsLAKjJb04huwNGh3c/7ph0MEnJdgjeHkRoDyWmiCz2a2l WxktlzU9UNo0RLlG9rOkfEgyAHZRFRa/YZZShD7F4gsfHK1GplqmPjRmD0E7xw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=C+NNU+IB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=C+NNU+IB; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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-Queue-Id: 35AC7296B0 X-Spam-Score: -3.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: nL7Hu9vGrZ/W --=-v9ZqeI2oZrpuUpQaqEDk Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op vr 18-06-2021 om 11:33 [+0200]: > Maxime Devos skribis: >=20 > > I have found a solution: passing --with-slibdir to GCC's configure > > script. Not sure if that's the proper solution though. GNU Hello > > now builds succesfully! I'll test with a few more packages later > > and then =E2=80=98formally=E2=80=99 submit the patch (after writing a c= ommit message). >=20 > Could you check whether aarch64-linux-gnu or armhf-linux-gnueabihf (say) > have the problem, and whether this patch addresses it? This patch (passing --with-slibdir) doesn't actualy fully work (when cross-compiling to i686-linux-gnu from a x86_64-linux), as libstdc++ is not installed in the right place (and other stuff like libusan, but those are less critical IMHO). I sent a more complete (and hackier) patch as part of the patch series for implementing cross-compilation in Meson (not really the right place, I know, but it's hard to test cross-compilation when the cross-compiler is broken), see [PATCH v3 core-updates 36/37: Fix cross-compiler for i686-linux-gnu] (https://issues.guix.gnu.org/49025>. I'll send a mail to bug#49025 asking people to respond about that patch at bug#48913, to keep things separate. I'll test whether aarch64-linux-gnu and armhf-linux-gnueabihf have the same problem and whether the patch (from bug#48913) addresses it. Greetings, Maxime. --=-v9ZqeI2oZrpuUpQaqEDk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYM2eqxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7moJAQCXkiwPTb6TkalWdyOxdscB65+4 9fYiOx6EbCtIOpQwvgEAtwmwNGPCwkRr0lvEYKgRhvhChsFqYE7E9Y0bkecD9wk= =CeF3 -----END PGP SIGNATURE----- --=-v9ZqeI2oZrpuUpQaqEDk--