From nobody Sat May 27 07:30:05 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QStjd2NCRz4Wfcn for ; Sat, 27 May 2023 07:30:13 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (mail.yourbox.net [IPv6:2001:41d0:1:767d::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.yourbox.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QStjc4ysFz3Cm3; Sat, 27 May 2023 07:30:12 +0000 (UTC) (envelope-from fbl@aoek.com) Authentication-Results: mx1.freebsd.org; none Received: from mail.yourbox.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by mail.yourbox.net (8.17.1/8.17.1) with ESMTP id 34R7UAs3089075; Sat, 27 May 2023 09:30:10 +0200 (CEST) (envelope-from fbl@aoek.com) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=aoek.com; s=mailbox; t=1685172610; bh=OduMDRbkvHyX32BjCJHbHtY4AR5nXSVan+xIcDdByOU=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=XTGAxXe/9UDughm7EVFSGkK2HhQ1cM2pC/bV/OrG54NiCJ2musM/F2OXQFVFCvuHU QEgciXNotX0FqS66Sgi++J42aI3d2HhD2NcuBJb/XN7SsBdmp2M4xDLHV8wBp/+FAR 4xzAsRGJQmlPX5Of2+oIQK2Fx7mU2imcjMWDSFXoMydda7/eIcHLE/UDhWUWws6wjV kIUO02drgmOGAvgaNHBjOePghZt78r6LimweVfEUj7ieY7ME93a3BWBowST34hwS2Y NUfAEKLNd71OEiT1qMzpmeoOKA0mb3DF2ZZVRSrDkHNFaXBJ4TP2R6xYjWGUTPj37H v6Mujk9AkFxXg== List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sat, 27 May 2023 09:30:05 +0200 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= To: Mark Millard Cc: freebsd-arm , kevans@freebsd.org Subject: Re: devel/arm-none-eabi-newlib headers inconsistencies (not functional) or am I misusing something? In-Reply-To: <2EC67293-B961-4A1C-A658-E486E5663B39@yahoo.com> References: <2EC67293-B961-4A1C-A658-E486E5663B39.ref@yahoo.com> <2EC67293-B961-4A1C-A658-E486E5663B39@yahoo.com> Message-ID: X-Sender: fbl@aoek.com User-Agent: Roundcube Webmail/1.2.0 X-Rspamd-Queue-Id: 4QStjc4ysFz3Cm3 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N El 2023-05-26 21:32, Mark Millard escribió: > José_Pérez wrote on > Date: Fri, 26 May 2023 16:53:15 UTC : > >> a source as simple as this does not compile with >> devel/arm-none-eabi-newlib installed ... > > Looks like you did nothing to tell arm-none-eabi-gcc > to use arm-none-eabi-newlib materials . It will not > do so automatically from what I can tell. It does so automatically, in fact the directories where devel/arm-none-eabi-newlib stores headers is in the search path of arm-none-eabi-gcc: % arm-none-eabi-gcc -xc -E -v - Using built-in specs. ... #include "..." search starts here: #include <...> search starts here: /usr/local/lib/gcc/arm-none-eabi/11.3.0/include /usr/local/lib/gcc/arm-none-eabi/11.3.0/include-fixed /usr/local/lib/gcc/arm-none-eabi/11.3.0/../../../../arm-none-eabi/include /usr/include End of search list. In particular /usr/local/lib/gcc/arm-none-eabi/11.3.0/../../../../arm-none-eabi/include is /usr/local/arm-none-eabi/include which is where devel/arm-none-eabi-newlib stores headers. The problem, as outlined in my first message, is that the header files appears not to be coherent with themselves and I think they need to be fixed somehow. I am calling for hints on how to fix them. BR, -- José Pérez