diff options
Diffstat (limited to 'meta/recipes-support/gmp/gmp-6.0.0')
5 files changed, 0 insertions, 333 deletions
diff --git a/meta/recipes-support/gmp/gmp-6.0.0/amd64.patch b/meta/recipes-support/gmp/gmp-6.0.0/amd64.patch deleted file mode 100644 index 564d12d42b..0000000000 --- a/meta/recipes-support/gmp/gmp-6.0.0/amd64.patch +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: gmp-5.0.3/longlong.h | ||
4 | =================================================================== | ||
5 | --- gmp-5.0.3.orig/longlong.h | ||
6 | +++ gmp-5.0.3/longlong.h | ||
7 | @@ -994,8 +994,10 @@ extern UWtype __MPN(udiv_qrnnd) _PROTO ( | ||
8 | count is only an int. */ | ||
9 | #define count_trailing_zeros(count, x) \ | ||
10 | do { \ | ||
11 | + UDItype __cbtmp; \ | ||
12 | ASSERT ((x) != 0); \ | ||
13 | - __asm__ ("bsfq %1,%q0" : "=r" (count) : "rm" ((UDItype)(x))); \ | ||
14 | + __asm__ ("bsfq %1,%0" : "=r" (__cbtmp) : "rm" ((UDItype)(x))); \ | ||
15 | + (count) = __cbtmp; \ | ||
16 | } while (0) | ||
17 | #endif /* x86_64 */ | ||
18 | |||
diff --git a/meta/recipes-support/gmp/gmp-6.0.0/append_user_provided_flags.patch b/meta/recipes-support/gmp/gmp-6.0.0/append_user_provided_flags.patch deleted file mode 100644 index ae1386c4c1..0000000000 --- a/meta/recipes-support/gmp/gmp-6.0.0/append_user_provided_flags.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate | ||
2 | |||
3 | Append the user provided flags to the auto-detected ones. | ||
4 | |||
5 | Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> | ||
6 | |||
7 | Index: gmp-5.1.1/configure.ac | ||
8 | =================================================================== | ||
9 | --- gmp-5.1.1.orig/configure.ac 2014-02-11 15:05:44.925202403 +0200 | ||
10 | +++ gmp-5.1.1/configure.ac 2014-02-11 15:19:03.918511398 +0200 | ||
11 | @@ -1745,8 +1745,12 @@ | ||
12 | EOF | ||
13 | |||
14 | |||
15 | -test_CFLAGS=${CFLAGS+set} | ||
16 | -test_CPPFLAGS=${CPPFLAGS+set} | ||
17 | +test_CFLAGS= | ||
18 | +test_CPPFLAGS= | ||
19 | + | ||
20 | +user_CFLAGS=$CFLAGS | ||
21 | +user_CPPFLAGS=$CPPFLAGS | ||
22 | +user_CXXFLAGS=$CXXFLAGS | ||
23 | |||
24 | for abi in $abilist; do | ||
25 | abi_last="$abi" | ||
26 | @@ -2175,7 +2179,7 @@ | ||
27 | want_cxx=no | ||
28 | AC_PROG_CXX | ||
29 | if test $enable_cxx != no; then | ||
30 | - test_CXXFLAGS=${CXXFLAGS+set} | ||
31 | + test_CXXFLAGS= | ||
32 | |||
33 | echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&AS_MESSAGE_LOG_FD() | ||
34 | cxxflags_ac_prog_cxx=$CXXFLAGS | ||
35 | @@ -2202,7 +2206,7 @@ | ||
36 | # Automake includes $CPPFLAGS in a C++ compile, so we do the same here. | ||
37 | # | ||
38 | for cxxflags_choice in $cxxflags_list; do | ||
39 | - eval CXXFLAGS=\"\$cxxflags_$cxxflags_choice\" | ||
40 | + eval CXXFLAGS=\"\$cxxflags_$cxxflags_choice $user_CXXFLAGS\" | ||
41 | GMP_PROG_CXX_WORKS($CXX $CPPFLAGS $CXXFLAGS, | ||
42 | [want_cxx=yes | ||
43 | break]) | ||
44 | @@ -2292,6 +2296,8 @@ | ||
45 | # done | ||
46 | fi | ||
47 | |||
48 | +CFLAGS="$CFLAGS $user_CFLAGS" | ||
49 | +CPPFLAGS="$CPPFLAGS $user_CPPFLAGS" | ||
50 | |||
51 | cat >&AS_MESSAGE_LOG_FD() <<EOF | ||
52 | Decided: | ||
diff --git a/meta/recipes-support/gmp/gmp-6.0.0/configure.patch b/meta/recipes-support/gmp/gmp-6.0.0/configure.patch deleted file mode 100644 index 349da3c6b0..0000000000 --- a/meta/recipes-support/gmp/gmp-6.0.0/configure.patch +++ /dev/null | |||
@@ -1,222 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Updated to apply to gmp-5.1.0 | ||
4 | |||
5 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
6 | |||
7 | --- | ||
8 | acinclude.m4 | 32 +++++++++++++++++--------------- | ||
9 | configure.ac | 26 +++++++++----------------- | ||
10 | 2 files changed, 26 insertions(+), 32 deletions(-) | ||
11 | |||
12 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
13 | index 227712a..199aa6f 100644 | ||
14 | --- a/acinclude.m4 | ||
15 | +++ b/acinclude.m4 | ||
16 | @@ -40,29 +40,29 @@ dnl a_out.exe - OpenVMS DEC C called via GNV wrapper (gnv.sourceforge.net) | ||
17 | dnl conftest.exe - various DOS compilers | ||
18 | |||
19 | |||
20 | -define(IA64_PATTERN, | ||
21 | +define([IA64_PATTERN], | ||
22 | [[ia64*-*-* | itanium-*-* | itanium2-*-*]]) | ||
23 | |||
24 | dnl Need to be careful not to match m6811, m6812, m68hc11 and m68hc12, all | ||
25 | dnl of which config.sub accepts. (Though none of which are likely to work | ||
26 | dnl with GMP.) | ||
27 | dnl | ||
28 | -define(M68K_PATTERN, | ||
29 | +define([M68K_PATTERN], | ||
30 | [[m68k-*-* | m68[0-9][0-9][0-9]-*-*]]) | ||
31 | |||
32 | -define(POWERPC64_PATTERN, | ||
33 | +define([POWERPC64_PATTERN], | ||
34 | [[powerpc64-*-* | powerpc64le-*-* | powerpc620-*-* | powerpc630-*-* | powerpc970-*-* | power[3-9]-*-*]]) | ||
35 | |||
36 | -define(S390_PATTERN, | ||
37 | +define([S390_PATTERN], | ||
38 | [[s390-*-* | z900esa-*-* | z990esa-*-* | z9esa-*-* | z10esa-*-* | z196esa-*-*]]) | ||
39 | |||
40 | -define(S390X_PATTERN, | ||
41 | +define([S390X_PATTERN], | ||
42 | [[s390x-*-* | z900-*-* | z990-*-* | z9-*-* | z10-*-* | z196-*-*]]) | ||
43 | |||
44 | -define(X86_PATTERN, | ||
45 | +define([X86_PATTERN], | ||
46 | [[i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-* | viac3*-*-* | geode*-*-* | atom-*-*]]) | ||
47 | |||
48 | -define(X86_64_PATTERN, | ||
49 | +define([X86_64_PATTERN], | ||
50 | [[athlon64-*-* | k8-*-* | k10-*-* | bobcat-*-* | jaguar-*-* | bulldozer-*-* | piledriver-*-* | steamroller-*-* | excavator-*-* | pentium4-*-* | atom-*-* | core2-*-* | corei*-*-* | x86_64-*-* | nano-*-*]]) | ||
51 | |||
52 | dnl GMP_FAT_SUFFIX(DSTVAR, DIRECTORY) | ||
53 | @@ -80,7 +80,7 @@ dnl x86 -> x86 | ||
54 | dnl x86/k6 -> k6 | ||
55 | dnl x86/k6/mmx -> k6_mmx | ||
56 | |||
57 | -define(GMP_FAT_SUFFIX, | ||
58 | +define([GMP_FAT_SUFFIX], | ||
59 | [[$1=`echo $2 | sed -e '/\//s:^[^/]*/::' -e 's:[\\/]:_:g'`]]) | ||
60 | |||
61 | |||
62 | @@ -89,7 +89,7 @@ dnl ---------------------------------- | ||
63 | dnl Emit code to remove any occurrence of ITEM from $LISTVAR. ITEM can be a | ||
64 | dnl shell expression like $foo if desired. | ||
65 | |||
66 | -define(GMP_REMOVE_FROM_LIST, | ||
67 | +define([GMP_REMOVE_FROM_LIST], | ||
68 | [remove_from_list_tmp= | ||
69 | for remove_from_list_i in $[][$1]; do | ||
70 | if test $remove_from_list_i = [$2]; then :; | ||
71 | @@ -105,12 +105,12 @@ dnl GMP_STRIP_PATH(subdir) | ||
72 | dnl ---------------------- | ||
73 | dnl Strip entries */subdir from $path and $fat_path. | ||
74 | |||
75 | -define(GMP_STRIP_PATH, | ||
76 | +define([GMP_STRIP_PATH], | ||
77 | [GMP_STRIP_PATH_VAR(path, [$1]) | ||
78 | GMP_STRIP_PATH_VAR(fat_path, [$1]) | ||
79 | ]) | ||
80 | |||
81 | -define(GMP_STRIP_PATH_VAR, | ||
82 | +define([GMP_STRIP_PATH_VAR], | ||
83 | [tmp_path= | ||
84 | for i in $[][$1]; do | ||
85 | case $i in | ||
86 | @@ -131,7 +131,7 @@ dnl | ||
87 | dnl Dummy value for GMP_LIMB_BITS is enough | ||
88 | dnl for all current configure-time uses of gmp.h. | ||
89 | |||
90 | -define(GMP_INCLUDE_GMP_H, | ||
91 | +define([GMP_INCLUDE_GMP_H], | ||
92 | [[#define __GMP_WITHIN_CONFIGURE 1 /* ignore template stuff */ | ||
93 | #define GMP_NAIL_BITS $GMP_NAIL_BITS | ||
94 | #define GMP_LIMB_BITS 123 | ||
95 | @@ -146,7 +146,7 @@ dnl Expand at autoconf time to the value of a "#define NAME" from the given | ||
96 | dnl FILE. The regexps here aren't very rugged, but are enough for gmp. | ||
97 | dnl /dev/null as a parameter prevents a hang if $2 is accidentally omitted. | ||
98 | |||
99 | -define(GMP_HEADER_GETVAL, | ||
100 | +define([GMP_HEADER_GETVAL], | ||
101 | [patsubst(patsubst( | ||
102 | esyscmd([grep "^#define $1 " $2 /dev/null 2>/dev/null]), | ||
103 | [^.*$1[ ]+],[]), | ||
104 | @@ -160,7 +160,7 @@ dnl The gmp version number, extracted from the #defines in gmp-h.in at | ||
105 | dnl autoconf time. Two digits like 3.0 if patchlevel <= 0, or three digits | ||
106 | dnl like 3.0.1 if patchlevel > 0. | ||
107 | |||
108 | -define(GMP_VERSION, | ||
109 | +define([GMP_VERSION], | ||
110 | [GMP_HEADER_GETVAL(__GNU_MP_VERSION,gmp-h.in)[]dnl | ||
111 | .GMP_HEADER_GETVAL(__GNU_MP_VERSION_MINOR,gmp-h.in)[]dnl | ||
112 | .GMP_HEADER_GETVAL(__GNU_MP_VERSION_PATCHLEVEL,gmp-h.in)]) | ||
113 | @@ -1524,7 +1524,9 @@ esac | ||
114 | echo ["define(<CONFIG_TOP_SRCDIR>,<\`$tmp'>)"] >>$gmp_tmpconfigm4 | ||
115 | |||
116 | # All CPUs use asm-defs.m4 | ||
117 | -echo ["include][(CONFIG_TOP_SRCDIR\`/mpn/asm-defs.m4')"] >>$gmp_tmpconfigm4i | ||
118 | +echo -n ["include("] >>$gmp_tmpconfigm4i | ||
119 | +echo -n ["CONFIG_TOP_SRCDIR\`/mpn/asm-defs.m4'"] >>$gmp_tmpconfigm4i | ||
120 | +echo [")"] >>$gmp_tmpconfigm4i | ||
121 | ]) | ||
122 | |||
123 | |||
124 | diff --git a/configure.ac b/configure.ac | ||
125 | index 64b2c50..f07b821 100644 | ||
126 | --- a/configure.ac | ||
127 | +++ b/configure.ac | ||
128 | @@ -39,14 +39,6 @@ AC_REVISION($Revision$) | ||
129 | AC_PREREQ(2.59) | ||
130 | AC_INIT(GNU MP, GMP_VERSION, [gmp-bugs@gmplib.org, see https://gmplib.org/manual/Reporting-Bugs.html], gmp) | ||
131 | AC_CONFIG_SRCDIR(gmp-impl.h) | ||
132 | -m4_pattern_forbid([^[ \t]*GMP_]) | ||
133 | -m4_pattern_allow(GMP_LDFLAGS) | ||
134 | -m4_pattern_allow(GMP_LIMB_BITS) | ||
135 | -m4_pattern_allow(GMP_MPARAM_H_SUGGEST) | ||
136 | -m4_pattern_allow(GMP_NAIL_BITS) | ||
137 | -m4_pattern_allow(GMP_NUMB_BITS) | ||
138 | -m4_pattern_allow(GMP_NONSTD_ABI) | ||
139 | -m4_pattern_allow(GMP_CPU_TYPE) | ||
140 | |||
141 | # If --target is not used then $target_alias is empty, but if say | ||
142 | # "./configure athlon-pc-freebsd3.5" is used, then all three of | ||
143 | @@ -348,7 +340,7 @@ AH_VERBATIM([HAVE_HOST_CPU_1], | ||
144 | # After GMP specific searches and tests, the standard autoconf AC_PROG_CC is | ||
145 | # called. User selections of CC etc are respected. | ||
146 | # | ||
147 | -# Care is taken not to use macros like AC_TRY_COMPILE during the GMP | ||
148 | +# Care is taken not to use macros like AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[],[]) during the GMP | ||
149 | # pre-testing, since they of course depend on AC_PROG_CC, and also some of | ||
150 | # them cache their results, which is not wanted. | ||
151 | # | ||
152 | @@ -440,7 +432,7 @@ abilist="standard" | ||
153 | # FIXME: We'd like to prefer an ANSI compiler, perhaps by preferring | ||
154 | # c89 over cc here. But note that on HP-UX c89 provides a castrated | ||
155 | # environment, and would want to be excluded somehow. Maybe | ||
156 | -# AC_PROG_CC_STDC already does enough to stick cc into ANSI mode and | ||
157 | +# already does enough to stick cc into ANSI mode and | ||
158 | # we don't need to worry. | ||
159 | # | ||
160 | cclist="gcc cc" | ||
161 | @@ -1843,7 +1835,7 @@ esac | ||
162 | CFLAGS_or_unset=${CFLAGS-'(unset)'} | ||
163 | CPPFLAGS_or_unset=${CPPFLAGS-'(unset)'} | ||
164 | |||
165 | -cat >&AC_FD_CC <<EOF | ||
166 | +cat >&AS_MESSAGE_LOG_FD() <<EOF | ||
167 | User: | ||
168 | ABI=$ABI | ||
169 | CC=$CC | ||
170 | @@ -2264,7 +2256,6 @@ AC_SUBST(DEFN_LONG_LONG_LIMB) | ||
171 | |||
172 | # The C compiler and preprocessor, put into ANSI mode if possible. | ||
173 | AC_PROG_CC | ||
174 | -AC_PROG_CC_STDC | ||
175 | AC_PROG_CPP | ||
176 | |||
177 | |||
178 | @@ -2286,11 +2277,11 @@ AC_SUBST(CCAS) | ||
179 | |||
180 | # The C++ compiler, if desired. | ||
181 | want_cxx=no | ||
182 | +AC_PROG_CXX | ||
183 | if test $enable_cxx != no; then | ||
184 | test_CXXFLAGS=${CXXFLAGS+set} | ||
185 | - AC_PROG_CXX | ||
186 | |||
187 | - echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&AC_FD_CC | ||
188 | + echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&AS_MESSAGE_LOG_FD() | ||
189 | cxxflags_ac_prog_cxx=$CXXFLAGS | ||
190 | cxxflags_list=ac_prog_cxx | ||
191 | |||
192 | @@ -2412,7 +2403,7 @@ if test "$enable_assembly" = "no"; then | ||
193 | fi | ||
194 | |||
195 | |||
196 | -cat >&AC_FD_CC <<EOF | ||
197 | +cat >&AS_MESSAGE_LOG_FD() <<EOF | ||
198 | Decided: | ||
199 | ABI=$ABI | ||
200 | CC=$CC | ||
201 | @@ -3781,7 +3772,7 @@ GMP_FINISH | ||
202 | # FIXME: Upcoming version of autoconf/automake may not like broken lines. | ||
203 | # Right now automake isn't accepting the new AC_CONFIG_FILES scheme. | ||
204 | |||
205 | -AC_OUTPUT(Makefile \ | ||
206 | +AC_CONFIG_FILES([Makefile \ | ||
207 | mpf/Makefile mpn/Makefile mpq/Makefile \ | ||
208 | mpz/Makefile printf/Makefile scanf/Makefile rand/Makefile cxx/Makefile \ | ||
209 | tests/Makefile tests/devel/Makefile \ | ||
210 | @@ -3790,7 +3781,8 @@ AC_OUTPUT(Makefile \ | ||
211 | tests/cxx/Makefile \ | ||
212 | doc/Makefile tune/Makefile \ | ||
213 | demos/Makefile demos/calc/Makefile demos/expr/Makefile \ | ||
214 | - gmp.h:gmp-h.in) | ||
215 | + gmp.h:gmp-h.in]) | ||
216 | +AC_OUTPUT | ||
217 | |||
218 | AC_MSG_NOTICE([summary of build options: | ||
219 | |||
220 | -- | ||
221 | 1.9.1 | ||
222 | |||
diff --git a/meta/recipes-support/gmp/gmp-6.0.0/gmp-6.0.0-ppc64.patch b/meta/recipes-support/gmp/gmp-6.0.0/gmp-6.0.0-ppc64.patch deleted file mode 100644 index 1113b41ecd..0000000000 --- a/meta/recipes-support/gmp/gmp-6.0.0/gmp-6.0.0-ppc64.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | |||
2 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
3 | |||
4 | This patch with pulled from gmp. | ||
5 | https://gmplib.org/repo/gmp/rev/4a6d258b467f | ||
6 | Upstream-Status: Backport | ||
7 | |||
8 | # HG changeset patch | ||
9 | # User Torbjorn Granlund <tege@gmplib.org> | ||
10 | # Date 1395835068 -3600 | ||
11 | # Node ID 4a6d258b467f661da0894cc60ecd060f2e3c67c7 | ||
12 | # Parent 301ce2788826a2d4d2725bd5cf01e998638db37a | ||
13 | Provide default for BMOD_1_TO_MOD_1_THRESHOLD. | ||
14 | |||
15 | diff -r 301ce2788826 -r 4a6d258b467f mpn/powerpc64/mode64/gcd_1.asm | ||
16 | --- a/mpn/powerpc64/mode64/gcd_1.asm Tue Mar 25 15:34:52 2014 +0100 | ||
17 | +++ b/mpn/powerpc64/mode64/gcd_1.asm Wed Mar 26 12:57:48 2014 +0100 | ||
18 | @@ -43,6 +43,9 @@ | ||
19 | define(`n', `r4') | ||
20 | define(`v0', `r5') | ||
21 | |||
22 | +ifdef(`BMOD_1_TO_MOD_1_THRESHOLD',, | ||
23 | + `define(`BMOD_1_TO_MOD_1_THRESHOLD',30)') | ||
24 | + | ||
25 | EXTERN_FUNC(mpn_mod_1) | ||
26 | EXTERN_FUNC(mpn_modexact_1c_odd) | ||
diff --git a/meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch b/meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch deleted file mode 100644 index 74904a2530..0000000000 --- a/meta/recipes-support/gmp/gmp-6.0.0/use-includedir.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: gmp-4.2.4/Makefile.am | ||
4 | =================================================================== | ||
5 | --- gmp-4.2.4.orig/Makefile.am 2008-09-10 19:31:27.000000000 +0000 | ||
6 | +++ gmp-4.2.4/Makefile.am 2009-07-06 20:19:19.000000000 +0000 | ||
7 | @@ -106,7 +106,7 @@ | ||
8 | # but anyone knowledgable enough to be playing with exec_prefix will be able | ||
9 | # to address that. | ||
10 | # | ||
11 | -includeexecdir = $(exec_prefix)/include | ||
12 | +includeexecdir = $(includedir) | ||
13 | include_HEADERS = $(GMPXX_HEADERS_OPTION) | ||
14 | nodist_includeexec_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION) | ||
15 | lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION) | ||