[Bug 283917] libc failes to include stdint.h with clang>16 and -ffreestanding
Date: Thu, 09 Jan 2025 00:52:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283917 --- 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 when 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. -- You are receiving this mail because: You are the assignee for the bug.