From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gIk9E0tX3WZ44gAA62LTzQ:P1 (envelope-from ) for ; Sun, 08 Sep 2024 07:50:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id gIk9E0tX3WZ44gAA62LTzQ (envelope-from ) for ; Sun, 08 Sep 2024 09:50:35 +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=r24TLurY; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=ng9xA4+G; 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=1725781835; 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=dqliHXTh1RC0/ToTR9dyiGqVysB9C8GFHqq3l7XV/Ak=; b=kvLsF2+F6hvW5t7jtf1Gn1hxHuRp8RTH1YGC1IXjIyfhzNIeG9bBDIWGHpalmU8oGtIR5h RjDcvgZqTiwwVeez3SMrmq92DQ1NxhFxCLzQLSgOXoKvSkT5wbSOqcGCJXGaaMkyyWkZuD zAYnrKm4PbhEdXlCLkA9HdRfDL6t/yZYqW4noJcgDJ4Ir/HuCQOMVRQBbaLgf5vSwZ/vZy tF5qZmUgg91lT2AySMarqja5Zeb0FQ/LxXK+s07OqpZsvQVx6P2S8GJdGG9QGlfmXEhP7O 1dea4Nakiaxf2NG8B8jIxk/fb4nfWFrHOaut88xJWEAcTq/t3L48gdJmuZCiDA== 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=r24TLurY; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=ng9xA4+G; 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-Seal: i=1; s=key1; d=yhetil.org; t=1725781835; a=rsa-sha256; cv=none; b=gquuqQ5FLVeJGuA7qAQJh1fmDTO4rzlc0mjHAnzTnYOXmrQYZynliCK2tI9k92fLscE6io O3x9org1BkCANnt2YNnW8x1ZqfHtn/TV6KWzTZ1DsS7ziAjakZ+iRU/Ej4ZWhYZZdqB69j Ao972cRUOdIBniEXU6EELPguT5RmxK1u2RqeNr6/qHm7bHrxWyPhVwmSM+SozKI9jAF4rA JAWsJ0VJxSNhUBvqFRNGq5CYXcVangAvlgasZLplMZ1+MM7cGTN8GrxxZDAVFkJXNb1ErC tNsOFF4y89ZsqI/zomkaHHXVXswiIJXdx5K2RTANoj2scDn9j4iC8w5aQ/i2UQ== 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 2F895AB56 for ; Sun, 08 Sep 2024 09:50:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snCgO-0001BT-AP; Sun, 08 Sep 2024 03:50:04 -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 1snCgK-0001A7-Ub for guix-patches@gnu.org; Sun, 08 Sep 2024 03:50:00 -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 1snCgK-0003I2-L0 for guix-patches@gnu.org; Sun, 08 Sep 2024 03:50:00 -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=dqliHXTh1RC0/ToTR9dyiGqVysB9C8GFHqq3l7XV/Ak=; b=r24TLurYmW6do5KEz99fPf1eBBDCSEoWWycmoHsHf3eL5GX12tfZYO85hR6G7xl4q/DNL2EM3LsLUkqiHgpYgudVU2vtUwhW3bBiryhKlc8uK8tpep8KMfLRlBG9/KKld7TkSzP22to0yACWmOk2BDQS/ViruY//HXmMkqliXIDS3oj8weNMuYi+ZdKTbO/vXv6w21lz6LZT2QnljnrVKhFqR9+7u7tt6cFlE0hOyIoGtqmceMtZ5EnMC6AdMDvjpEo47aNr7v5klDeTw/s1T4NhbHj644NsEH3ju3NT3Kltj+14++rmHxeZMK9C+XfvLFZwv3bW2JiSGr0wpAvlBg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snCgM-0003yd-Ec for guix-patches@gnu.org; Sun, 08 Sep 2024 03:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73118] [PATCH 2/5] Fix lib directory of arm-none-eabi libstdc++ Resent-From: Rutherther Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Sep 2024 07:50:02 +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.172578175515151 (code B ref 73118); Sun, 08 Sep 2024 07:50:02 +0000 Received: (at 73118) by debbugs.gnu.org; 8 Sep 2024 07:49:15 +0000 Received: from localhost ([127.0.0.1]:57934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snCfb-0003wI-7B for submit@debbugs.gnu.org; Sun, 08 Sep 2024 03:49:15 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:40647) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snCfZ-0003vw-5e for 73118@debbugs.gnu.org; Sun, 08 Sep 2024 03:49:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725781744; x=1726040944; bh=dqliHXTh1RC0/ToTR9dyiGqVysB9C8GFHqq3l7XV/Ak=; 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=ng9xA4+Gd9d1vvU7h3aDHUotpwOLSAk4UI3A/GxCGOK0n+acj0SeMaFWSnctu5xnr RT37DoEm3oyLnFdeKZXTnAyqwUpLMlfT0VyfrRXogBUiAH1rnmf1BIP3aIrTs75B7r lpV3uC19hECLNqIYkH8hOQZeFSABNAVcfoMEYKKJVwWtuRQVWfZzvSZaV0tS4ey53g aYn6wRd5B+g3kHxLEv3+A0PyKXj/FZOx+BLiH42sNpMOCDL8kzX2NqSaU2JQsCUtlM Rv4B2c14aDtIBc1j2bAFxKDtsNLpMZbu9FJIv279OCd4S0gdeEZU/IpG28BB+/XfJT G/hgYuvtCrl9Q== Date: Sun, 08 Sep 2024 07:49:02 +0000 Message-ID: <6ede3b4f8ec273dc19e34f9e6d5942cf80b3c091.1725779196.git.rutherther@protonmail.com> In-Reply-To: References: Feedback-ID: 8107604:user:proton X-Pm-Message-ID: 44371c54b5dbd0c949ca8238933523949bd45f44 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 2F895AB56 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.99 X-Spam-Score: -6.99 X-TUID: VwkRhZYQk7se 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" --- gnu/packages/embedded.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index a7ba9ebe98..59ffd9a661 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -481,6 +481,8 @@ (define make-libstdc++-arm-none-eabi (package (inherit libstdc++) (name "libstdc++-arm-none-eabi") + ; TODO When --libdir is specified, debug output is not produced. + (outputs '("out")) (arguments (substitute-keyword-arguments (package-arguments libstdc++) ((#:configure-flags _) @@ -493,6 +495,9 @@ (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++"))))) --=20 2.45.2