https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91349
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Alan Modra from comment #1) > Huh, it looks like I missed adding the following to freebsd64.h: > > #undef CPLUSPLUS_CPP_SPEC > #undef LINK_GCC_C_SEQUENCE_SPEC Which of course only works if those are only set by gnu-user.h and are never used for something else that freebsd.h and freebsd64.h *do* want. Wouldn't it have been cleaner to split gnu_user.h into the non-GNU parts (that you want for powerpc) and the GNU parts (only relevant to actual GNU userspace targets) and so not include gnu_user.h on irrelevant targets? The current solution seems klugy and fragile.