https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92154

--- Comment #2 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Tue Oct 22 14:25:38 2019
New Revision: 277291

URL: https://gcc.gnu.org/viewcvs?rev=277291&root=gcc&view=rev
Log:
Arm: Fix arm libsanitizer bootstrap failure 

Glibc has recently introduced changed to the mode field in ipc_perm
in commit 2f959dfe849e0646e27403f2e4091536496ac0f0. For Arm this
means that the mode field no longer has the same size.

This causes an assert failure against libsanitizer's internal copy
of ipc_perm.  Since this change can't be easily detected I am adding
arm to the list of targets that are excluded from this check.  libsanitizer
doesn't use this field (and others, it in fact uses only 1 field) so this check
can be ignored.

Padding bits were used by glibc when the field was changed so sizeof and
offsets
of the remaining fields should be the same.

libsanitizer/ChangeLog:

        PR sanitizer/92154
        * sanitizer_common/sanitizer_platform_limits_posix.cpp (defined):
        Cherry-pick compiler-rt revision r375220.


Modified:
    trunk/libsanitizer/ChangeLog
    trunk/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp

Reply via email to