]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR sanitizer/86012 (libsanitizer build failure on sparc64-linux-gnu)
authorMatthias Klose <doko@ubuntu.com>
Thu, 31 May 2018 09:59:35 +0000 (09:59 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Thu, 31 May 2018 09:59:35 +0000 (09:59 +0000)
2018-05-31  Matthias Klose  <doko@ubuntu.com>

        PR sanitizer/86012
        * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
        SIZEOF_STRUCT_USTAT for 32bit sparc.

From-SVN: r260992

libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc

index d472d15324b33e9add5a891485221bbc1861b070..b8f13a60413b3e903ada3371c20e1e8ab90ed477 100644 (file)
@@ -1,3 +1,9 @@
+2018-05-31  Matthias Klose  <doko@ubuntu.com>
+
+       PR sanitizer/86012
+       * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
+       SIZEOF_STRUCT_USTAT for 32bit sparc.
+
 2018-05-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR sanitizer/85835
index 8017afd21c53db55c3a9bc8e0e4f229d1729e949..97eae3fc7bc7e3ba9553ab77f73a72426de7cc7b 100644 (file)
@@ -253,7 +253,7 @@ namespace __sanitizer {
   || defined(__x86_64__)
 #define SIZEOF_STRUCT_USTAT 32
 #elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
-  || defined(__powerpc__) || defined(__s390__)
+  || defined(__powerpc__) || defined(__s390__) || defined(__sparc__)
 #define SIZEOF_STRUCT_USTAT 20
 #else
 #error Unknown size of struct ustat