[Bug 283917] libc failes to include stdint.h with clang>16 and -ffreestanding
Date: Wed, 08 Jan 2025 13:01:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283917 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- FreeBSD libc is by definition a provider of ANSI C/POSIX library interfaces for the hosted environment. It cannot work this way. If you want to use -ffreestanding, you at least must disallow use of the standard system compilation environment (includes etc), perhaps by using the -nostdinc option, at least. -- You are receiving this mail because: You are the assignee for the bug.