https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009
Jiong Wang <jiwang at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jiwang at gcc dot gnu.org --- Comment #46 from Jiong Wang <jiwang at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #44) > (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. the bootstrap failure on aarch64 is caused by type mismatch. in libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h __kernel_old_uid_t should be unsigned int on aarch64, while it's defined as "unsigned short" thus triggered the assertion failure.