This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/59009] libsanitizer merge from upstream r191666 breaks bootstrap on powerpc64-linux
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 08 Dec 2013 17:13:55 +0000
- Subject: [Bug sanitizer/59009] libsanitizer merge from upstream r191666 breaks bootstrap on powerpc64-linux
- Auto-submitted: auto-generated
- References: <bug-59009-4 at http dot gcc dot gnu dot org/bugzilla/>
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.