https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009
--- Comment #44 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Sandra Loosemore from comment #43) > I'm seeing the same errors as in Comment 8 (complaints about arrays with > negative sizes) when building a cross for aarch64-linux-gnu from mainline > head. I'm confused about the status of this issue -- is there an > uncommitted patch out there somewhere? Yes there is a missing patch for aarch64 with the later kernel header files.