On Wed, Nov 13, 2013 at 11:25:06AM -0600, Peter Bergner wrote:
> On Wed, 2013-11-13 at 00:49 +0100, Jakub Jelinek wrote:
> > 2013-11-12 Jakub Jelinek <[email protected]>
> >
> > * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
> > ifdef out almost the whole source.
> > * sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
>
> That helps, but as Pat reported in the bugzilla, it still is failing.
> With the following patch, we can now bootstrap on powerpc64-linux.
>
> Is this ok for trunk?
>
> Does this help the other architectures that are failing for the same
> build error?
Ok, thanks.
> PR sanitizer/59009
> * sanitizer_common/sanitizer_platform_limits_posix.cc: Temporarily
> ifdef out more source.
>
> Index: libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
> ===================================================================
> --- libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
> (revision 204747)
> +++ libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
> (working copy)
> @@ -855,6 +855,7 @@ CHECK_STRUCT_SIZE_AND_OFFSET(sigaction,
> CHECK_STRUCT_SIZE_AND_OFFSET(sigaction, sa_restorer);
> #endif
>
> +#ifdef SYSCALL_INTERCEPTION
> #if SANITIZER_LINUX
> CHECK_TYPE_SIZE(__sysctl_args);
> CHECK_SIZE_AND_OFFSET(__sysctl_args, name);
> @@ -872,6 +873,7 @@ CHECK_TYPE_SIZE(__kernel_off_t);
> CHECK_TYPE_SIZE(__kernel_loff_t);
> CHECK_TYPE_SIZE(__kernel_fd_set);
> #endif
> +#endif
>
> #if !SANITIZER_ANDROID
> CHECK_TYPE_SIZE(wordexp_t);
>
>
Jakub