From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0NbsB4uB22ZtAAAA62LTzQ:P1 (envelope-from ) for ; Fri, 06 Sep 2024 22:26:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0NbsB4uB22ZtAAAA62LTzQ (envelope-from ) for ; Sat, 07 Sep 2024 00:26:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=UUqtYJz4; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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=1725661578; 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=EFiSlHqwceqmK+ZsI+jPW7zwKki27xGxHIuHzj6trYk=; b=aH492zKv1teRhQhSottekAe//XdL4zbosF4jw27oxmpiVD5/TxaL6YvD3GdVBucOJyz/zP 4xwM3z+oib6CYVRKkGDnGf0RCVRD3Ry/Kyl6GZrJOvQYVlNwaPhBO3VsuRsv5NpVifY8oX c2ncAYN6jllT202zeY+uFV+My4UzMfbHY1LTki5StaLdhTr2UBKL8lPLR0sTLVDu1O39md UEymH8OzV3hLFcdkFRw5QVcNL8fyIriM7TUHXGKcSqz+9GPEXd3w75Xhjm1LDpOCD1ZA0y WVTTAHq+DAOxeTCCzF7lbDx6QsL81Kq7RqXrbWwy/8K9VsgKz95fbcyp+C/iwg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725661578; a=rsa-sha256; cv=none; b=b6aaNS6R9RbauPD7WXdYNRSElCQE6ZLRRpk2n1zgRZxJ09v6wyYhcq0uDQOt5bokepqyVy YAYODZTAMqS9iUfvL7KPC+6yGseWsuct1ptOyNwnWpgoIwjl4tFpXazTsYU/A7dLWp7Plr vsYehRsZiTq4055PM1nZde7kbf6k6eqwd9+13OwqTLieb5jkE8ToKIp+auVy31p4T+8Rgc 8n2mVHnNm5Iira3CnMC6bjtH2qU6E5XSPOlwKhAax15UDlz4usUVHR+qE6DXVjnAM58O2P MJE17KoN4xfFCh2TRf4nNv7cfLg8GpxXeUS1xiC0LJhgPfVls6OXQIH4WwBnHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=UUqtYJz4; dmarc=pass (policy=quarantine) header.from=protonmail.com; 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 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 371CB18A6F for ; Sat, 7 Sep 2024 00:26:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smhOt-00078k-OA; Fri, 06 Sep 2024 18:25:55 -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 1smgYv-00053a-57 for help-guix@gnu.org; Fri, 06 Sep 2024 17:32:13 -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 1smgYt-0006hF-7P for help-guix@gnu.org; Fri, 06 Sep 2024 17:32:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1725658328; x=1725917528; bh=EFiSlHqwceqmK+ZsI+jPW7zwKki27xGxHIuHzj6trYk=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=UUqtYJz4f1VboOemKKtTrEQE0VuYda81Jf77OF1mRBrm6qRFFSdDf/ZzyqWWZtn7Y +ecif7AUl73DeAvq0DiDOOesBCUx0ZT85sPP2sqc1VMZ+Mxfmf19WOVvuW9cX21RgF 5frfkY40WuZnHOoLZDgQUxrdobN1wUdPqVeBvUJrRHMa6c1d5FmsSpu6o2G5gfpVZR AT8jg5M2ZotAdWf+sOJaEU0mqZOqeGY+ElHKpotyH4OMyRcDZ/kpf59o7gfLhj8tTL Z4VJGUAC1feNMUnbSsjdNjrBeb3En+cIvxFhb80mkrLq0k6K6nv7u0DVoH5WpZHAkV KUxw5b1rJHf1A== Date: Fri, 06 Sep 2024 21:32:03 +0000 To: ekaitz@elenq.tech, help-guix@gnu.org From: Rutherther Subject: Re: arm-none-eabi-toolchain: stdlib.h not found Message-ID: <871q1wo4dq.fsf@protonmail.com> Feedback-ID: 8107604:user:proton X-Pm-Message-ID: a0b877c107f778c772bad1737bdfb314dd73c34d 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: Fri, 06 Sep 2024 18:25:54 -0400 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-Queue-Id: 371CB18A6F X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.88 X-Spam-Score: -8.88 X-TUID: aqsGv1qB0Oj9 Hello Ekaitz, the issue here is that the CROSS_CPLUS_INCLUDE_PATH contains the C include path first, but cstdlib is using #include_next "stdlib.h". Since stdlib.h is previous to cstdlib in include paths, stdlib.h is not found as "next". As a workaround, change the order in this variable. Another issue you might have is the libstdc++ not being linked properly, that might be because currently it outputs to /lib inside of package output instead of arm-none-eabi/lib. You might try adding the $GUIX_ENVIRON= MENT/lib into your CROSS_LIBRARY_PATH as a workaround. Regards, Rutherther