1 |
commit: 3394b77f3396a9019df7734315142453dbaa3202 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 28 22:51:20 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 28 22:51:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=3394b77f |
7 |
|
8 |
4.2.4: backport libjava ucontext and gomp werorr fixes |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
4.2.4/gentoo/94_all_gcc-libgomp-no-werror.patch | 16 ++++++++++++++++ |
13 |
4.2.4/gentoo/95_all_libjava-ucontext.patch | 24 ++++++++++++++++++++++++ |
14 |
4.2.4/gentoo/README.history | 4 ++++ |
15 |
3 files changed, 44 insertions(+) |
16 |
|
17 |
diff --git a/4.2.4/gentoo/94_all_gcc-libgomp-no-werror.patch b/4.2.4/gentoo/94_all_gcc-libgomp-no-werror.patch |
18 |
new file mode 100644 |
19 |
index 0000000..1c3ec3a |
20 |
--- /dev/null |
21 |
+++ b/4.2.4/gentoo/94_all_gcc-libgomp-no-werror.patch |
22 |
@@ -0,0 +1,16 @@ |
23 |
+libgomp does not respect --disable-werror |
24 |
+ |
25 |
+http://bugs.gentoo.org/229059 |
26 |
+http://gcc.gnu.org/PR38436 |
27 |
+ |
28 |
+--- gcc-4.3.2/libgomp/configure |
29 |
++++ gcc-4.3.2/libgomp/configure |
30 |
+@@ -3297,7 +3297,7 @@ |
31 |
+ |
32 |
+ # Add -Wall -Werror if we are using GCC. |
33 |
+ if test "x$GCC" = "xyes"; then |
34 |
+- XCFLAGS="$XCFLAGS -Wall -Werror" |
35 |
++ XCFLAGS="$XCFLAGS -Wall" |
36 |
+ fi |
37 |
+ |
38 |
+ # Find other programs we need. |
39 |
|
40 |
diff --git a/4.2.4/gentoo/95_all_libjava-ucontext.patch b/4.2.4/gentoo/95_all_libjava-ucontext.patch |
41 |
new file mode 100644 |
42 |
index 0000000..dfd5723 |
43 |
--- /dev/null |
44 |
+++ b/4.2.4/gentoo/95_all_libjava-ucontext.patch |
45 |
@@ -0,0 +1,24 @@ |
46 |
+https://bugs.gentoo.org/629502 |
47 |
+ |
48 |
+From 9b9287cde20ea57578cf07efb2a96ed4cc0da36f Mon Sep 17 00:00:00 2001 |
49 |
+From: doko <doko@138bc75d-0d04-0410-961f-82ee72b054a4> |
50 |
+Date: Thu, 7 Sep 2017 07:22:07 +0000 |
51 |
+Subject: [PATCH] 2017-09-07 Matthias Klose <doko@××××××.com> |
52 |
+ |
53 |
+ * include/x86_64-signal.h (HANDLE_DIVIDE_OVERFLOW): Replace |
54 |
+ 'struct ucontext' with ucontext_t. |
55 |
+ * include/i386-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise. |
56 |
+ * include/s390-signal.h (HANDLE_DIVIDE_OVERFLOW): Likewise. |
57 |
+ |
58 |
+ |
59 |
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-5-branch@251832 138bc75d-0d04-0410-961f-82ee72b054a4 |
60 |
+ |
61 |
+--- a/libjava/include/x86_64-signal.h |
62 |
++++ b/libjava/include/x86_64-signal.h |
63 |
+@@ -28,5 +28,5 @@ static void _Jv_##_name (int, siginfo_t *, \ |
64 |
+ #define HANDLE_DIVIDE_OVERFLOW \ |
65 |
+ do \ |
66 |
+ { \ |
67 |
+- struct ucontext *_uc = (struct ucontext *)_p; \ |
68 |
++ ucontext_t *_uc = (ucontext_t *)_p; \ |
69 |
+ volatile struct sigcontext *_sc = (struct sigcontext *) &_uc->uc_mcontext; \ |
70 |
|
71 |
diff --git a/4.2.4/gentoo/README.history b/4.2.4/gentoo/README.history |
72 |
index 39b6b8f..5eef5ee 100644 |
73 |
--- a/4.2.4/gentoo/README.history |
74 |
+++ b/4.2.4/gentoo/README.history |
75 |
@@ -1,3 +1,7 @@ |
76 |
+1.6 TODO |
77 |
+ + 94_all_gcc-libgomp-no-werror.patch |
78 |
+ + 95_all_libjava-ucontext.patch |
79 |
+ |
80 |
1.5 23 Sep 2018 |
81 |
+ 93_all_ucontext-to-ucontext_t.patch |