> On Tue, Feb 18, 2014 at 06:55:51PM +0100, Jose E. Marchesi wrote:
> > This patch fixes builds with --enable-sanitizer, which seems to be the
> > default for sparc now.
> >
> > Build tested in a sparc64-*-linux-gnu system with linux 3.8.13 headers.
> >
> > 2014-02-18 Jose E. Marchesi <[email protected]>
> >
> > PR sanitizer/59758
> > * sanitizer_common/sanitizer_platform_limits_posix.h
(__sanitizer):
> > Define struct__old_kernel_stat_sz, struct_kernel_stat_sz and
> > struct_kernel_stat64_sz for sparc targets (both 32 and 64 bits).
> > (__sanitizer_ipc_perm): Adjust for sparc targets.
> > (__sanitizer_shmid_ds): Likewise.
> > (__sanitizer_sigaction): Likewise.
> > (IOC_SIZE): Likewise.
> >
> > * sanitizer_common/sanitizer_platform_limits_linux.cc (time_t):
> > defined as __kernel_time_t, which is needed for sparc.
> > (struct___old_kernel_stat_sz): Don't check if __sparc__ is
defined.
>
> Please talk to Konstantin about getting this into the upstream compiler-rt
> repository, we don't need to wait for a merge from there, so once it
> is accepted there, the same patch can be applied to gcc too.
Right. Please read
https://code.google.com/p/address-sanitizer/wiki/HowToContribute
Ok, I follow up on [email protected] then..