diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-09-20 13:54:35 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-21 14:55:32 +0100 |
commit | df74f8d9a8b1500da3fffd77f12ec8d1900d0bf6 (patch) | |
tree | ed2ab297b69aa9bd523f43595d54ce36c7ce4992 /meta/recipes-devtools/gcc/gcc-4.7 | |
parent | 3c101af5e33b21f53171c66de0c2c3e797d95247 (diff) | |
download | poky-df74f8d9a8b1500da3fffd77f12ec8d1900d0bf6.tar.gz |
gcc: Use 4.7.2 release tarball
This avoids the SVN or git fetcher issues for gcc
and the tar is mirrored around the world so it will
not be slow
Fixes [YOCTO #2908]
(From OE-Core rev: 5e03d1e83d0536a2fc69a88d3e5407108836203f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.7')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7/fix-g++-sysroot.patch | 24 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.7/gcc-poison-system-directories.patch | 66 |
2 files changed, 45 insertions, 45 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.7/fix-g++-sysroot.patch b/meta/recipes-devtools/gcc/gcc-4.7/fix-g++-sysroot.patch index 116f137a94..aad234c69e 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7/fix-g++-sysroot.patch +++ b/meta/recipes-devtools/gcc/gcc-4.7/fix-g++-sysroot.patch | |||
@@ -6,10 +6,10 @@ Upstream-Status: Pending | |||
6 | 6 | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
8 | 8 | ||
9 | Index: gcc-4_7-branch/gcc/configure.ac | 9 | Index: gcc-4.7.2/gcc/configure.ac |
10 | =================================================================== | 10 | =================================================================== |
11 | --- gcc-4_7-branch.orig/gcc/configure.ac 2012-06-20 00:21:52.182955919 -0700 | 11 | --- gcc-4.7.2.orig/gcc/configure.ac 2012-09-20 07:42:30.284941174 -0700 |
12 | +++ gcc-4_7-branch/gcc/configure.ac 2012-06-20 00:28:01.386973785 -0700 | 12 | +++ gcc-4.7.2/gcc/configure.ac 2012-09-20 07:55:23.148970564 -0700 |
13 | @@ -118,6 +118,72 @@ | 13 | @@ -118,6 +118,72 @@ |
14 | local_prefix=/usr/local | 14 | local_prefix=/usr/local |
15 | fi | 15 | fi |
@@ -163,10 +163,10 @@ Index: gcc-4_7-branch/gcc/configure.ac | |||
163 | AC_ARG_WITH(specs, | 163 | AC_ARG_WITH(specs, |
164 | [AS_HELP_STRING([--with-specs=SPECS], | 164 | [AS_HELP_STRING([--with-specs=SPECS], |
165 | [add SPECS to driver command-line processing])], | 165 | [add SPECS to driver command-line processing])], |
166 | Index: gcc-4_7-branch/gcc/configure | 166 | Index: gcc-4.7.2/gcc/configure |
167 | =================================================================== | 167 | =================================================================== |
168 | --- gcc-4_7-branch.orig/gcc/configure 2012-06-20 00:27:18.778971725 -0700 | 168 | --- gcc-4.7.2.orig/gcc/configure 2012-09-20 07:42:30.284941174 -0700 |
169 | +++ gcc-4_7-branch/gcc/configure 2012-06-20 00:28:06.634974041 -0700 | 169 | +++ gcc-4.7.2/gcc/configure 2012-09-20 07:55:31.788970893 -0700 |
170 | @@ -757,10 +757,6 @@ | 170 | @@ -757,10 +757,6 @@ |
171 | REPORT_BUGS_TO | 171 | REPORT_BUGS_TO |
172 | PKGVERSION | 172 | PKGVERSION |
@@ -408,21 +408,21 @@ Index: gcc-4_7-branch/gcc/configure | |||
408 | # Check whether --with-specs was given. | 408 | # Check whether --with-specs was given. |
409 | if test "${with_specs+set}" = set; then : | 409 | if test "${with_specs+set}" = set; then : |
410 | withval=$with_specs; CONFIGURE_SPECS=$withval | 410 | withval=$with_specs; CONFIGURE_SPECS=$withval |
411 | @@ -17973,7 +17979,7 @@ | 411 | @@ -18013,7 +18019,7 @@ |
412 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 412 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
413 | lt_status=$lt_dlunknown | 413 | lt_status=$lt_dlunknown |
414 | cat > conftest.$ac_ext <<_LT_EOF | 414 | cat > conftest.$ac_ext <<_LT_EOF |
415 | -#line 17976 "configure" | 415 | -#line 18016 "configure" |
416 | +#line 17982 "configure" | 416 | +#line 18022 "configure" |
417 | #include "confdefs.h" | 417 | #include "confdefs.h" |
418 | 418 | ||
419 | #if HAVE_DLFCN_H | 419 | #if HAVE_DLFCN_H |
420 | @@ -18079,7 +18085,7 @@ | 420 | @@ -18119,7 +18125,7 @@ |
421 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 421 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
422 | lt_status=$lt_dlunknown | 422 | lt_status=$lt_dlunknown |
423 | cat > conftest.$ac_ext <<_LT_EOF | 423 | cat > conftest.$ac_ext <<_LT_EOF |
424 | -#line 18082 "configure" | 424 | -#line 18122 "configure" |
425 | +#line 18088 "configure" | 425 | +#line 18128 "configure" |
426 | #include "confdefs.h" | 426 | #include "confdefs.h" |
427 | 427 | ||
428 | #if HAVE_DLFCN_H | 428 | #if HAVE_DLFCN_H |
diff --git a/meta/recipes-devtools/gcc/gcc-4.7/gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc-4.7/gcc-poison-system-directories.patch index b66b23b308..82a55c9b8b 100644 --- a/meta/recipes-devtools/gcc/gcc-4.7/gcc-poison-system-directories.patch +++ b/meta/recipes-devtools/gcc/gcc-4.7/gcc-poison-system-directories.patch | |||
@@ -27,10 +27,10 @@ Upstream-Status: Inappropriate [distribution: codesourcery] | |||
27 | ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of | 27 | ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of |
28 | /usr/include, /usr/local/include or /usr/X11R6/include. | 28 | /usr/include, /usr/local/include or /usr/X11R6/include. |
29 | 29 | ||
30 | Index: gcc-4_7-branch/gcc/common.opt | 30 | Index: gcc-4.7.2/gcc/common.opt |
31 | =================================================================== | 31 | =================================================================== |
32 | --- gcc-4_7-branch.orig/gcc/common.opt 2012-04-10 10:54:04.000000000 -0700 | 32 | --- gcc-4.7.2.orig/gcc/common.opt 2012-08-06 07:34:27.000000000 -0700 |
33 | +++ gcc-4_7-branch/gcc/common.opt 2012-04-10 10:56:02.259442274 -0700 | 33 | +++ gcc-4.7.2/gcc/common.opt 2012-09-20 07:40:54.708937540 -0700 |
34 | @@ -582,6 +582,10 @@ | 34 | @@ -582,6 +582,10 @@ |
35 | Common Var(warn_padded) Warning | 35 | Common Var(warn_padded) Warning |
36 | Warn when padding is required to align structure members | 36 | Warn when padding is required to align structure members |
@@ -42,10 +42,10 @@ Index: gcc-4_7-branch/gcc/common.opt | |||
42 | Wshadow | 42 | Wshadow |
43 | Common Var(warn_shadow) Warning | 43 | Common Var(warn_shadow) Warning |
44 | Warn when one local variable shadows another | 44 | Warn when one local variable shadows another |
45 | Index: gcc-4_7-branch/gcc/config.in | 45 | Index: gcc-4.7.2/gcc/config.in |
46 | =================================================================== | 46 | =================================================================== |
47 | --- gcc-4_7-branch.orig/gcc/config.in 2012-04-10 10:54:04.000000000 -0700 | 47 | --- gcc-4.7.2.orig/gcc/config.in 2012-09-20 00:23:55.000000000 -0700 |
48 | +++ gcc-4_7-branch/gcc/config.in 2012-04-10 10:56:02.259442274 -0700 | 48 | +++ gcc-4.7.2/gcc/config.in 2012-09-20 07:40:54.708937540 -0700 |
49 | @@ -144,6 +144,12 @@ | 49 | @@ -144,6 +144,12 @@ |
50 | #endif | 50 | #endif |
51 | 51 | ||
@@ -59,11 +59,11 @@ Index: gcc-4_7-branch/gcc/config.in | |||
59 | /* Define if you want all operations on RTL (the basic data structure of the | 59 | /* Define if you want all operations on RTL (the basic data structure of the |
60 | optimizer and back end) to be checked for dynamic type safety at runtime. | 60 | optimizer and back end) to be checked for dynamic type safety at runtime. |
61 | This is quite expensive. */ | 61 | This is quite expensive. */ |
62 | Index: gcc-4_7-branch/gcc/configure.ac | 62 | Index: gcc-4.7.2/gcc/configure.ac |
63 | =================================================================== | 63 | =================================================================== |
64 | --- gcc-4_7-branch.orig/gcc/configure.ac 2012-04-10 10:55:32.000000000 -0700 | 64 | --- gcc-4.7.2.orig/gcc/configure.ac 2012-09-20 07:30:27.000000000 -0700 |
65 | +++ gcc-4_7-branch/gcc/configure.ac 2012-04-10 10:56:02.259442274 -0700 | 65 | +++ gcc-4.7.2/gcc/configure.ac 2012-09-20 07:40:54.708937540 -0700 |
66 | @@ -4959,6 +4959,16 @@ | 66 | @@ -4989,6 +4989,16 @@ |
67 | [specify that runtime libraries should be | 67 | [specify that runtime libraries should be |
68 | installed in a compiler-specific directory])]) | 68 | installed in a compiler-specific directory])]) |
69 | 69 | ||
@@ -80,10 +80,10 @@ Index: gcc-4_7-branch/gcc/configure.ac | |||
80 | # Substitute configuration variables | 80 | # Substitute configuration variables |
81 | AC_SUBST(subdirs) | 81 | AC_SUBST(subdirs) |
82 | AC_SUBST(srcdir) | 82 | AC_SUBST(srcdir) |
83 | Index: gcc-4_7-branch/gcc/doc/invoke.texi | 83 | Index: gcc-4.7.2/gcc/doc/invoke.texi |
84 | =================================================================== | 84 | =================================================================== |
85 | --- gcc-4_7-branch.orig/gcc/doc/invoke.texi 2012-04-10 10:54:04.000000000 -0700 | 85 | --- gcc-4.7.2.orig/gcc/doc/invoke.texi 2012-09-14 13:45:27.000000000 -0700 |
86 | +++ gcc-4_7-branch/gcc/doc/invoke.texi 2012-04-10 10:56:02.263442231 -0700 | 86 | +++ gcc-4.7.2/gcc/doc/invoke.texi 2012-09-20 07:40:54.712937541 -0700 |
87 | @@ -260,6 +260,7 @@ | 87 | @@ -260,6 +260,7 @@ |
88 | -Woverlength-strings -Wpacked -Wpacked-bitfield-compat -Wpadded @gol | 88 | -Woverlength-strings -Wpacked -Wpacked-bitfield-compat -Wpadded @gol |
89 | -Wparentheses -Wpedantic-ms-format -Wno-pedantic-ms-format @gol | 89 | -Wparentheses -Wpedantic-ms-format -Wno-pedantic-ms-format @gol |
@@ -92,7 +92,7 @@ Index: gcc-4_7-branch/gcc/doc/invoke.texi | |||
92 | -Wredundant-decls @gol | 92 | -Wredundant-decls @gol |
93 | -Wreturn-type -Wsequence-point -Wshadow @gol | 93 | -Wreturn-type -Wsequence-point -Wshadow @gol |
94 | -Wsign-compare -Wsign-conversion -Wstack-protector @gol | 94 | -Wsign-compare -Wsign-conversion -Wstack-protector @gol |
95 | @@ -3878,6 +3879,14 @@ | 95 | @@ -3879,6 +3880,14 @@ |
96 | for most targets, it is made up of code and thus requires the stack | 96 | for most targets, it is made up of code and thus requires the stack |
97 | to be made executable in order for the program to work properly. | 97 | to be made executable in order for the program to work properly. |
98 | 98 | ||
@@ -107,10 +107,10 @@ Index: gcc-4_7-branch/gcc/doc/invoke.texi | |||
107 | @item -Wfloat-equal | 107 | @item -Wfloat-equal |
108 | @opindex Wfloat-equal | 108 | @opindex Wfloat-equal |
109 | @opindex Wno-float-equal | 109 | @opindex Wno-float-equal |
110 | Index: gcc-4_7-branch/gcc/gcc.c | 110 | Index: gcc-4.7.2/gcc/gcc.c |
111 | =================================================================== | 111 | =================================================================== |
112 | --- gcc-4_7-branch.orig/gcc/gcc.c 2012-04-10 10:54:04.000000000 -0700 | 112 | --- gcc-4.7.2.orig/gcc/gcc.c 2012-08-06 07:34:27.000000000 -0700 |
113 | +++ gcc-4_7-branch/gcc/gcc.c 2012-04-10 10:56:02.267442207 -0700 | 113 | +++ gcc-4.7.2/gcc/gcc.c 2012-09-20 07:40:54.716937541 -0700 |
114 | @@ -673,6 +673,8 @@ | 114 | @@ -673,6 +673,8 @@ |
115 | %{flto} %{flto=*} %l " LINK_PIE_SPEC \ | 115 | %{flto} %{flto=*} %l " LINK_PIE_SPEC \ |
116 | "%X %{o*} %{e*} %{N} %{n} %{r}\ | 116 | "%X %{o*} %{e*} %{N} %{n} %{r}\ |
@@ -120,10 +120,10 @@ Index: gcc-4_7-branch/gcc/gcc.c | |||
120 | %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\ | 120 | %{static:} %{L*} %(mfwrap) %(link_libgcc) %o\ |
121 | %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\ | 121 | %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\ |
122 | %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\ | 122 | %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\ |
123 | Index: gcc-4_7-branch/gcc/incpath.c | 123 | Index: gcc-4.7.2/gcc/incpath.c |
124 | =================================================================== | 124 | =================================================================== |
125 | --- gcc-4_7-branch.orig/gcc/incpath.c 2012-04-10 10:54:04.000000000 -0700 | 125 | --- gcc-4.7.2.orig/gcc/incpath.c 2012-01-26 15:34:58.000000000 -0800 |
126 | +++ gcc-4_7-branch/gcc/incpath.c 2012-04-10 10:56:02.267442207 -0700 | 126 | +++ gcc-4.7.2/gcc/incpath.c 2012-09-20 07:40:54.716937541 -0700 |
127 | @@ -361,6 +361,24 @@ | 127 | @@ -361,6 +361,24 @@ |
128 | } | 128 | } |
129 | fprintf (stderr, _("End of search list.\n")); | 129 | fprintf (stderr, _("End of search list.\n")); |
@@ -149,10 +149,10 @@ Index: gcc-4_7-branch/gcc/incpath.c | |||
149 | } | 149 | } |
150 | 150 | ||
151 | /* Use given -I paths for #include "..." but not #include <...>, and | 151 | /* Use given -I paths for #include "..." but not #include <...>, and |
152 | Index: gcc-4_7-branch/gcc/Makefile.in | 152 | Index: gcc-4.7.2/gcc/Makefile.in |
153 | =================================================================== | 153 | =================================================================== |
154 | --- gcc-4_7-branch.orig/gcc/Makefile.in 2012-04-10 10:54:05.000000000 -0700 | 154 | --- gcc-4.7.2.orig/gcc/Makefile.in 2012-08-06 07:34:27.000000000 -0700 |
155 | +++ gcc-4_7-branch/gcc/Makefile.in 2012-04-10 10:56:02.267442207 -0700 | 155 | +++ gcc-4.7.2/gcc/Makefile.in 2012-09-20 07:40:54.716937541 -0700 |
156 | @@ -2065,7 +2065,7 @@ | 156 | @@ -2065,7 +2065,7 @@ |
157 | 157 | ||
158 | incpath.o: incpath.c incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \ | 158 | incpath.o: incpath.c incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \ |
@@ -162,10 +162,10 @@ Index: gcc-4_7-branch/gcc/Makefile.in | |||
162 | 162 | ||
163 | CFLAGS-prefix.o += -DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s) | 163 | CFLAGS-prefix.o += -DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s) |
164 | prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h prefix.h \ | 164 | prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h prefix.h \ |
165 | Index: gcc-4_7-branch/gcc/configure | 165 | Index: gcc-4.7.2/gcc/configure |
166 | =================================================================== | 166 | =================================================================== |
167 | --- gcc-4_7-branch.orig/gcc/configure 2012-04-10 10:55:32.000000000 -0700 | 167 | --- gcc-4.7.2.orig/gcc/configure 2012-09-20 07:30:27.000000000 -0700 |
168 | +++ gcc-4_7-branch/gcc/configure 2012-04-10 10:56:12.183442720 -0700 | 168 | +++ gcc-4.7.2/gcc/configure 2012-09-20 07:41:08.548938066 -0700 |
169 | @@ -914,6 +914,7 @@ | 169 | @@ -914,6 +914,7 @@ |
170 | with_system_zlib | 170 | with_system_zlib |
171 | enable_maintainer_mode | 171 | enable_maintainer_mode |
@@ -183,25 +183,25 @@ Index: gcc-4_7-branch/gcc/configure | |||
183 | --enable-plugin enable plugin support | 183 | --enable-plugin enable plugin support |
184 | --disable-libquadmath-support | 184 | --disable-libquadmath-support |
185 | disable libquadmath support for Fortran | 185 | disable libquadmath support for Fortran |
186 | @@ -17970,7 +17973,7 @@ | 186 | @@ -18010,7 +18013,7 @@ |
187 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 187 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
188 | lt_status=$lt_dlunknown | 188 | lt_status=$lt_dlunknown |
189 | cat > conftest.$ac_ext <<_LT_EOF | 189 | cat > conftest.$ac_ext <<_LT_EOF |
190 | -#line 17973 "configure" | 190 | -#line 18013 "configure" |
191 | +#line 17976 "configure" | 191 | +#line 18016 "configure" |
192 | #include "confdefs.h" | 192 | #include "confdefs.h" |
193 | 193 | ||
194 | #if HAVE_DLFCN_H | 194 | #if HAVE_DLFCN_H |
195 | @@ -18076,7 +18079,7 @@ | 195 | @@ -18116,7 +18119,7 @@ |
196 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 196 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
197 | lt_status=$lt_dlunknown | 197 | lt_status=$lt_dlunknown |
198 | cat > conftest.$ac_ext <<_LT_EOF | 198 | cat > conftest.$ac_ext <<_LT_EOF |
199 | -#line 18079 "configure" | 199 | -#line 18119 "configure" |
200 | +#line 18082 "configure" | 200 | +#line 18122 "configure" |
201 | #include "confdefs.h" | 201 | #include "confdefs.h" |
202 | 202 | ||
203 | #if HAVE_DLFCN_H | 203 | #if HAVE_DLFCN_H |
204 | @@ -27075,6 +27078,19 @@ | 204 | @@ -27129,6 +27132,19 @@ |
205 | fi | 205 | fi |
206 | 206 | ||
207 | 207 | ||