re PR sanitizer/64435 (Bootstrap failure in libsanitizer on AArch64 with Linux kernel...
authorJakub Jelinek <jakub@redhat.com>
Mon, 19 Jan 2015 08:39:27 +0000 (09:39 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 19 Jan 2015 08:39:27 +0000 (09:39 +0100)
PR sanitizer/64435
* sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
upstream r223925.

From-SVN: r219833

libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc

index ab22345..3de7396 100644 (file)
@@ -1,3 +1,9 @@
+2015-01-19  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/64435
+       * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry pick
+       upstream r223925.
+
 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
 
        * sanitizer_common/sanitizer_deadlock_detector.h: Cherry pick
index 13d908e..7ea8706 100644 (file)
@@ -1003,8 +1003,12 @@ CHECK_SIZE_AND_OFFSET(__sysctl_args, newlen);
 
 CHECK_TYPE_SIZE(__kernel_uid_t);
 CHECK_TYPE_SIZE(__kernel_gid_t);
+
+#if !defined(__aarch64__)
 CHECK_TYPE_SIZE(__kernel_old_uid_t);
 CHECK_TYPE_SIZE(__kernel_old_gid_t);
+#endif
+
 CHECK_TYPE_SIZE(__kernel_off_t);
 CHECK_TYPE_SIZE(__kernel_loff_t);
 CHECK_TYPE_SIZE(__kernel_fd_set);