On Tue, Nov 12, 2019 at 10:56:21AM +0100, Andreas Schwab wrote:
> On Nov 11 2019, Jim Wilson wrote:
> 
> > ../../../../gcc-git/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:1136:1:
> > note: in expansion of macro ‘CHECK_SIZE_AND_OFFSET’
> >  1136 | CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
> >       | ^~~~~~~~~~~~~~~~~~~~~
> 
> Looks like you are using an unreleased version of glibc.  This works
> correctly with glibc 2.30.
> 
> As you have noticed, this will need to be corrected for all
> architectures where the ipc_perm structure has been changed in commit
> 2f959dfe84, once glibc 2.31 has been released.  Care to file an llvm
> issue about that?

We actually have a change cherry-picked from upstream for the
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2f959dfe849e0646e27403f2e4091536496ac0f0
glibc change - 
https://gcc.gnu.org/ml/gcc-patches/2019-10/msg01554.html
, but only for arm, while it apparently broke either all or many other
architectures (at least x86_64 and riscv64 are now reported).

        Jakub

Reply via email to