1 |
commit: f4f2cbbb6fed8a63e55b5d1a13efb48e8769cf59 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 19 22:25:54 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 19 22:25:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=f4f2cbbb |
7 |
|
8 |
4.9.4: drop assumed -lieee from -mieee-fp |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
4.9.4/gentoo/99_all_remove-lieee.patch | 47 ++++++++++++++++++++++++++++++++++ |
13 |
4.9.4/gentoo/README.history | 3 +++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/4.9.4/gentoo/99_all_remove-lieee.patch b/4.9.4/gentoo/99_all_remove-lieee.patch |
17 |
new file mode 100644 |
18 |
index 0000000..390a3b0 |
19 |
--- /dev/null |
20 |
+++ b/4.9.4/gentoo/99_all_remove-lieee.patch |
21 |
@@ -0,0 +1,47 @@ |
22 |
+Modern glibc stopped providing ieee.a |
23 |
+ |
24 |
+From 401a6ba8d6aa5a92acaedae24b84c59d284f446d Mon Sep 17 00:00:00 2001 |
25 |
+From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> |
26 |
+Date: Thu, 12 Jul 2018 11:53:34 +0000 |
27 |
+Subject: [PATCH] 2018-07-12 Richard Biener <rguenther@××××.de> |
28 |
+ |
29 |
+ PR target/84829 |
30 |
+ * config/gnu-user.h (GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC): |
31 |
+ Remove -mieee-fp handling. |
32 |
+ |
33 |
+ * gcc.target/i386/pr84829.c: New testcase. |
34 |
+ |
35 |
+ |
36 |
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262582 138bc75d-0d04-0410-961f-82ee72b054a4 |
37 |
+--- |
38 |
+ gcc/ChangeLog | 6 ++++++ |
39 |
+ gcc/config/gnu-user.h | 2 +- |
40 |
+ gcc/testsuite/ChangeLog | 5 +++++ |
41 |
+ gcc/testsuite/gcc.target/i386/pr84829.c | 7 +++++++ |
42 |
+ 4 files changed, 19 insertions(+), 1 deletion(-) |
43 |
+ create mode 100644 gcc/testsuite/gcc.target/i386/pr84829.c |
44 |
+ |
45 |
+--- a/gcc/config/gnu-user.h |
46 |
++++ b/gcc/config/gnu-user.h |
47 |
+@@ -120,7 +120,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
48 |
+ |
49 |
+ #define GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC \ |
50 |
+ "%{shared:-lc} \ |
51 |
+- %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}" |
52 |
++ %{!shared:%{profile:-lc_p}%{!profile:-lc}}" |
53 |
+ |
54 |
+ #define GNU_USER_TARGET_LIB_SPEC \ |
55 |
+ "%{pthread:-lpthread} " \ |
56 |
+--- /dev/null |
57 |
++++ b/gcc/testsuite/gcc.target/i386/pr84829.c |
58 |
+@@ -0,0 +1,7 @@ |
59 |
++/* { dg-do link } */ |
60 |
++/* { dg-options "-mieee-fp" } */ |
61 |
++ |
62 |
++int main() |
63 |
++{ |
64 |
++ return 0; |
65 |
++} |
66 |
+-- |
67 |
+2.19.0 |
68 |
+ |
69 |
|
70 |
diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history |
71 |
index eec3b4a..67c7a25 100644 |
72 |
--- a/4.9.4/gentoo/README.history |
73 |
+++ b/4.9.4/gentoo/README.history |
74 |
@@ -1,3 +1,6 @@ |
75 |
+1.4 TODO |
76 |
+ + 99_all_remove-lieee.patch |
77 |
+ |
78 |
1.3 12 Jan 2018 |
79 |
+ 98_all_libjava-ucontext.patch |
80 |
1.2 27 Oct 2017 |