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: 7.3.0/gentoo/
Date: Sun, 30 Sep 2018 22:25:21
Message-Id: 1538346253.81d95cbcbc17b744280a0e484439f13abd03f957.slyfox@gentoo
1 commit: 81d95cbcbc17b744280a0e484439f13abd03f957
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 30 22:24:13 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 30 22:24:13 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=81d95cbc
7
8 7.3.0: drop assumed -lieee from -mieee-fp
9
10 glibc-2.28 won't provide -lieee.
11 Backported from upstream as-is.
12
13 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
14
15 7.3.0/gentoo/101_all_remove-lieee.patch | 47 +++++++++++++++++++++++++++++++++
16 7.3.0/gentoo/README.history | 10 +++++++
17 2 files changed, 57 insertions(+)
18
19 diff --git a/7.3.0/gentoo/101_all_remove-lieee.patch b/7.3.0/gentoo/101_all_remove-lieee.patch
20 new file mode 100644
21 index 0000000..390a3b0
22 --- /dev/null
23 +++ b/7.3.0/gentoo/101_all_remove-lieee.patch
24 @@ -0,0 +1,47 @@
25 +Modern glibc stopped providing ieee.a
26 +
27 +From 401a6ba8d6aa5a92acaedae24b84c59d284f446d Mon Sep 17 00:00:00 2001
28 +From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
29 +Date: Thu, 12 Jul 2018 11:53:34 +0000
30 +Subject: [PATCH] 2018-07-12 Richard Biener <rguenther@××××.de>
31 +
32 + PR target/84829
33 + * config/gnu-user.h (GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC):
34 + Remove -mieee-fp handling.
35 +
36 + * gcc.target/i386/pr84829.c: New testcase.
37 +
38 +
39 +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262582 138bc75d-0d04-0410-961f-82ee72b054a4
40 +---
41 + gcc/ChangeLog | 6 ++++++
42 + gcc/config/gnu-user.h | 2 +-
43 + gcc/testsuite/ChangeLog | 5 +++++
44 + gcc/testsuite/gcc.target/i386/pr84829.c | 7 +++++++
45 + 4 files changed, 19 insertions(+), 1 deletion(-)
46 + create mode 100644 gcc/testsuite/gcc.target/i386/pr84829.c
47 +
48 +--- a/gcc/config/gnu-user.h
49 ++++ b/gcc/config/gnu-user.h
50 +@@ -120,7 +120,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
51 +
52 + #define GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC \
53 + "%{shared:-lc} \
54 +- %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}"
55 ++ %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
56 +
57 + #define GNU_USER_TARGET_LIB_SPEC \
58 + "%{pthread:-lpthread} " \
59 +--- /dev/null
60 ++++ b/gcc/testsuite/gcc.target/i386/pr84829.c
61 +@@ -0,0 +1,7 @@
62 ++/* { dg-do link } */
63 ++/* { dg-options "-mieee-fp" } */
64 ++
65 ++int main()
66 ++{
67 ++ return 0;
68 ++}
69 +--
70 +2.19.0
71 +
72
73 diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history
74 index e4a94de..97821a1 100644
75 --- a/7.3.0/gentoo/README.history
76 +++ b/7.3.0/gentoo/README.history
77 @@ -1,23 +1,33 @@
78 +1.8 TODO
79 + + 101_all_remove-lieee.patch
80 +
81 1.7 23 Sep 2018
82 + 98_all_msp430-partial-int.patch
83 + 99_all_x32-fix-eh-return-address.patch
84 + 100_all_respect-build-cxxflags.patch
85 +
86 1.6 18 Aug 2018
87 + 97_all_isl-include.patch
88 +
89 1.5 17 Aug 2018
90 + 94_all_libgo-remove-ustat.h-glibc-2.28.patch
91 + 95_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch
92 + 96_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch
93 +
94 1.4 18 May 2018
95 U 13_all_default-ssp-fix.patch
96 +
97 1.3 16 May 2018
98 U 13_all_default-ssp-fix.patch
99 U 55_all_extra-options.patch
100 + 93_all_copy-constructible-fix.patch
101 +
102 1.2 14 Apr 2018
103 + 92_all_sh-drop-sysroot-suffix.patch
104 +
105 1.1 11 Feb 2018
106 + 91_all_bmi-i386-PR-target-81763.patch
107 +
108 1.0 25 Jan 2018
109 + 10_all_default-fortify-source.patch
110 + 11_all_default-warn-format-security.patch