gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch
PATCH 1/1 gcc-4.5.1: Drop gcc-poison-parameters.patch, replace with bug fix patch
The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers.
This bug below reports the issue and is fixed in gcc-4.6.x/mainline:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618
Backport patch to gcc 4.5.1.
--- meta/recipes-devtools/gcc/gcc-4.5.1.inc | 4 +- .../gcc/gcc-4.5.1/gcc-poison-parameters.patch | 85 ------ meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch | 314 ++++++++++++++++++++ 3 files changed, 316 insertions(+), 87 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-parameters.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch
meta/recipes-devtools/gcc/gcc-4.5.1.inc +2 -2
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r8" +PR = "r9" DEPENDS =+ "mpfr gmp libmpc elfutils" NATIVEDEPS = "mpfr-native gmp-native gettext-native libmpc-native elfutils-native"
@@ -56,7 +56,6 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://64bithack.patch \ file://optional_libstdc.patch \ file://disable_relax_pic_calls_flag.patch \ - file://gcc-poison-parameters.patch \ file://GPLUSPLUS_INCLUDE_DIR_with_sysroot.patch \ file://COLLECT_GCC_OPTIONS.patch \ file://use-defaults.h-and-t-oe-in-B.patch \
@@ -66,6 +65,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://pr45094.patch \ file://pr45052.patch \ file://pr45886.patch \ + file://pr44618.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch "
meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-parameters.patch deleted +0 -85
85 lines not on this page · raw message
meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch new file +314 -0
314 lines not on this page · raw message
Signature · 1 line
1.7.3.4
Richard Purdie
AppliedQuoted 9 lines · Kumar Gala
The gcc-poison-parameters was added specifically to deal with an issue on ppc targets and a bug when we build with -Os -frename-registers.
This bug below reports the issue and is fixed in gcc-4.6.x/mainline:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44618
Backport patch to gcc 4.5.1.
Quoted 8 lines
Signed-off-by Kumar Gala <[email protected]>--- meta/recipes-devtools/gcc/gcc-4.5.1.inc | 4 +- .../gcc/gcc-4.5.1/gcc-poison-parameters.patch | 85 ------ meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch | 314 ++++++++++++++++++++ 3 files changed, 316 insertions(+), 87 deletions(-) delete mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/gcc-poison-parameters.patch create mode 100644 meta/recipes-devtools/gcc/gcc-4.5.1/pr44618.patch
Merged to master, thanks.
Richard