http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009
--- Comment #22 from John David Anglin <danglin at gcc dot gnu.org> --- New errors have have appeared on hppa-linux: In file included from ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_pl atform_limits_linux.cc:40:0: /usr/include/hppa-linux-gnu/asm/stat.h:15:2: error: ‘time_t’ does not name a typ e time_t st_atime; ^ /usr/include/hppa-linux-gnu/asm/stat.h:17:2: error: ‘time_t’ does not name a typ e time_t st_mtime; ^ /usr/include/hppa-linux-gnu/asm/stat.h:19:2: error: ‘time_t’ does not name a type time_t st_ctime; ^ /usr/include/hppa-linux-gnu/asm/stat.h:50:2: error: ‘time_t’ does not name a type time_t st_atime; ^ /usr/include/hppa-linux-gnu/asm/stat.h:52:2: error: ‘time_t’ does not name a type time_t st_mtime; ^ /usr/include/hppa-linux-gnu/asm/stat.h:54:2: error: ‘time_t’ does not name a type time_t st_ctime; ^ In file included from ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:20:0: ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:66:16: error: ‘struct___old_kernel_stat_sz’ was not declared in this scope COMPILER_CHECK(struct___old_kernel_stat_sz == sizeof(struct __old_kernel_stat)); ^ ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:257:65: note: in definition of macro ‘IMPL_COMPILER_ASSERT’ typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^ ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:66:1: note: in expansion of macro ‘COMPILER_CHECK’ COMPILER_CHECK(struct___old_kernel_stat_sz == sizeof(struct __old_kernel_stat)); ^ ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:66:78: error: invalid application of ‘sizeof’ to incomplete type ‘__old_kernel_stat’ COMPILER_CHECK(struct___old_kernel_stat_sz == sizeof(struct __old_kernel_stat)); ^ ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:257:65: note: in definition of macro ‘IMPL_COMPILER_ASSERT’ typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^ ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:66:1: note: in expansion of macro ‘COMPILER_CHECK’ COMPILER_CHECK(struct___old_kernel_stat_sz == sizeof(struct __old_kernel_stat)); ^ ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:69:16: error: ‘struct_kernel_stat_sz’ was not declared in this scope COMPILER_CHECK(struct_kernel_stat_sz == sizeof(struct stat)); ^ ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_internal_defs.h:257:65: note: in definition of macro ‘IMPL_COMPILER_ASSERT’ typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] ^ ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc:69:1: note: in expansion of macro ‘COMPILER_CHECK’ COMPILER_CHECK(struct_kernel_stat_sz == sizeof(struct stat)); ^ make[4]: *** [sanitizer_platform_limits_linux.lo] Error 1 The time_t error is from a kernel header.