From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6EPuHNkJ3GZnagAAqHPOHw:P1 (envelope-from ) for ; Sat, 07 Sep 2024 08:07:53 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6EPuHNkJ3GZnagAAqHPOHw (envelope-from ) for ; Sat, 07 Sep 2024 10:07:53 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=vTJlG1WM; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725696473; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=WZ7JFSKTQ0Sj5XPZUd4fqQKUVuUxgnGUW87G0zrIPvc=; b=MYHFyhfvkn09aMjCKJvkndl6jjUywSOK75UBcY1N3/rKgjNPhn4hb2Pelu+vJEghXWL04m dmgqY78CpZHrlPvxcbynu5fAT5TZMjA7PwaU9r3cgFBD2L8WrmHYLLxc3wSmK32MSzO6Mu kLicEO6RkXjHKUXVtytsdD0SXyEdpgDKAJmbR8te6AxtGh1TEjSGvJe6lMY/jCMF1jveML LApQ9J45lQ2lz2O/PTiQVwAIJyIOXOxSrgguiFlocsvv470VMT/dmA/bN/wG5fnAhSOuIW f4Wakutk1gNulUYbNtTApPtvaEv0aCkvDI1GSw89tk0R/isjJdcrcRT+japv8A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=vTJlG1WM; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=protonmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725696473; a=rsa-sha256; cv=none; b=I872m/pIHzuU9Sa/ROfwREem8F5z2s0OnD5BTjjGmz1FOPKIHih/6zMAwKZA+dpjZw4uRS skJzItIpG+MeGdgL8uSDXriYF2SRoXl5rI/8QL/qqACrJ62mF8bMF2Sc/B8xqC6VMftgrE KjdGaEXwVm7vH0jOkPUUNVboWaw4nHFuMQkmM3QGBrDnEr4qA2LWLzpTPFrhwboikMV9T/ uK3CFoqm2cu0NnBb8IiJ0wUYMcAk3k7viIo/EfnV13YPgo2DH76l2WfBDt5bhTcf7xBOA2 3f4qz9pfQYV9HursqpAe6RpuGdxUHi+ajsfFIbMQW8NFqIYKDiG3/XlEdiqDgg== 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 6155C77A56 for ; Sat, 07 Sep 2024 10:07:53 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smqTV-0003lY-KU; Sat, 07 Sep 2024 04:07:17 -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 1smbPS-0007PF-Iy for guix-devel@gnu.org; Fri, 06 Sep 2024 12:02:11 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1smbPP-00013n-Sv for guix-devel@gnu.org; Fri, 06 Sep 2024 12:02:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725638517; x=1725897717; bh=WZ7JFSKTQ0Sj5XPZUd4fqQKUVuUxgnGUW87G0zrIPvc=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=vTJlG1WMehKceyMQEn95Kbj9QjIIY/dj92sdXw++yyqe8cB0xbBXZ+D2rMN+vp5OJ iCr8hfHqzGghzsaaNgY9Wt4UY5pDXyrScmVjfZr8zOPz4lfec7e71vjMHttt9jdza0 UskuoZLDF4O9RLpP4GvLZOdAGzM0ThjHpuT9piGcehln1GfA0Hl4dWvUKs9i81PM3Q YpdzsPWZeqiLSIciud65JcagwM3X7wMdaOHfNdIhp6hclg5n7AvPtAHnvUSyl4E80S uHHMOTdZZevOBttxudrBg/7XdSKC5v2OaMNyMs17H+BB7UiLJ78p9wkjSfKvQX8Ivw 1RlGcszIGVmDQ== Date: Fri, 06 Sep 2024 16:01:54 +0000 To: attila@lendvai.name From: Rutherther Cc: guix-devel@gnu.org Subject: arm-none-eabi toolchain and compiling C++ stuff Message-ID: <87v7z8zs7l.fsf@protonmail.com> Feedback-ID: 8107604:user:proton X-Pm-Message-ID: e9be44b90ab55b382bac92ff521402277e3b502f MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=rutherther@protonmail.com; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 07 Sep 2024 04:07:15 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.88 X-Migadu-Queue-Id: 6155C77A56 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.88 X-TUID: cM7aScUP9O1Z Hello Attila, lately I've been trying to make arm-none-eabi toolchain with gcc 12.3, since the older ones cannot be used with QMK. I also stumbled accross this issue. The issue is actually caused by wrong order of paths in "CROSS_CPLUS_INCLUDE_PATH". The C include path has to come after the C++ pa= th. So as a workaround, remove the /include from beginning of this, and append it instead as last. Apart from that you will probably have an issue with linking against the libstdc++, since it's inside of "lib" folder instead or "arm-none-eabi/lib" that is in CROSS_LIBRARY_PATH. As a workaround, just add "$GUIX_ENVIRONMENT/lib" to "CROSS_LIBRARY_PATH". I will try to submit the 12.3 patch soon. In the mean time I have it inside of my own channel https://github.com/Rutherther/guix-exprs/blob/main= /ruther/packages/embedded.scm Redards, Rutherther