From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YOn8GPdEIWUqzAAA9RJhRA:P1 (envelope-from ) for ; Sat, 07 Oct 2023 13:45:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YOn8GPdEIWUqzAAA9RJhRA (envelope-from ) for ; Sat, 07 Oct 2023 13:45:59 +0200 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 D865E54911 for ; Sat, 7 Oct 2023 13:45:58 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=JnNJPxXj; dmarc=pass (policy=quarantine) header.from=vodafonemail.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696679159; 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=AV1Rur425nUV1GEZoUpv2Q1p4IMdzBhOI4ekZl7KPyY=; b=Rpio2J2t4SE6x/2UykkiY40kvfEfBJMLNRkAv0sSL2iwP0m0x/J52qTc/JZ6h06rbZ9sY5 +RyRBDccQv3rMRv0m+A9l84Eij/qZ1uLB+zbp+KYBzMysfpZWm2ve9Nh4fPC6IshFxKYTk 9cUuP6cRLIEEK0A/hgaqHwdzIvryttcppbGIMY7OLvh1tY4fpypi8NsZdCKrYaf+P0jlv7 cfexFEst5MRJz3VjpnRvnUr3X84/W12DA7GnWzmJRA4oKNtExVf9Rm2Z2xon6lkM0ERTcI q4OyAH8w700C8ktvecQb+BtUlKwOInw7sbE1D2VnB0wYdD8ntYUPJI3ssngaSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696679159; a=rsa-sha256; cv=none; b=DUkJd53WQnkL9ZhSszLTjM69apHbxSRLFq2skCGXW2QmwWs1mxhD72eGoBgI7TAF1ezLc+ xGVbRm6z+rc+vTVDgW+mdW8UesAIoXysZZkulKBX7ZWdebdLoUixYc084+63swOeYh1jjo VKDxwBMjDgLmBCqTRyQhX2QQY2kZkZBw156SQrZTI2NWhUKATEbhspQikCjRUoH8SEfHzN HEAb8JSVnEljeLHyF3t/zdIEu3MJGg6zqEuk4eKHqaDGe0RYnxGofPhun5Qcp4p0lOo+iO h8+RBe+AkTAmr9r22jPhlwdoMPvO/SBCASfI+z9Qgr2pYXebK2kDBjoKp/0cng== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=JnNJPxXj; dmarc=pass (policy=quarantine) header.from=vodafonemail.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qp5kN-0002xw-BU; Sat, 07 Oct 2023 07:45:27 -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 1qp5k7-0002tu-Ff for help-guix@gnu.org; Sat, 07 Oct 2023 07:45:11 -0400 Received: from mr5.vodafonemail.de ([145.253.228.165]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qp5k3-0007zL-BC for help-guix@gnu.org; Sat, 07 Oct 2023 07:45:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1696679100; bh=AV1Rur425nUV1GEZoUpv2Q1p4IMdzBhOI4ekZl7KPyY=; h=Message-ID:Date:User-Agent:To:Subject:Content-Language:From: Content-Type:From; b=JnNJPxXjN4NB12l+tSc+eE9WwgDC6xJhh3MD9HvXrENsRnWvRCPrhzA1AXMkdgI7r 9nww06xZzGlSnPNOVZMoqCg+jgR1E1lrJujk/MqaYcK2pPynUvMIxgErPm1TLW8DSi MJj5CL7S7bFTm3cKvl5jZZQV1AAIFUt+fezlDqts= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4S2k4D6L4Xz1yCS; Sat, 7 Oct 2023 11:45:00 +0000 (UTC) Received: from [10.11.12.146] (aftr-62-216-207-116.dynamic.mnet-online.de [62.216.207.116]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4S2k453j1yz9sZr; Sat, 7 Oct 2023 11:44:50 +0000 (UTC) Message-ID: <491d386b-2a6e-f33e-e4ea-1885702c4d5d@vodafonemail.de> Date: Sat, 7 Oct 2023 13:44:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 To: ekaitz@elenq.tech, help-guix@gnu.org Subject: arm-none-eabi-toolchain: stdlib.h not found Content-Language: en-US From: Stefan Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-purgate-type: clean X-purgate: clean X-purgate-size: 1043 X-purgate-ID: 155817::1696679096-D37ED7FF-6D8A63A8/0/0 Received-SPF: pass client-ip=145.253.228.165; envelope-from=stefan-guix@vodafonemail.de; helo=mr5.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -9.50 X-Spam-Score: -9.50 X-Migadu-Queue-Id: D865E54911 X-TUID: 0KurEp37irPW Hi Ekaitz! I tried to reproduce your problem, and indeed it produces the same error you are encountering. $ guix shell arm-none-eabi-toolchain [env]$ ls a.c [env]$ cat a.c #include void operator delete(void* p) {std::free(p);} int main() {return 0;} [env]$ arm-none-eabi-g++ -x c++ a.c In file included from a.c:1:0: /gnu/store/6bq6svar4b2mkp2k3laxqqs1nsxykrvf-profile/arm-none-eabi/include/c++/cstdlib:75:15: fatal error: stdlib.h: No such file or directory #include_next ^~~~~~~~~~ compilation terminated. Then I tried it with my self build toolchain gcc12-cross-newlib-arm-none-eabi-toolchain-12.2.0¹, which works as expected: $ arm-none-eabi-g++ -x c++ -c a.c $ ls a.c a.o $ arm-none-eabi-g++ -x c++ a.c -lg -lrdpmon $ ls a.c a.o a.out $ file a.out a.out: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, with debug_info, not stripped Bye Stefan ¹ https://lists.gnu.org/archive/html/guix-devel/2023-10/msg00014.html