From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GDYNGMpOg2XjEwAAkFu2QA (envelope-from ) for ; Wed, 20 Dec 2023 21:30:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MOd7EspOg2VbOwAAe85BDQ (envelope-from ) for ; Wed, 20 Dec 2023 21:30:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=OyGu9Fo8; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703104202; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=SpOXZna57zOSYPawawnTJxNBuiw18BpR9fbiaM3J1uY=; b=KntF3lZHa1o92Fk5/xE6DbHfujaJiEeoadu9wj1DF0iSQKOpBQoajg+ooQG8Mo6EqY+tc8 ItkOnyz4+g/o87hLIlFYlV15mE6MW864TQX5lGBRLUHaumn0jWLW5tqZbQcfuyZczKRkKI zVZQ70pwh8DtoNrulHSRaEfqEM978D6qC787YUV60isgwR/YKPd2cDxjwQ21bnBDLLWen5 stTbM54ZkdPhiStDBbU+oTpMd+oZDifSrYmcW/6g8YMHy93mCwW2uizKmjhcYk24E6/bGh qucVBXNKKGS/qVVQlGq2rE9ydXj1qNfo+8P1Vw+LEMahgG279DRCbAyJ80owhg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=OyGu9Fo8; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703104202; a=rsa-sha256; cv=none; b=JqA07krcuYKZh23/MM2lI+R4z+aeOgcOyGaJ5ejOZszJaHej7zO0EBx2LQjPXaj7VW1ugc 0nDEXY6G3jb/FVQ56ss8XYqvC9UyDEDnbbNfsPkGfoRBIxUNuD7PCMkiHhuJzk8zJe6j+Y c14Vf1ok1MVAVqa6VuH4SIMoz67qXJ8p9AUKWLjAkO6mSQIxR0XUkJN8Gj1cASl7yOtz3d R5UkUh6vQ3bVcNzfm1cKQxk3NVU2FiVV+PiDhM2viYGSrVtaHDOOoMjcN6hDFuYrl6c0P/ iLeXF9JY8361OKKDLNaPIDIZt/5Ych0DWe70pvNkwmo2cvvBCo6Zh0sfUISWUQ== 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 0BCBD559BD for ; Wed, 20 Dec 2023 21:30:01 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rG3C6-0005aA-0p; Wed, 20 Dec 2023 15:29:30 -0500 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 1rG3C1-0005Zr-KV for guix-devel@gnu.org; Wed, 20 Dec 2023 15:29:26 -0500 Received: from mail-40136.proton.ch ([185.70.40.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rG3Bx-00082T-Kg for guix-devel@gnu.org; Wed, 20 Dec 2023 15:29:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1703104149; x=1703363349; bh=SpOXZna57zOSYPawawnTJxNBuiw18BpR9fbiaM3J1uY=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=OyGu9Fo8OolemSyCB9iBP0OsKRaPSkVphJPVJmSZGjM1YylfaYw5Ktzcu02CpvDSE tHR5eWFeU/aJ9bSxMJi4mweTFVNgVsMUzvaphC7yzx20kzuZwfTnoaB9wZ5dwFXS24 XoTZr0w7ca1+QdRLowqT1ksM4VSJgsa+XNSB4hElvOZsPvKW6vRMZsK3l4TT+7elRr jlzmvehhQ+aoz/E3Ba4UHAlp7elzUScei44t59X9V1PiJBNUeLCnrM5DXVTVolsyd+ GFOtcge9kpLp8vzJ5I/lv+B5KA4n5XhA5w8JP5wjsCOVv5u3n5/EuxIFxHlH2cLsw3 uKWTMogpWfVmg== Date: Wed, 20 Dec 2023 20:28:52 +0000 To: guix-devel From: Attila Lendvai Subject: arm-none-eabi toolchain and compiling C++ stuff Message-ID: Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=attila@lendvai.name; helo=mail-40136.proton.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, RCVD_IN_MSPIKE_H5=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-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-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.39 X-Spam-Score: -5.39 X-Migadu-Queue-Id: 0BCBD559BD X-TUID: Id1BZd9Jmq1u dear Guix, i'm trying to compile something to a raspberry rp2040 microcontroller (http= s://codeberg.org/Riku_V/pico-serprog). $ guix shell gcc-toolchain cmake make pkg-config -e "((@ (gnu packages embe= dded) make-arm-none-eabi-toolchain-7-2018-q2-update))" $ cd _deps $ git clone https://github.com/raspberrypi/pico-sdk.git pico_sdk-src $ cd .. $ cmake . $ make so far, so good. it compiles for a while, but then it fails with: [ 14%] Building CXX object CMakeFiles/pico_serprog.dir/_deps/pico_sdk-src/s= rc/rp2_common/pico_standard_link/new_delete.cpp.obj In file included from pico-serprog/_deps/pico_sdk-src/src/rp2_common/pico_s= tandard_link/new_delete.cpp:11:0: /gnu/store/7i9fw82x6hljy6sb4g10v2dl53l7pybl-profile/arm-none-eabi/include/c= ++/cstdlib:75:25: fatal error: stdlib.h: No such file or directory #include_next if i read this right, it tries to cross compile some C++ stuff, but a heade= r file is missing. $ guix locate stdlib.h [...] gcc-toolchain@13.2.0 /gnu/store/dpfxpfyghkc19wz8jwaw31llhnvn8ngx-gcc-toolch= ain-13.2.0/include/stdlib.h gcc-toolchain@11.3.0 /gnu/store/5vn4pkf70ql7v1svrfknfkfsh4m3737h-gcc-toolch= ain-11.3.0/include/stdlib.h clang-toolchain@15.0.7 /gnu/store/6m5gi7l7bi93gnzm2j422q9wawq3p6al-clang-to= olchain-15.0.7/include/stdlib.h [...] i.e. it's usually part of the gcc-toolchain package... but it's not part of= the cross-compiling ones? is that a bug in (gnu packages embedded)? shall i look into fixing it? or am i the one who has invalid expectations? --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CIf money is your hope for independence you will never have it. The= only real security that a man will have in this world is a reserve of know= ledge, experience, and ability.=E2=80=9D =09=E2=80=94 Henry Ford (1863=E2=80=931947)