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
This commit is contained in:
Matthias Klose 2018-05-31 09:57:33 +00:00 committed by Matthias Klose
parent 568421baa5
commit 5b87c1fe09
2 changed files with 7 additions and 1 deletions

View 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

View File

@ -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