This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/59009] libsanitizer merge from upstream r191666 breaks bootstrap on powerpc64-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59009

--- Comment #15 from dave.anglin at bell dot net ---
As of revision 204772, there are still problems on hppa-linux.

libtool: compile:  /home/dave/gnu/gcc/objdir/./gcc/xgcc -shared-libgcc  
-B/home/dave/gnu/gcc/objdir/./gcc -nostdinc++ -L/home/dave/gnu/gcc/ 
objdir/hppa-linux-gnu/libstdc++-v3/src -L/home/dave/gnu/gcc/objdir/ 
hppa-linux-gnu/libstdc++-v3/src/.libs -L/home/dave/gnu/gcc/objdir/hppa- 
linux-gnu/libstdc++-v3/libsupc++/.libs -B/home/dave/opt/gnu/gcc/ 
gcc-4.9/hppa-linux-gnu/bin/ -B/home/dave/opt/gnu/gcc/gcc-4.9/hppa- 
linux-gnu/lib/ -isystem /home/dave/opt/gnu/gcc/gcc-4.9/hppa-linux-gnu/ 
include -isystem /home/dave/opt/gnu/gcc/gcc-4.9/hppa-linux-gnu/sys- 
include -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS - 
D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I. -I../../../../gcc/ 
libsanitizer/sanitizer_common -I ../../../../gcc/libsanitizer/include - 
Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long  
-fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind- 
tables -fvisibility=hidden -Wno-variadic-macros -I../../libstdc++-v3/ 
include -I../../libstdc++-v3/include/hppa-linux-gnu -I../../../../gcc/ 
libsanitizer/../libstdc++-v3/libsupc++ -g -O2 -D_GNU_SOURCE -MT  
sanitizer_linux.lo -MD -MP -MF .deps/sanitizer_linux.Tpo - 
c ../../../../gcc/libsanitizer/sanitizer_common/sanitizer_linux.cc -o  
sanitizer_linux.o >/dev/null 2>&1
In file included from ../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:17:0:
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_internal_defs.h:247:72: error: size of array  
âassertion_failed__849â is negative
      typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int) 
(pred)-1]
                                                                         ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_internal_defs.h:241:30: note: in expansion of macro  
âIMPL_COMPILER_ASSERTâ
  #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
                               ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:849:1: note: in expansion of macro  
âCOMPILER_CHECKâ
  COMPILER_CHECK(sizeof(__sanitizer_sigaction) == sizeof(struct  
sigaction));
  ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_internal_defs.h:247:72: error: size of array  
âassertion_failed__852â is negative
      typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int) 
(pred)-1]
                                                                         ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_internal_defs.h:241:30: note: in expansion of macro  
âIMPL_COMPILER_ASSERTâ
  #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
                               ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:752:3: note: in expansion of macro  
âCOMPILER_CHECKâ
    COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER)  
==          \
    ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:852:1: note: in expansion of macro  
âCHECK_STRUCT_SIZE_AND_OFFSETâ
  CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_mask);
  ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_internal_defs.h:247:72: error: size of array  
âassertion_failed__853â is negative
      typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int) 
(pred)-1]
                                                                         ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_internal_defs.h:241:30: note: in expansion of macro  
âIMPL_COMPILER_ASSERTâ
  #define COMPILER_CHECK(pred) IMPL_COMPILER_ASSERT(pred, __LINE__)
                               ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:752:3: note: in expansion of macro  
âCOMPILER_CHECKâ
    COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER)  
==          \
    ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:853:1: note: in expansion of macro  
âCHECK_STRUCT_SIZE_AND_OFFSETâ
  CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_flags);
  ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:855:41: error: âstruct sigactionâ  
has no member named âsa_restorerâ
  CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_restorer);
                                          ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_internal_defs.h:247: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_posix.cc:750:3: note: in expansion of macro  
âCOMPILER_CHECKâ
    COMPILER_CHECK(sizeof(((struct __sanitizer_##CLASS *) NULL)- 
 >MEMBER) == \
    ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:855:1: note: in expansion of macro  
âCHECK_STRUCT_SIZE_AND_OFFSETâ
  CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_restorer);
  ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:855:41: error: âstruct sigactionâ  
has no member named âsa_restorerâ
  CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_restorer);
                                          ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_internal_defs.h:247: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_posix.cc:752:3: note: in expansion of macro  
âCOMPILER_CHECKâ
    COMPILER_CHECK(offsetof(struct __sanitizer_##CLASS, MEMBER)  
==          \
    ^
../../../../gcc/libsanitizer/sanitizer_common/ 
sanitizer_platform_limits_posix.cc:855:1: note: in expansion of macro  
âCHECK_STRUCT_SIZE_AND_OFFSETâ
  CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_restorer);
  ^
make[4]: *** [sanitizer_platform_limits_posix.lo] Error 1


--
John David Anglin    dave.anglin@bell.net

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]