aboutsummaryrefslogtreecommitdiff
path: root/7.3.0
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-09-30 23:24:13 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2018-09-30 23:24:13 +0100
commit81d95cbcbc17b744280a0e484439f13abd03f957 (patch)
tree6772e205fcbfda0b83fc4d20ee77d723ef03e89c /7.3.0
parent8.2.0: restore -Werror patches (diff)
downloadgcc-patches-81d95cbcbc17b744280a0e484439f13abd03f957.tar.gz
gcc-patches-81d95cbcbc17b744280a0e484439f13abd03f957.tar.bz2
gcc-patches-81d95cbcbc17b744280a0e484439f13abd03f957.zip
7.3.0: drop assumed -lieee from -mieee-fp
glibc-2.28 won't provide -lieee. Backported from upstream as-is. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '7.3.0')
-rw-r--r--7.3.0/gentoo/101_all_remove-lieee.patch47
-rw-r--r--7.3.0/gentoo/README.history10
2 files changed, 57 insertions, 0 deletions
diff --git a/7.3.0/gentoo/101_all_remove-lieee.patch b/7.3.0/gentoo/101_all_remove-lieee.patch
new file mode 100644
index 0000000..390a3b0
--- /dev/null
+++ b/7.3.0/gentoo/101_all_remove-lieee.patch
@@ -0,0 +1,47 @@
+Modern glibc stopped providing ieee.a
+
+From 401a6ba8d6aa5a92acaedae24b84c59d284f446d Mon Sep 17 00:00:00 2001
+From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Thu, 12 Jul 2018 11:53:34 +0000
+Subject: [PATCH] 2018-07-12 Richard Biener <rguenther@suse.de>
+
+ PR target/84829
+ * config/gnu-user.h (GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC):
+ Remove -mieee-fp handling.
+
+ * gcc.target/i386/pr84829.c: New testcase.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262582 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ gcc/ChangeLog | 6 ++++++
+ gcc/config/gnu-user.h | 2 +-
+ gcc/testsuite/ChangeLog | 5 +++++
+ gcc/testsuite/gcc.target/i386/pr84829.c | 7 +++++++
+ 4 files changed, 19 insertions(+), 1 deletion(-)
+ create mode 100644 gcc/testsuite/gcc.target/i386/pr84829.c
+
+--- a/gcc/config/gnu-user.h
++++ b/gcc/config/gnu-user.h
+@@ -120,7 +120,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
+
+ #define GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC \
+ "%{shared:-lc} \
+- %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}"
++ %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
+
+ #define GNU_USER_TARGET_LIB_SPEC \
+ "%{pthread:-lpthread} " \
+--- /dev/null
++++ b/gcc/testsuite/gcc.target/i386/pr84829.c
+@@ -0,0 +1,7 @@
++/* { dg-do link } */
++/* { dg-options "-mieee-fp" } */
++
++int main()
++{
++ return 0;
++}
+--
+2.19.0
+
diff --git a/7.3.0/gentoo/README.history b/7.3.0/gentoo/README.history
index e4a94de..97821a1 100644
--- a/7.3.0/gentoo/README.history
+++ b/7.3.0/gentoo/README.history
@@ -1,23 +1,33 @@
+1.8 TODO
+ + 101_all_remove-lieee.patch
+
1.7 23 Sep 2018
+ 98_all_msp430-partial-int.patch
+ 99_all_x32-fix-eh-return-address.patch
+ 100_all_respect-build-cxxflags.patch
+
1.6 18 Aug 2018
+ 97_all_isl-include.patch
+
1.5 17 Aug 2018
+ 94_all_libgo-remove-ustat.h-glibc-2.28.patch
+ 95_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch
+ 96_all_libsanitizer-avoidustat.h-glibc-2.28-part-2.patch
+
1.4 18 May 2018
U 13_all_default-ssp-fix.patch
+
1.3 16 May 2018
U 13_all_default-ssp-fix.patch
U 55_all_extra-options.patch
+ 93_all_copy-constructible-fix.patch
+
1.2 14 Apr 2018
+ 92_all_sh-drop-sysroot-suffix.patch
+
1.1 11 Feb 2018
+ 91_all_bmi-i386-PR-target-81763.patch
+
1.0 25 Jan 2018
+ 10_all_default-fortify-source.patch
+ 11_all_default-warn-format-security.patch