https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87231
Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tschwinge at gcc dot gnu.org
--- Comment #4 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Created attachment 64933
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=64933&action=edit
OpenBSD: Use GCC's own include files [PR87231]
Getting GCC to build on cfarm220, I ran into the same issue:
../../../source-gcc/libatomic/fence.c:27:10: fatal error: stdatomic.h: No
such file or directory
27 | #include <stdatomic.h>
| ^~~~~~~~~~~~~
../../../source-gcc/libatomic/flag.c:27:10: fatal error: stdatomic.h: No
such file or directory
27 | #include <stdatomic.h>
| ^~~~~~~~~~~~~
I'm attaching a patch, but I'm not going to formally propose/submit this, as
there are way more issues down the line.