https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100731
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GCC 11 fails to build using |[11/12 Regression] GCC 11 |GCC 4.8 because of missing |fails to build using GCC |includes |4.8 because of missing | |includes CC| |nathan at gcc dot gnu.org, | |rguenth at gcc dot gnu.org Target Milestone|--- |11.2 Priority|P3 |P2 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Since you can test a build with uclibc, can you possibly come up with a (minimal) patch to make the build work? It sounds like amending // OS #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> with #include <stdlib.h> should do the trick? Can you possibly post such patch to gcc-patc...@gcc.gnu.org stating how you tested it? Thanks.