From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4MNgGU4l5GbaJgAAqHPOHw:P1 (envelope-from ) for ; Fri, 13 Sep 2024 11:43:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4MNgGU4l5GbaJgAAqHPOHw (envelope-from ) for ; Fri, 13 Sep 2024 13:43:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=T1nE3XTP; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=Aa1sH7ch; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726227790; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=qA4hs0GthMdQ1Un2d95javi0kmnE+aYlZjcfQSkbXlU=; b=WsWw39eL7XHqrSxt5HX403RnDcPAtKSZKjGIC39iYl1yMbaH8WJCQSkSMSeHkBHTGxeScO yEc1aXXX/b5PQl+8OoBQFOEA6G97mo686Uph/KSXD0w1NNrKkh5wN5HEkRNi6Cu+dkd+sW +rKUdSkOUv/jeiSNNHX1uN3DKTK9QtL3RyW4bJRDnoex1eaN1tWkOeyBsM7ti0FLiDvry9 uCI0z+Fq0G/J2v6V+m3Doa3PweAh8cjsUE3BqiWl2RddH5W4oxY67Ee4hKggi2uf/mBkpf nzaCvEBfHurse5fJyM2UzRUOfsbQEQsDoRiB0EFcWa3MO1CV4xzWvamQQHvb/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726227790; a=rsa-sha256; cv=none; b=rzwdn4jjS6XFkLhsnZKtcO3xWeuw/Y4KW5HbWt4XhzgNtQMEQ6h+eBqnL23BJzQBftrIlp Eyb19c7pt66nvdsLHDuKm3pmd06Cs5p5avM5Iybh4+UFt4QHDvZ11OUkiudBLSNlUQqrr+ X8z2wHkloFhOKv9iVUr1JiKiYcPCMTrCeLaujL0Z2NWsy5AO2C0j5DzlUMsmd070ChMpa4 aEJoKHrSQKkwAElfaEQU7VjEGPeijMlILv8ARH2Cpw0hp1yJRbzrtp1YvGjjE6ZL4s9S7v i+h/cr5603qUekUxzHUvwUh/GCIJF77Nb5wEq3Isf081dxAV3nlvQUm9NGf/8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=T1nE3XTP; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=Aa1sH7ch; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 1A5D416AC9 for ; Fri, 13 Sep 2024 13:43:10 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp4hW-0003kX-EI; Fri, 13 Sep 2024 07:42:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sp4hS-0003j1-Bb for guix-patches@gnu.org; Fri, 13 Sep 2024 07:42:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sp4hS-0005Ok-1R for guix-patches@gnu.org; Fri, 13 Sep 2024 07:42:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=qA4hs0GthMdQ1Un2d95javi0kmnE+aYlZjcfQSkbXlU=; b=T1nE3XTPPoQKwQRNy5DD0PbOAb4AhMxTkn57HOFNQK0ZFktkbp6P53BWm0lW7ZYXQ5Bb8qiFyE3CPkn2/0T+gNy+KXMgtGykNbUCA/mI4Lf8Iy/sij1vt/aaSKmDPA3W19Uw9SabsEi0wa2zgoAZ+Sdc1SiWlPSLaAa1j/fmmNGrrY4IoeJgpaMA+4lk/zm4m7pzF4KMgi5X8ZJkIoqcmW0/LmdYQwIEn+1QYDa7tBA59pFyl0nH2eVXdhARvwfCx0nlNL5d00UuLof3/2HRjUeUqd3AC+aRh8uM0V2RQEMGZgbZXeY5+eMg9AiQ6rWBg4wcWG6M0iiJAEqbOSuKsg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sp4hb-0008Hq-2H for guix-patches@gnu.org; Fri, 13 Sep 2024 07:43:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73118] [PATCH v2 2/5] gnu: make-libstdc++-arm-none-eabi: output libstdc++ to arm-none-eabi. Resent-From: Rutherther Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 13 Sep 2024 11:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73118 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73118@debbugs.gnu.org Cc: Rutherther Received: via spool by 73118-submit@debbugs.gnu.org id=B73118.172622774831737 (code B ref 73118); Fri, 13 Sep 2024 11:43:03 +0000 Received: (at 73118) by debbugs.gnu.org; 13 Sep 2024 11:42:28 +0000 Received: from localhost ([127.0.0.1]:42612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp4h2-0008Fm-24 for submit@debbugs.gnu.org; Fri, 13 Sep 2024 07:42:28 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:26743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp4h0-0008FY-38 for 73118@debbugs.gnu.org; Fri, 13 Sep 2024 07:42:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1726227731; x=1726486931; bh=qA4hs0GthMdQ1Un2d95javi0kmnE+aYlZjcfQSkbXlU=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Aa1sH7chLN476jvs3NTAnripyrTOLV3jXvKUnpuyd7EvP8sBDTobw4sf6Tpu/2OAq uCRMMom1OAwYsR0aAO/AAed8bodDXgcf3rDDC6PIpPnee03AfaPcdzTlegIkz1J4dM e4r8HY9bm8A2VlxpI1+SDehkJ4ST0ts8ljeJtubkFVG6krVj3lVmQFh0o7MIdwWUfN 5pxaUlp/lFJ/jBH5omV+yshcKVrA0HxhtAAZ3zqHn86PndipT9nHIG8MQLjeivMjYp sVWGPrUucwn8B8emhKkvDMIe4BVnivUJDnGgH++QvVIlq1IGKxAsHvQwaZppB9L09v nar89AWLeswIA== Date: Fri, 13 Sep 2024 11:42:04 +0000 Message-ID: <9db92cc94fd199a5b640a30a1e62c5e2b023df66.1726227323.git.rutherther@protonmail.com> In-Reply-To: References: Feedback-ID: 8107604:user:proton X-Pm-Message-ID: 46a5523f9054c562a077edd9655659aec9950321 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Rutherther X-ACL-Warn: , Rutherther via Guix-patches From: Rutherther via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.99 X-Migadu-Queue-Id: 1A5D416AC9 X-Spam-Score: -6.99 X-TUID: juTcdVNj0kRi The libstdc++ made for arm-none-eabi puts the contents into "lib" folder, but that's unexpected when the resulting toolchain is a cross toolchain. The folder should be "arm-none-eabi/lib", that's the path added to CROSS_C_LIBRARY_PATH * gnu/packages/embedded.scm (make-libstdc++-arm-none-eabi): [arguments]<#:configure-flags>: Point --libdir to arm-none-eabi/lib. [arguments]<#:strip-directories>: Set to arm-none-eabi/lib. Change-Id: Ia8b867a1c6ebeedeae9564e0a6a1e0401b35bd5b --- gnu/packages/embedded.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index a7ba9ebe98..2a482f7e52 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -493,9 +493,14 @@ (define make-libstdc++-arm-none-eabi "--disable-tls" "--disable-plugin" "--with-newlib" + ,(string-append "--libdir=3D" + (assoc-ref %outputs "out") + "/arm-none-eabi/lib") ,(string-append "--with-gxx-include-dir=3D" (assoc-ref %outputs "out") - "/arm-none-eabi/include/c++"))))) + "/arm-none-eabi/include/c++"))) + ((#:strip-directories _ #f) + ''("arm-none-eabi/lib")))) (native-inputs `(("newlib" ,newlib) ("xgcc" ,xgcc) --=20 2.46.0