libsanitizer merge from upstream r221802

David Abdurachmanov david.abdurachmanov@gmail.com
Mon Dec 29 18:44:00 GMT 2014


Hi,

I believe this is breaking bootstrap on aarch64-linux-gnu with kernels <=3.15,
3.16 and above are fine.

__kernel_old_{gid,uid}_t were changed in 3.16 from unsigned int to unsigned
short. <=3.15 kernel will trigger static asserts in libsanitizer while
compiling GCC.

I created PR: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64435 (includes all
the details).

Attaching a patch with resolved issues on F19 + 3.12 kernel (also bootstrapped
in QEMU with F21 rootfs + 3.17 kernel) on aarch64-linux-gnu.

david

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-pr64435.patch
Type: application/octet-stream
Size: 1508 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141229/fe8fe9ca/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141229/fe8fe9ca/attachment.sig>


More information about the Gcc-patches mailing list