diff options
author | Matthias Klose <doko@ubuntu.com> | 2018-05-31 09:57:33 +0000 |
---|---|---|
committer | Matthias Klose <doko@gcc.gnu.org> | 2018-05-31 09:57:33 +0000 |
commit | 5b87c1fe09edc8ce6a105af9d27ae9353656d6f0 (patch) | |
tree | b34bceacd6e8df2f37ebd2eec5b0ed85bb5985e9 /libsanitizer | |
parent | 568421baa5a4cdb7bb7c5ac323c939492ee3f052 (diff) | |
download | gcc-5b87c1fe09edc8ce6a105af9d27ae9353656d6f0.tar.gz |
re PR sanitizer/86012 (libsanitizer build failure on sparc64-linux-gnu)
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: r260990
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/ChangeLog | 6 | ||||
-rw-r--r-- | libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 286b7898a43..43eb1debe6f 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -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 diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc index de18e56d11c..a915d37cdfe 100644 --- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc +++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc @@ -256,7 +256,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 |