Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-patches:master commit in: 4.9.4/gentoo/
Date: Wed, 08 Jan 2020 08:19:11
Message-Id: 1578471516.2dbd672ae7da4a9a12b8eea686d1f66f339e6d0e.slyfox@gentoo
1 commit: 2dbd672ae7da4a9a12b8eea686d1f66f339e6d0e
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 8 08:18:36 2020 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 8 08:18:36 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=2dbd672a
7
8 9.4.9: backport ustat size for asan on __sparc__
9
10 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
11
12 4.9.4/gentoo/102_all_ustat-sparc.patch | 27 +++++++++++++++++++++++++++
13 4.9.4/gentoo/README.history | 3 +++
14 2 files changed, 30 insertions(+)
15
16 diff --git a/4.9.4/gentoo/102_all_ustat-sparc.patch b/4.9.4/gentoo/102_all_ustat-sparc.patch
17 new file mode 100644
18 index 0000000..98cc48b
19 --- /dev/null
20 +++ b/4.9.4/gentoo/102_all_ustat-sparc.patch
21 @@ -0,0 +1,27 @@
22 +From 27453e962b3fe2f918c5105b2a48ec3e92d4c873 Mon Sep 17 00:00:00 2001
23 +From: doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
24 +Date: Thu, 31 May 2018 09:57:33 +0000
25 +Subject: [PATCH] 2018-05-31 Matthias Klose <doko@××××××.com>
26 +
27 + PR sanitizer/86012
28 + * sanitizer_common/sanitizer_platform_limits_posix.cc: Define
29 + SIZEOF_STRUCT_USTAT for 32bit sparc.
30 +
31 +
32 +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260990 138bc75d-0d04-0410-961f-82ee72b054a4
33 +---
34 +
35 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
36 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
37 +@@ -256,7 +256,7 @@ namespace __sanitizer {
38 + || defined(__x86_64__)
39 + #define SIZEOF_STRUCT_USTAT 32
40 + #elif defined(__arm__) || defined(__i386__) || defined(__mips__) \
41 +- || defined(__powerpc__) || defined(__s390__)
42 ++ || defined(__powerpc__) || defined(__s390__) || defined(__sparc__)
43 + #define SIZEOF_STRUCT_USTAT 20
44 + #else
45 + #error Unknown size of struct ustat
46 +--
47 +2.24.1
48 +
49
50 diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history
51 index 0d5fc99..7ed72a8 100644
52 --- a/4.9.4/gentoo/README.history
53 +++ b/4.9.4/gentoo/README.history
54 @@ -1,3 +1,6 @@
55 +2 TODO
56 + + 102_all_ustat-sparc.patch
57 +
58 1.4 1 Jun 2019
59 + 99_all_remove-lieee.patch
60 + 100_all_avoid-ustat-glibc-2.28.patch