]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR sanitizer/86012 (libsanitizer build failure on sparc64-linux-gnu)
authorMatthias Klose <doko@ubuntu.com>
Sun, 23 Sep 2018 08:36:14 +0000 (08:36 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Sun, 23 Sep 2018 08:36:14 +0000 (08:36 +0000)
2017-09-23  Matthias Klose  <doko@ubuntu.com>

        Backported from the gcc-7-branch:
        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: r264511

libsanitizer/ChangeLog
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc

index 2c88691ebed0998caf2318efd19de1e44bf283d4..ae4f170dc418bd5b93639084028500324f337b58 100644 (file)
@@ -1,3 +1,12 @@
+2017-09-23  Matthias Klose  <doko@ubuntu.com>
+
+       Backported from the gcc-7-branch:
+       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.
+
 2017-09-21  Matthias Klose  <doko@ubuntu.com>
 
        Backported from the gcc-7-branch:
index 98825b584d24912df76f9982c2319419c7815bf8..069d8d557deff50c8a7bdaada6e9bbd8809225e9 100644 (file)
@@ -249,7 +249,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