diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-04-06 17:36:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-08 10:53:31 +0100 |
commit | 3ed754b37566ea52016d0297cc3c0865d5fe3eb6 (patch) | |
tree | 685ff37ffd9458e266310d3a89635fc1a24bcf95 /meta/recipes-devtools/gcc/gcc-4.8/0016-gcc-poison-system-directories.patch | |
parent | ca6b43cd8d5fb69f07b75f1de92f46e8767f9c99 (diff) | |
download | poky-3ed754b37566ea52016d0297cc3c0865d5fe3eb6.tar.gz |
gcc-4.8: Upgrade 4.8.2 -> 4.8.4
Drop already applied patches
This fixes random ICE seen on mips with large c++ files ( webkit )
Then there are several backports
Change-Id: Ie1c3acda2fda1b6cbd356416c860938f6cbd758e
(From OE-Core rev: ca228b117abe3dc40c996a006c9cbea91c17ccea)
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.8/0016-gcc-poison-system-directories.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.8/0016-gcc-poison-system-directories.patch | 95 |
1 files changed, 46 insertions, 49 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/0016-gcc-poison-system-directories.patch b/meta/recipes-devtools/gcc/gcc-4.8/0016-gcc-poison-system-directories.patch index 1e2a9e1009..c955e49205 100644 --- a/meta/recipes-devtools/gcc/gcc-4.8/0016-gcc-poison-system-directories.patch +++ b/meta/recipes-devtools/gcc/gcc-4.8/0016-gcc-poison-system-directories.patch | |||
@@ -17,11 +17,11 @@ Upstream-Status: Inappropriate [distribution: codesourcery] | |||
17 | gcc/incpath.c | 19 +++++++++++++++++++ | 17 | gcc/incpath.c | 19 +++++++++++++++++++ |
18 | 8 files changed, 69 insertions(+), 3 deletions(-) | 18 | 8 files changed, 69 insertions(+), 3 deletions(-) |
19 | 19 | ||
20 | diff --git a/gcc/Makefile.in b/gcc/Makefile.in | 20 | Index: gcc-4.8.4/gcc/Makefile.in |
21 | index 54ea04f..90a2bba 100644 | 21 | =================================================================== |
22 | --- a/gcc/Makefile.in | 22 | --- gcc-4.8.4.orig/gcc/Makefile.in |
23 | +++ b/gcc/Makefile.in | 23 | +++ gcc-4.8.4/gcc/Makefile.in |
24 | @@ -2018,7 +2018,7 @@ attribs.o : attribs.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ | 24 | @@ -2019,7 +2019,7 @@ attribs.o : attribs.c $(CONFIG_H) $(SYST |
25 | 25 | ||
26 | incpath.o: incpath.c incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \ | 26 | incpath.o: incpath.c incpath.h $(CONFIG_H) $(SYSTEM_H) $(CPPLIB_H) \ |
27 | intl.h prefix.h coretypes.h $(TM_H) cppdefault.h $(TARGET_H) \ | 27 | intl.h prefix.h coretypes.h $(TM_H) cppdefault.h $(TARGET_H) \ |
@@ -30,10 +30,10 @@ index 54ea04f..90a2bba 100644 | |||
30 | 30 | ||
31 | CFLAGS-prefix.o += -DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s) | 31 | CFLAGS-prefix.o += -DPREFIX=\"$(prefix)\" -DBASEVER=$(BASEVER_s) |
32 | prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h prefix.h \ | 32 | prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h prefix.h \ |
33 | diff --git a/gcc/common.opt b/gcc/common.opt | 33 | Index: gcc-4.8.4/gcc/common.opt |
34 | index bdbd3b6..ab86b00 100644 | 34 | =================================================================== |
35 | --- a/gcc/common.opt | 35 | --- gcc-4.8.4.orig/gcc/common.opt |
36 | +++ b/gcc/common.opt | 36 | +++ gcc-4.8.4/gcc/common.opt |
37 | @@ -595,6 +595,10 @@ Wpedantic | 37 | @@ -595,6 +595,10 @@ Wpedantic |
38 | Common Var(pedantic) Warning | 38 | Common Var(pedantic) Warning |
39 | Issue warnings needed for strict compliance to the standard | 39 | Issue warnings needed for strict compliance to the standard |
@@ -45,10 +45,10 @@ index bdbd3b6..ab86b00 100644 | |||
45 | Wshadow | 45 | Wshadow |
46 | Common Var(warn_shadow) Warning | 46 | Common Var(warn_shadow) Warning |
47 | Warn when one local variable shadows another | 47 | Warn when one local variable shadows another |
48 | diff --git a/gcc/config.in b/gcc/config.in | 48 | Index: gcc-4.8.4/gcc/config.in |
49 | index d80fb9f..0524af7 100644 | 49 | =================================================================== |
50 | --- a/gcc/config.in | 50 | --- gcc-4.8.4.orig/gcc/config.in |
51 | +++ b/gcc/config.in | 51 | +++ gcc-4.8.4/gcc/config.in |
52 | @@ -138,6 +138,12 @@ | 52 | @@ -138,6 +138,12 @@ |
53 | #endif | 53 | #endif |
54 | 54 | ||
@@ -62,11 +62,11 @@ index d80fb9f..0524af7 100644 | |||
62 | /* Define if you want all operations on RTL (the basic data structure of the | 62 | /* Define if you want all operations on RTL (the basic data structure of the |
63 | optimizer and back end) to be checked for dynamic type safety at runtime. | 63 | optimizer and back end) to be checked for dynamic type safety at runtime. |
64 | This is quite expensive. */ | 64 | This is quite expensive. */ |
65 | diff --git a/gcc/configure b/gcc/configure | 65 | Index: gcc-4.8.4/gcc/configure |
66 | index 135bbf5..b65d21d 100755 | 66 | =================================================================== |
67 | --- a/gcc/configure | 67 | --- gcc-4.8.4.orig/gcc/configure |
68 | +++ b/gcc/configure | 68 | +++ gcc-4.8.4/gcc/configure |
69 | @@ -917,6 +917,7 @@ with_gc | 69 | @@ -918,6 +918,7 @@ with_gc |
70 | with_system_zlib | 70 | with_system_zlib |
71 | enable_maintainer_mode | 71 | enable_maintainer_mode |
72 | enable_version_specific_runtime_libs | 72 | enable_version_specific_runtime_libs |
@@ -74,7 +74,7 @@ index 135bbf5..b65d21d 100755 | |||
74 | enable_plugin | 74 | enable_plugin |
75 | enable_libquadmath_support | 75 | enable_libquadmath_support |
76 | with_linker_hash_style | 76 | with_linker_hash_style |
77 | @@ -1630,6 +1631,8 @@ Optional Features: | 77 | @@ -1639,6 +1640,8 @@ Optional Features: |
78 | --enable-version-specific-runtime-libs | 78 | --enable-version-specific-runtime-libs |
79 | specify that runtime libraries should be installed | 79 | specify that runtime libraries should be installed |
80 | in a compiler-specific directory | 80 | in a compiler-specific directory |
@@ -83,25 +83,25 @@ index 135bbf5..b65d21d 100755 | |||
83 | --enable-plugin enable plugin support | 83 | --enable-plugin enable plugin support |
84 | --disable-libquadmath-support | 84 | --disable-libquadmath-support |
85 | disable libquadmath support for Fortran | 85 | disable libquadmath support for Fortran |
86 | @@ -17828,7 +17831,7 @@ else | 86 | @@ -17847,7 +17850,7 @@ else |
87 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 87 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
88 | lt_status=$lt_dlunknown | 88 | lt_status=$lt_dlunknown |
89 | cat > conftest.$ac_ext <<_LT_EOF | 89 | cat > conftest.$ac_ext <<_LT_EOF |
90 | -#line 17831 "configure" | 90 | -#line 17850 "configure" |
91 | +#line 17834 "configure" | 91 | +#line 17853 "configure" |
92 | #include "confdefs.h" | 92 | #include "confdefs.h" |
93 | 93 | ||
94 | #if HAVE_DLFCN_H | 94 | #if HAVE_DLFCN_H |
95 | @@ -17934,7 +17937,7 @@ else | 95 | @@ -17953,7 +17956,7 @@ else |
96 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 96 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
97 | lt_status=$lt_dlunknown | 97 | lt_status=$lt_dlunknown |
98 | cat > conftest.$ac_ext <<_LT_EOF | 98 | cat > conftest.$ac_ext <<_LT_EOF |
99 | -#line 17937 "configure" | 99 | -#line 17956 "configure" |
100 | +#line 17940 "configure" | 100 | +#line 17959 "configure" |
101 | #include "confdefs.h" | 101 | #include "confdefs.h" |
102 | 102 | ||
103 | #if HAVE_DLFCN_H | 103 | #if HAVE_DLFCN_H |
104 | @@ -27103,6 +27106,19 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then : | 104 | @@ -27219,6 +27222,19 @@ if test "${enable_version_specific_runti |
105 | fi | 105 | fi |
106 | 106 | ||
107 | 107 | ||
@@ -121,11 +121,11 @@ index 135bbf5..b65d21d 100755 | |||
121 | # Substitute configuration variables | 121 | # Substitute configuration variables |
122 | 122 | ||
123 | 123 | ||
124 | diff --git a/gcc/configure.ac b/gcc/configure.ac | 124 | Index: gcc-4.8.4/gcc/configure.ac |
125 | index 6363a21..e226b85 100644 | 125 | =================================================================== |
126 | --- a/gcc/configure.ac | 126 | --- gcc-4.8.4.orig/gcc/configure.ac |
127 | +++ b/gcc/configure.ac | 127 | +++ gcc-4.8.4/gcc/configure.ac |
128 | @@ -5063,6 +5063,16 @@ AC_ARG_ENABLE(version-specific-runtime-libs, | 128 | @@ -5120,6 +5120,16 @@ AC_ARG_ENABLE(version-specific-runtime-l |
129 | [specify that runtime libraries should be | 129 | [specify that runtime libraries should be |
130 | installed in a compiler-specific directory])]) | 130 | installed in a compiler-specific directory])]) |
131 | 131 | ||
@@ -142,10 +142,10 @@ index 6363a21..e226b85 100644 | |||
142 | # Substitute configuration variables | 142 | # Substitute configuration variables |
143 | AC_SUBST(subdirs) | 143 | AC_SUBST(subdirs) |
144 | AC_SUBST(srcdir) | 144 | AC_SUBST(srcdir) |
145 | diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi | 145 | Index: gcc-4.8.4/gcc/doc/invoke.texi |
146 | index 9273d7d..a022622 100644 | 146 | =================================================================== |
147 | --- a/gcc/doc/invoke.texi | 147 | --- gcc-4.8.4.orig/gcc/doc/invoke.texi |
148 | +++ b/gcc/doc/invoke.texi | 148 | +++ gcc-4.8.4/gcc/doc/invoke.texi |
149 | @@ -258,6 +258,7 @@ Objective-C and Objective-C++ Dialects}. | 149 | @@ -258,6 +258,7 @@ Objective-C and Objective-C++ Dialects}. |
150 | -Woverlength-strings -Wpacked -Wpacked-bitfield-compat -Wpadded @gol | 150 | -Woverlength-strings -Wpacked -Wpacked-bitfield-compat -Wpadded @gol |
151 | -Wparentheses -Wpedantic-ms-format -Wno-pedantic-ms-format @gol | 151 | -Wparentheses -Wpedantic-ms-format -Wno-pedantic-ms-format @gol |
@@ -154,7 +154,7 @@ index 9273d7d..a022622 100644 | |||
154 | -Wredundant-decls -Wno-return-local-addr @gol | 154 | -Wredundant-decls -Wno-return-local-addr @gol |
155 | -Wreturn-type -Wsequence-point -Wshadow @gol | 155 | -Wreturn-type -Wsequence-point -Wshadow @gol |
156 | -Wsign-compare -Wsign-conversion -Wsizeof-pointer-memaccess @gol | 156 | -Wsign-compare -Wsign-conversion -Wsizeof-pointer-memaccess @gol |
157 | @@ -4007,6 +4008,14 @@ headers---for that, @option{-Wunknown-pragmas} must also be used. | 157 | @@ -4022,6 +4023,14 @@ headers---for that, @option{-Wunknown-pr |
158 | for most targets, it is made up of code and thus requires the stack | 158 | for most targets, it is made up of code and thus requires the stack |
159 | to be made executable in order for the program to work properly. | 159 | to be made executable in order for the program to work properly. |
160 | 160 | ||
@@ -169,11 +169,11 @@ index 9273d7d..a022622 100644 | |||
169 | @item -Wfloat-equal | 169 | @item -Wfloat-equal |
170 | @opindex Wfloat-equal | 170 | @opindex Wfloat-equal |
171 | @opindex Wno-float-equal | 171 | @opindex Wno-float-equal |
172 | diff --git a/gcc/gcc.c b/gcc/gcc.c | 172 | Index: gcc-4.8.4/gcc/gcc.c |
173 | index 86077f8..efdb625 100644 | 173 | =================================================================== |
174 | --- a/gcc/gcc.c | 174 | --- gcc-4.8.4.orig/gcc/gcc.c |
175 | +++ b/gcc/gcc.c | 175 | +++ gcc-4.8.4/gcc/gcc.c |
176 | @@ -740,6 +740,8 @@ proper position among the other output files. */ | 176 | @@ -741,6 +741,8 @@ proper position among the other output f |
177 | "%{fuse-ld=*:-fuse-ld=%*}\ | 177 | "%{fuse-ld=*:-fuse-ld=%*}\ |
178 | %X %{o*} %{e*} %{N} %{n} %{r}\ | 178 | %X %{o*} %{e*} %{N} %{n} %{r}\ |
179 | %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}}\ | 179 | %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}}\ |
@@ -182,10 +182,10 @@ index 86077f8..efdb625 100644 | |||
182 | %{static:} %{L*} %(mfwrap) %(link_libgcc) " SANITIZER_EARLY_SPEC " %o\ | 182 | %{static:} %{L*} %(mfwrap) %(link_libgcc) " SANITIZER_EARLY_SPEC " %o\ |
183 | %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\ | 183 | %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)}\ |
184 | %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\ | 184 | %{fgnu-tm:%:include(libitm.spec)%(link_itm)}\ |
185 | diff --git a/gcc/incpath.c b/gcc/incpath.c | 185 | Index: gcc-4.8.4/gcc/incpath.c |
186 | index 018da98..cd41c78 100644 | 186 | =================================================================== |
187 | --- a/gcc/incpath.c | 187 | --- gcc-4.8.4.orig/gcc/incpath.c |
188 | +++ b/gcc/incpath.c | 188 | +++ gcc-4.8.4/gcc/incpath.c |
189 | @@ -28,6 +28,7 @@ | 189 | @@ -28,6 +28,7 @@ |
190 | #include "intl.h" | 190 | #include "intl.h" |
191 | #include "incpath.h" | 191 | #include "incpath.h" |
@@ -194,7 +194,7 @@ index 018da98..cd41c78 100644 | |||
194 | 194 | ||
195 | /* Microsoft Windows does not natively support inodes. | 195 | /* Microsoft Windows does not natively support inodes. |
196 | VMS has non-numeric inodes. */ | 196 | VMS has non-numeric inodes. */ |
197 | @@ -382,6 +383,24 @@ merge_include_chains (const char *sysroot, cpp_reader *pfile, int verbose) | 197 | @@ -382,6 +383,24 @@ merge_include_chains (const char *sysroo |
198 | } | 198 | } |
199 | fprintf (stderr, _("End of search list.\n")); | 199 | fprintf (stderr, _("End of search list.\n")); |
200 | } | 200 | } |
@@ -219,6 +219,3 @@ index 018da98..cd41c78 100644 | |||
219 | } | 219 | } |
220 | 220 | ||
221 | /* Use given -I paths for #include "..." but not #include <...>, and | 221 | /* Use given -I paths for #include "..." but not #include <...>, and |
222 | -- | ||
223 | 1.7.10.4 | ||
224 | |||