Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Jan 2025 00:52:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 283917] libc failes to include stdint.h with clang>16 and -ffreestanding
Message-ID:  <bug-283917-99-3UIBPU1DDs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-283917-99@https.bugs.freebsd.org/bugzilla/>
References:  <bug-283917-99@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283917

--- Comment #3 from Konstantin Belousov <kib@FreeBSD.org> ---
What do you propose to reconsider?  The project goals?  The project aims to
provide the environment for executing unix programs, which are hosted by C =
std
definition.

That said, you do get the clang' project idea of freestanding environment w=
hen
you specify -ffreestanding.  But your 'trivial code' is not trivial, it uses
a lot of facilities from the FreeBSD hosted environment which surprisingly =
to
you do not mix with the clang' freestanding implementation.   Either use
only clang freestanding bits, or use only FreeBSD hosted env.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283917-99-3UIBPU1DDs>