diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-03-18 14:29:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-24 12:33:36 +0000 |
commit | b6b9f7ae638a0cc04aa7237ff30c0920581d6154 (patch) | |
tree | cb83aff8c52ae0b7d20666deca67b882e7b1643b /meta/recipes-devtools | |
parent | 54d46cb6935556773b84496a64def8442ec83a7c (diff) | |
download | poky-b6b9f7ae638a0cc04aa7237ff30c0920581d6154.tar.gz |
gcc-runtime_4.5.1.bb: Fix ICE in gcc-runtime with -feliminate-dwarf2-dups
GCC 4.5 ends up in an ICE when compiling libstdc++ pre compiled header
so we eliminate -feliminate-dwarf2-dups for gcc-runtime
(From OE-Core rev: e0eeb10144db74c0671acd684059e8a6f82a572f)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb index 9eb658b12c..9d4e158fb5 100644 --- a/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb +++ b/meta/recipes-devtools/gcc/gcc-runtime_4.5.1.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | PR = "r4" | 1 | PR = "r5" |
2 | 2 | ||
3 | require gcc-${PV}.inc | 3 | require gcc-${PV}.inc |
4 | require gcc-configure-runtime.inc | 4 | require gcc-configure-runtime.inc |
@@ -9,3 +9,8 @@ SRC_URI_append = "file://fortran-cross-compile-hack.patch" | |||
9 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}" | 9 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_INCDIR}" |
10 | 10 | ||
11 | EXTRA_OECONF += "--disable-libunwind-exceptions" | 11 | EXTRA_OECONF += "--disable-libunwind-exceptions" |
12 | |||
13 | # gcc 4.5 ends up in ICE when using -feliminate-dwarf2-dups in libstdc++ | ||
14 | # compiling pre compiled headers so we remove this option when compiling | ||
15 | # to workaround it | ||
16 | CXXFLAGS := "${@oe_filter_out('-feliminate-dwarf2-dups', '${CXXFLAGS}', d)}" | ||