Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/glibc/2.20: 00_all_0018-arm-drop-EABI-check.patch README.history
Date: Wed, 31 Dec 2014 08:21:39
Message-Id: 20141231082136.9CC69E8D9@oystercatcher.gentoo.org
1 vapier 14/12/31 08:21:36
2
3 Modified: README.history
4 Added: 00_all_0018-arm-drop-EABI-check.patch
5 Log:
6 fix from upstream for bootstrapping arm glibc
7
8 Revision Changes Path
9 1.2 src/patchsets/glibc/2.20/README.history
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.20/README.history?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.20/README.history?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.20/README.history?r1=1.1&r2=1.2
14
15 Index: README.history
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.20/README.history,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- README.history 10 Sep 2014 05:47:13 -0000 1.1
22 +++ README.history 31 Dec 2014 08:21:36 -0000 1.2
23 @@ -1,3 +1,9 @@
24 +3 30 Dec 2014
25 + + 00_all_0018-arm-drop-EABI-check.patch
26 +
27 +2
28 + update to extra/ files
29 +
30 1 09 Sep 2014
31 + 00_all_0001-disable-ldconfig-during-install.patch
32 + 00_all_0002-workaround-crash-when-handling-signals-in-static-PIE.patch
33
34
35
36 1.1 src/patchsets/glibc/2.20/00_all_0018-arm-drop-EABI-check.patch
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.20/00_all_0018-arm-drop-EABI-check.patch?rev=1.1&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.20/00_all_0018-arm-drop-EABI-check.patch?rev=1.1&content-type=text/plain
40
41 Index: 00_all_0018-arm-drop-EABI-check.patch
42 ===================================================================
43 From 1b08ac828aeafeff86fa67108a8ad285d32f70e6 Mon Sep 17 00:00:00 2001
44 From: Mike Frysinger <vapier@g.o>
45 Date: Thu, 20 Nov 2014 02:28:22 -0500
46 Subject: [PATCH] arm: drop EABI check
47
48 GCC marked OABI obsolete in 4.7 and dropped it in 4.8. So the number
49 of people this is catching is shrinking every day. At this point,
50 it's not terribly useful, so just drop it.
51
52 (cherry picked from commit 34d97d87bb1c08e34d08a9d4be24a3b1d53a4ddb)
53 ---
54 sysdeps/arm/preconfigure | 22 ----------------------
55 sysdeps/arm/preconfigure.ac | 5 -----
56 2 files changed, 27 deletions(-)
57
58 diff --git a/sysdeps/arm/preconfigure b/sysdeps/arm/preconfigure
59 index 59d776d..33e9501 100644
60 --- a/sysdeps/arm/preconfigure
61 +++ b/sysdeps/arm/preconfigure
62 @@ -3,28 +3,6 @@
63
64 case "$machine" in
65 arm*)
66 -
67 -cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68 -/* end confdefs.h. */
69 -
70 -#if !__ARM_EABI__
71 -#error
72 -#endif
73 -int
74 -main ()
75 -{
76 -
77 - ;
78 - return 0;
79 -}
80 -_ACEOF
81 -if ac_fn_c_try_compile "$LINENO"; then :
82 -
83 -else
84 - as_fn_error $? "Old ABI no longer supported" "$LINENO" 5
85 -fi
86 -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
87 -
88 # If the compiler enables unwind tables by default, this causes
89 # problems with undefined symbols in -nostdlib link tests. To
90 # avoid this, add -fno-unwind-tables here and remove it in
91 diff --git a/sysdeps/arm/preconfigure.ac b/sysdeps/arm/preconfigure.ac
92 index d78817b..20de5bc 100644
93 --- a/sysdeps/arm/preconfigure.ac
94 +++ b/sysdeps/arm/preconfigure.ac
95 @@ -3,11 +3,6 @@ GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
96
97 case "$machine" in
98 arm*)
99 - AC_TRY_COMPILE([
100 -#if !__ARM_EABI__
101 -#error
102 -#endif], [], [], [AC_MSG_ERROR([Old ABI no longer supported])])
103 -
104 # If the compiler enables unwind tables by default, this causes
105 # problems with undefined symbols in -nostdlib link tests. To
106 # avoid this, add -fno-unwind-tables here and remove it in
107 --
108 2.2.1