From patchwork Sun Sep 8 07:48:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rutherther X-Patchwork-Id: 67755 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D94CB27BBEA; Sun, 8 Sep 2024 08:50:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9EB2B27BBE9 for ; Sun, 8 Sep 2024 08:50:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1snCgM-0001Ai-7E; Sun, 08 Sep 2024 03:50:02 -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-00019z-GM 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-0003Hw-6q 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=0BPE7hP58P7kTLjSzDF4o4AO2v8bh+TSeSQjgScrFUc=; b=siNRfe4Cq5Zt7y/E4q8KDPc9zWSJ+FQOYb+78/NWX0axHbYpx+Lbqo/KQ1Q1KlUyxsp0Sh8TtVNTD9cVxBFdhiNMzCCDdtc0z19vM9r0/J+hJp7Vindk8Y9FaiU527rTgRs0i3R4efjpcKHO6nxl9iEkgpyLoRVXa4exUqD0ltGEh56J3xrptbIJ0/Q//ckV3xHcbp+7X2dg4NjuOsjIQBHze2Z4tAjoAeIrXybBt02dXfvHkyFlPOAbECqMn0H8iVkzz9wRvBv6RUIOUgkiW4CNQlx8mw4GFKkLHimep2U2sBdipDgge4O4wKbq7CjB+G6DZTdgMiAyLxLta5/smg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1snCgM-0003yU-1a for guix-patches@gnu.org; Sun, 08 Sep 2024 03:50:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73118] [PATCH 1/5] Fix native-search-paths of arm-none-eabi toolchains 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.172578174815131 (code B ref 73118); Sun, 08 Sep 2024 07:50:02 +0000 Received: (at 73118) by debbugs.gnu.org; 8 Sep 2024 07:49:08 +0000 Received: from localhost ([127.0.0.1]:57930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snCfT-0003vz-Sa for submit@debbugs.gnu.org; Sun, 08 Sep 2024 03:49:08 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:51863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snCfR-0003vR-Q7 for 73118@debbugs.gnu.org; Sun, 08 Sep 2024 03:49:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725781738; x=1726040938; bh=0BPE7hP58P7kTLjSzDF4o4AO2v8bh+TSeSQjgScrFUc=; 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=l6BuvYh74015RT/eJ70VNhbNBi2A8M0/aQu7JUiSsrS2axsCJtp20Ch9AB+MqYLF0 1xE7BZnxZtT7PXK93Ca1ESdcHpvvLmvOqwKQeocNJwLHaQ/jXWQxb1Bm8B4qF+lTB2 1TO1GHJGIreYDaFtESkpj2TlwZnESz/IT1FKPVXQr2eBcSP5DIj+rotf30otEEXf7x 87RGKEya8M35hwEKcLXBvscCe7N3TZUy976mp4/QbTxG3f8B5ebqbLOxncWZbiA9rB Qm8Jz1719vG55qiJzKnfEey6kDIrPyDyTvQyEarZDfxgdyxEUS0czajenXdO/nnz8E /OaRk6NJIXV2Q== Date: Sun, 08 Sep 2024 07:48:52 +0000 Message-ID: <03f0f03a1455f8d398e3e8e2be9319662a6cfd05.1725779196.git.rutherther@protonmail.com> In-Reply-To: References: Feedback-ID: 8107604:user:proton X-Pm-Message-ID: 45ecbd98d54f4e8b999710879c26f544b951d1b4 MIME-Version: 1.0 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 X-Patchwork-Original-From: Rutherther via Guix-patches via From: Rutherther Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches The toolchains CROSS_CPLUS_INCLUDE_PATH had C include directory first, and the C++ as second. Since does #include_next , the toolchains could not build anything using . The C include has to come later than C++ one. This is already fixed in xgcc search-path. --- gnu/packages/embedded.scm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index bee65663b6..a7ba9ebe98 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -201,9 +201,9 @@ (define make-gcc-arm-none-eabi-4.9 (files '("arm-none-eabi/include"))) (search-path-specification (variable "CROSS_CPLUS_INCLUDE_PATH") - (files '("arm-none-eabi/include" - "arm-none-eabi/include/c++" - "arm-none-eabi/include/c++/arm-none-eabi"))) + (files '("arm-none-eabi/include/c++" + "arm-none-eabi/include/c++/arm-none-eabi" + "arm-none-eabi/include"))) (search-path-specification (variable "CROSS_LIBRARY_PATH") (files '("arm-none-eabi/lib"))))))))) @@ -423,9 +423,9 @@ (define make-gcc-arm-none-eabi-7-2018-q2-update (files '("arm-none-eabi/include"))) (search-path-specification (variable "CROSS_CPLUS_INCLUDE_PATH") - (files '("arm-none-eabi/include" - "arm-none-eabi/include/c++" - "arm-none-eabi/include/c++/arm-none-eabi"))) + (files '("arm-none-eabi/include/c++" + "arm-none-eabi/include/c++/arm-none-eabi" + "arm-none-eabi/include"))) (search-path-specification (variable "CROSS_LIBRARY_PATH") (files '("arm-none-eabi/lib")))))))))