https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69881
--- Comment #9 from Bernd Edlinger <bernd.edlinger at hotmail dot de> --- right now I am trying to boot-strap this: Index: c/cstddef =================================================================== --- c/cstddef (revision 233581) +++ c/cstddef (working copy) @@ -31,10 +31,11 @@ #pragma GCC system_header -#define __need_size_t -#define __need_ptrdiff_t -#define __need_NULL -#define __need_offsetof +#undef __need_wchar_t +#undef __need_size_t +#undef __need_ptrdiff_t +#undef __need_NULL +#undef __need_wint_t #include_next <stddef.h> #endif Index: c_global/cstddef =================================================================== --- c_global/cstddef (revision 233581) +++ c_global/cstddef (working copy) @@ -41,6 +41,11 @@ #pragma GCC system_header +#undef __need_wchar_t +#undef __need_size_t +#undef __need_ptrdiff_t +#undef __need_NULL +#undef __need_wint_t #include <bits/c++config.h> #include <stddef.h> Index: c_std/cstddef =================================================================== --- c_std/cstddef (revision 233581) +++ c_std/cstddef (working copy) @@ -41,6 +41,11 @@ #pragma GCC system_header +#undef __need_wchar_t +#undef __need_size_t +#undef __need_ptrdiff_t +#undef __need_NULL +#undef __need_wint_t #include <bits/c++config.h> #include <stddef.h>