diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-03-06 09:03:12 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-08 11:55:36 -0800 |
commit | 8ed044e4999175f8b5e2e3f33a81d2411d5e9e04 (patch) | |
tree | bd3954e1bce28d6a0ff8284c062a961324304a06 /meta/recipes-devtools/gcc/gcc-4.6/gcc-flags-for-build.patch | |
parent | d7663ff7ab2e5ef5c913befad5e0adfbd6cc22a2 (diff) | |
download | poky-8ed044e4999175f8b5e2e3f33a81d2411d5e9e04.tar.gz |
gcc: Upgrade to 4.6.3 release
core-image-sato/core-image-minimal builds and boots
on all qemu machines
(From OE-Core rev: 40d7a4b70d342f75e13de7872fb62e2b9d6d40bf)
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.6/gcc-flags-for-build.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6/gcc-flags-for-build.patch | 97 |
1 files changed, 53 insertions, 44 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6/gcc-flags-for-build.patch b/meta/recipes-devtools/gcc/gcc-4.6/gcc-flags-for-build.patch index 9cba50dcc5..5eaeb0508c 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6/gcc-flags-for-build.patch +++ b/meta/recipes-devtools/gcc/gcc-4.6/gcc-flags-for-build.patch | |||
@@ -1,10 +1,10 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | Index: gcc-4.6.0/Makefile.def | 3 | Index: gcc-4_6-branch/Makefile.def |
4 | =================================================================== | 4 | =================================================================== |
5 | --- gcc-4.6.0.orig/Makefile.def | 5 | --- gcc-4_6-branch.orig/Makefile.def 2012-03-03 01:08:03.000000000 -0800 |
6 | +++ gcc-4.6.0/Makefile.def | 6 | +++ gcc-4_6-branch/Makefile.def 2012-03-04 09:19:02.430607447 -0800 |
7 | @@ -243,6 +243,7 @@ flags_to_pass = { flag= AWK ; }; | 7 | @@ -242,6 +242,7 @@ |
8 | flags_to_pass = { flag= BISON ; }; | 8 | flags_to_pass = { flag= BISON ; }; |
9 | flags_to_pass = { flag= CC_FOR_BUILD ; }; | 9 | flags_to_pass = { flag= CC_FOR_BUILD ; }; |
10 | flags_to_pass = { flag= CFLAGS_FOR_BUILD ; }; | 10 | flags_to_pass = { flag= CFLAGS_FOR_BUILD ; }; |
@@ -12,11 +12,11 @@ Index: gcc-4.6.0/Makefile.def | |||
12 | flags_to_pass = { flag= CXX_FOR_BUILD ; }; | 12 | flags_to_pass = { flag= CXX_FOR_BUILD ; }; |
13 | flags_to_pass = { flag= EXPECT ; }; | 13 | flags_to_pass = { flag= EXPECT ; }; |
14 | flags_to_pass = { flag= FLEX ; }; | 14 | flags_to_pass = { flag= FLEX ; }; |
15 | Index: gcc-4.6.0/gcc/Makefile.in | 15 | Index: gcc-4_6-branch/gcc/Makefile.in |
16 | =================================================================== | 16 | =================================================================== |
17 | --- gcc-4.6.0.orig/gcc/Makefile.in | 17 | --- gcc-4_6-branch.orig/gcc/Makefile.in 2012-03-03 01:03:17.000000000 -0800 |
18 | +++ gcc-4.6.0/gcc/Makefile.in | 18 | +++ gcc-4_6-branch/gcc/Makefile.in 2012-03-04 09:19:02.430607447 -0800 |
19 | @@ -770,7 +770,7 @@ BUILD_LINKERFLAGS = $(BUILD_CFLAGS) | 19 | @@ -770,7 +770,7 @@ |
20 | 20 | ||
21 | # Native linker and preprocessor flags. For x-fragment overrides. | 21 | # Native linker and preprocessor flags. For x-fragment overrides. |
22 | BUILD_LDFLAGS=@BUILD_LDFLAGS@ | 22 | BUILD_LDFLAGS=@BUILD_LDFLAGS@ |
@@ -25,11 +25,11 @@ Index: gcc-4.6.0/gcc/Makefile.in | |||
25 | 25 | ||
26 | # Actual name to use when installing a native compiler. | 26 | # Actual name to use when installing a native compiler. |
27 | GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)') | 27 | GCC_INSTALL_NAME := $(shell echo gcc|sed '$(program_transform_name)') |
28 | Index: gcc-4.6.0/gcc/configure.ac | 28 | Index: gcc-4_6-branch/gcc/configure.ac |
29 | =================================================================== | 29 | =================================================================== |
30 | --- gcc-4.6.0.orig/gcc/configure.ac | 30 | --- gcc-4_6-branch.orig/gcc/configure.ac 2012-03-03 01:17:45.000000000 -0800 |
31 | +++ gcc-4.6.0/gcc/configure.ac | 31 | +++ gcc-4_6-branch/gcc/configure.ac 2012-03-04 09:19:02.430607447 -0800 |
32 | @@ -1784,16 +1784,18 @@ AC_SUBST(inhibit_libc) | 32 | @@ -1774,16 +1774,18 @@ |
33 | # Also, we cannot run fixincludes. | 33 | # Also, we cannot run fixincludes. |
34 | 34 | ||
35 | # These are the normal (build=host) settings: | 35 | # These are the normal (build=host) settings: |
@@ -52,11 +52,11 @@ Index: gcc-4.6.0/gcc/configure.ac | |||
52 | fi | 52 | fi |
53 | 53 | ||
54 | # Expand extra_headers to include complete path. | 54 | # Expand extra_headers to include complete path. |
55 | Index: gcc-4.6.0/Makefile.in | 55 | Index: gcc-4_6-branch/Makefile.in |
56 | =================================================================== | 56 | =================================================================== |
57 | --- gcc-4.6.0.orig/Makefile.in | 57 | --- gcc-4_6-branch.orig/Makefile.in 2012-03-03 01:08:03.000000000 -0800 |
58 | +++ gcc-4.6.0/Makefile.in | 58 | +++ gcc-4_6-branch/Makefile.in 2012-03-04 09:19:02.446607448 -0800 |
59 | @@ -338,6 +338,7 @@ AR_FOR_BUILD = @AR_FOR_BUILD@ | 59 | @@ -338,6 +338,7 @@ |
60 | AS_FOR_BUILD = @AS_FOR_BUILD@ | 60 | AS_FOR_BUILD = @AS_FOR_BUILD@ |
61 | CC_FOR_BUILD = @CC_FOR_BUILD@ | 61 | CC_FOR_BUILD = @CC_FOR_BUILD@ |
62 | CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ | 62 | CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ |
@@ -64,7 +64,7 @@ Index: gcc-4.6.0/Makefile.in | |||
64 | CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ | 64 | CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ |
65 | CXX_FOR_BUILD = @CXX_FOR_BUILD@ | 65 | CXX_FOR_BUILD = @CXX_FOR_BUILD@ |
66 | DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ | 66 | DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ |
67 | @@ -691,6 +692,7 @@ BASE_FLAGS_TO_PASS = \ | 67 | @@ -691,6 +692,7 @@ |
68 | "BISON=$(BISON)" \ | 68 | "BISON=$(BISON)" \ |
69 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ | 69 | "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ |
70 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ | 70 | "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ |
@@ -72,11 +72,11 @@ Index: gcc-4.6.0/Makefile.in | |||
72 | "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ | 72 | "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \ |
73 | "EXPECT=$(EXPECT)" \ | 73 | "EXPECT=$(EXPECT)" \ |
74 | "FLEX=$(FLEX)" \ | 74 | "FLEX=$(FLEX)" \ |
75 | Index: gcc-4.6.0/gcc/configure | 75 | Index: gcc-4_6-branch/gcc/configure |
76 | =================================================================== | 76 | =================================================================== |
77 | --- gcc-4.6.0.orig/gcc/configure | 77 | --- gcc-4_6-branch.orig/gcc/configure 2012-03-03 01:17:45.000000000 -0800 |
78 | +++ gcc-4.6.0/gcc/configure | 78 | +++ gcc-4_6-branch/gcc/configure 2012-03-04 09:19:15.638608087 -0800 |
79 | @@ -703,6 +703,7 @@ SED | 79 | @@ -703,6 +703,7 @@ |
80 | LIBTOOL | 80 | LIBTOOL |
81 | collect2 | 81 | collect2 |
82 | STMP_FIXINC | 82 | STMP_FIXINC |
@@ -84,7 +84,16 @@ Index: gcc-4.6.0/gcc/configure | |||
84 | BUILD_LDFLAGS | 84 | BUILD_LDFLAGS |
85 | BUILD_CFLAGS | 85 | BUILD_CFLAGS |
86 | CC_FOR_BUILD | 86 | CC_FOR_BUILD |
87 | @@ -11382,6 +11383,7 @@ fi | 87 | @@ -4842,7 +4843,7 @@ |
88 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5 | ||
89 | $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; } | ||
90 | |||
91 | -if test x$GNATBIND != xno && test x$GNATMAKE != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then | ||
92 | +if test "x$GNATBIND" != xno && test "x$GNATMAKE" != xno && test x$acx_cv_cc_gcc_supports_ada != xno; then | ||
93 | have_gnat=yes | ||
94 | else | ||
95 | have_gnat=no | ||
96 | @@ -11372,6 +11373,7 @@ | ||
88 | CC_FOR_BUILD='$(CC)' | 97 | CC_FOR_BUILD='$(CC)' |
89 | BUILD_CFLAGS='$(ALL_CFLAGS)' | 98 | BUILD_CFLAGS='$(ALL_CFLAGS)' |
90 | BUILD_LDFLAGS='$(LDFLAGS)' | 99 | BUILD_LDFLAGS='$(LDFLAGS)' |
@@ -92,7 +101,7 @@ Index: gcc-4.6.0/gcc/configure | |||
92 | STMP_FIXINC=stmp-fixinc | 101 | STMP_FIXINC=stmp-fixinc |
93 | 102 | ||
94 | # And these apply if build != host, or we are generating coverage data | 103 | # And these apply if build != host, or we are generating coverage data |
95 | @@ -11389,6 +11391,7 @@ if test x$build != x$host || test "x$cov | 104 | @@ -11379,6 +11381,7 @@ |
96 | then | 105 | then |
97 | BUILD_CFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)' | 106 | BUILD_CFLAGS='$(INTERNAL_CFLAGS) $(T_CFLAGS) $(CFLAGS_FOR_BUILD)' |
98 | BUILD_LDFLAGS='$(LDFLAGS_FOR_BUILD)' | 107 | BUILD_LDFLAGS='$(LDFLAGS_FOR_BUILD)' |
@@ -100,29 +109,29 @@ Index: gcc-4.6.0/gcc/configure | |||
100 | fi | 109 | fi |
101 | 110 | ||
102 | # Expand extra_headers to include complete path. | 111 | # Expand extra_headers to include complete path. |
103 | @@ -17505,7 +17508,7 @@ else | 112 | @@ -17495,7 +17498,7 @@ |
104 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 113 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
105 | lt_status=$lt_dlunknown | 114 | lt_status=$lt_dlunknown |
106 | cat > conftest.$ac_ext <<_LT_EOF | 115 | cat > conftest.$ac_ext <<_LT_EOF |
107 | -#line 17508 "configure" | 116 | -#line 17498 "configure" |
108 | +#line 17511 "configure" | 117 | +#line 17501 "configure" |
109 | #include "confdefs.h" | 118 | #include "confdefs.h" |
110 | 119 | ||
111 | #if HAVE_DLFCN_H | 120 | #if HAVE_DLFCN_H |
112 | @@ -17611,7 +17614,7 @@ else | 121 | @@ -17601,7 +17604,7 @@ |
113 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 122 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
114 | lt_status=$lt_dlunknown | 123 | lt_status=$lt_dlunknown |
115 | cat > conftest.$ac_ext <<_LT_EOF | 124 | cat > conftest.$ac_ext <<_LT_EOF |
116 | -#line 17614 "configure" | 125 | -#line 17604 "configure" |
117 | +#line 17617 "configure" | 126 | +#line 17607 "configure" |
118 | #include "confdefs.h" | 127 | #include "confdefs.h" |
119 | 128 | ||
120 | #if HAVE_DLFCN_H | 129 | #if HAVE_DLFCN_H |
121 | Index: gcc-4.6.0/Makefile.tpl | 130 | Index: gcc-4_6-branch/Makefile.tpl |
122 | =================================================================== | 131 | =================================================================== |
123 | --- gcc-4.6.0.orig/Makefile.tpl | 132 | --- gcc-4_6-branch.orig/Makefile.tpl 2012-03-03 01:08:03.000000000 -0800 |
124 | +++ gcc-4.6.0/Makefile.tpl | 133 | +++ gcc-4_6-branch/Makefile.tpl 2012-03-04 09:19:02.454607448 -0800 |
125 | @@ -341,6 +341,7 @@ AR_FOR_BUILD = @AR_FOR_BUILD@ | 134 | @@ -341,6 +341,7 @@ |
126 | AS_FOR_BUILD = @AS_FOR_BUILD@ | 135 | AS_FOR_BUILD = @AS_FOR_BUILD@ |
127 | CC_FOR_BUILD = @CC_FOR_BUILD@ | 136 | CC_FOR_BUILD = @CC_FOR_BUILD@ |
128 | CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ | 137 | CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ |
@@ -130,11 +139,11 @@ Index: gcc-4.6.0/Makefile.tpl | |||
130 | CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ | 139 | CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@ |
131 | CXX_FOR_BUILD = @CXX_FOR_BUILD@ | 140 | CXX_FOR_BUILD = @CXX_FOR_BUILD@ |
132 | DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ | 141 | DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@ |
133 | Index: gcc-4.6.0/configure.ac | 142 | Index: gcc-4_6-branch/configure.ac |
134 | =================================================================== | 143 | =================================================================== |
135 | --- gcc-4.6.0.orig/configure.ac | 144 | --- gcc-4_6-branch.orig/configure.ac 2012-03-03 01:17:45.000000000 -0800 |
136 | +++ gcc-4.6.0/configure.ac | 145 | +++ gcc-4_6-branch/configure.ac 2012-03-04 09:19:02.454607448 -0800 |
137 | @@ -3154,6 +3154,7 @@ esac | 146 | @@ -3123,6 +3123,7 @@ |
138 | # our build compiler if desired. | 147 | # our build compiler if desired. |
139 | if test x"${build}" = x"${host}" ; then | 148 | if test x"${build}" = x"${host}" ; then |
140 | CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} | 149 | CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} |
@@ -142,7 +151,7 @@ Index: gcc-4.6.0/configure.ac | |||
142 | CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} | 151 | CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} |
143 | LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} | 152 | LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} |
144 | fi | 153 | fi |
145 | @@ -3220,6 +3221,7 @@ AC_SUBST(AR_FOR_BUILD) | 154 | @@ -3189,6 +3190,7 @@ |
146 | AC_SUBST(AS_FOR_BUILD) | 155 | AC_SUBST(AS_FOR_BUILD) |
147 | AC_SUBST(CC_FOR_BUILD) | 156 | AC_SUBST(CC_FOR_BUILD) |
148 | AC_SUBST(CFLAGS_FOR_BUILD) | 157 | AC_SUBST(CFLAGS_FOR_BUILD) |
@@ -150,11 +159,11 @@ Index: gcc-4.6.0/configure.ac | |||
150 | AC_SUBST(CXXFLAGS_FOR_BUILD) | 159 | AC_SUBST(CXXFLAGS_FOR_BUILD) |
151 | AC_SUBST(CXX_FOR_BUILD) | 160 | AC_SUBST(CXX_FOR_BUILD) |
152 | AC_SUBST(DLLTOOL_FOR_BUILD) | 161 | AC_SUBST(DLLTOOL_FOR_BUILD) |
153 | Index: gcc-4.6.0/configure | 162 | Index: gcc-4_6-branch/configure |
154 | =================================================================== | 163 | =================================================================== |
155 | --- gcc-4.6.0.orig/configure | 164 | --- gcc-4_6-branch.orig/configure 2012-03-03 01:17:45.000000000 -0800 |
156 | +++ gcc-4.6.0/configure | 165 | +++ gcc-4_6-branch/configure 2012-03-04 09:19:02.458607448 -0800 |
157 | @@ -617,6 +617,7 @@ GCJ_FOR_BUILD | 166 | @@ -617,6 +617,7 @@ |
158 | DLLTOOL_FOR_BUILD | 167 | DLLTOOL_FOR_BUILD |
159 | CXX_FOR_BUILD | 168 | CXX_FOR_BUILD |
160 | CXXFLAGS_FOR_BUILD | 169 | CXXFLAGS_FOR_BUILD |
@@ -162,7 +171,7 @@ Index: gcc-4.6.0/configure | |||
162 | CFLAGS_FOR_BUILD | 171 | CFLAGS_FOR_BUILD |
163 | CC_FOR_BUILD | 172 | CC_FOR_BUILD |
164 | AS_FOR_BUILD | 173 | AS_FOR_BUILD |
165 | @@ -7675,6 +7676,7 @@ esac | 174 | @@ -7644,6 +7645,7 @@ |
166 | # our build compiler if desired. | 175 | # our build compiler if desired. |
167 | if test x"${build}" = x"${host}" ; then | 176 | if test x"${build}" = x"${host}" ; then |
168 | CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} | 177 | CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}} |
@@ -170,7 +179,7 @@ Index: gcc-4.6.0/configure | |||
170 | CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} | 179 | CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}} |
171 | LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} | 180 | LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}} |
172 | fi | 181 | fi |
173 | @@ -7740,6 +7742,7 @@ done | 182 | @@ -7709,6 +7711,7 @@ |
174 | 183 | ||
175 | 184 | ||
176 | 185 | ||