[PATCH][GCC][Arm][libsanitizer] Fix arm libsanitizer bootstrap failure

Tamar Christina Tamar.Christina@arm.com
Tue Oct 22 10:06:00 GMT 2019


Hi All,

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.

Bootstrapped arm-none-linux-gnueabihf and no issues.

Ok for trunk?

Thanks,
Tamar

libsanitizer/ChangeLog:

2019-10-22  Tamar Christina  <tamar.christina@arm.com>

	PR sanitizer/92154
	* sanitizer_common/sanitizer_platform_limits_posix.cpp (defined):
	Exclude arm.

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb11987.patch
Type: text/x-diff
Size: 1063 bytes
Desc: rb11987.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191022/03804347/attachment.bin>


More information about the Gcc-patches mailing list