* [PATCH 0/1] Fix for beagleboard ICE when building lttng-ust @ 2011-09-07 5:03 Saul Wold 2011-09-07 5:03 ` [PATCH 1/1] gcc: add patch for ice 50099, which caused lttng-ust not to build Saul Wold 0 siblings, 1 reply; 3+ messages in thread From: Saul Wold @ 2011-09-07 5:03 UTC (permalink / raw) To: openembedded-core The following changes since commit 41b7c955cfdc7b4d5c667c8a8742237d5edaca4f: icu-3.6: fix building with big make -j (2011-09-05 20:38:50 +0100) are available in the git repository at: git://git.openembedded.org/openembedded-core-contrib sgw/gcc-fix http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=sgw/gcc-fix Saul Wold (1): gcc: add patch for ice 50099, which caused lttng-ust not to build meta/recipes-devtools/gcc/gcc-4.6.inc | 3 +- .../gcc/gcc-4.6/fix-for-ice-50099.patch | 38 ++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/fix-for-ice-50099.patch -- 1.7.6 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] gcc: add patch for ice 50099, which caused lttng-ust not to build 2011-09-07 5:03 [PATCH 0/1] Fix for beagleboard ICE when building lttng-ust Saul Wold @ 2011-09-07 5:03 ` Saul Wold 2011-09-07 7:24 ` Koen Kooi 0 siblings, 1 reply; 3+ messages in thread From: Saul Wold @ 2011-09-07 5:03 UTC (permalink / raw) To: openembedded-core [YOCTO #1381] This patch came from from GCC Bugzilla via Khem Cc: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> --- meta/recipes-devtools/gcc/gcc-4.6.inc | 3 +- .../gcc/gcc-4.6/fix-for-ice-50099.patch | 38 ++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/fix-for-ice-50099.patch diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes-devtools/gcc/gcc-4.6.inc index 380f9f7..f7bcf30 100644 --- a/meta/recipes-devtools/gcc/gcc-4.6.inc +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc @@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r9" +PR = "r10" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.6.0 @@ -67,6 +67,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://volatile_access_backport.patch \ file://use-defaults.h-and-t-oe-in-B.patch \ file://powerpc-e5500.patch \ + file://fix-for-ice-50099.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch " diff --git a/meta/recipes-devtools/gcc/gcc-4.6/fix-for-ice-50099.patch b/meta/recipes-devtools/gcc/gcc-4.6/fix-for-ice-50099.patch new file mode 100644 index 0000000..4b9f70d --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.6/fix-for-ice-50099.patch @@ -0,0 +1,38 @@ +Index: gcc/config/arm/arm.md +=================================================================== +--- gcc-4.6.0/gcc/config/arm/arm.md (revision 178135) ++++ gcc-4.6.0/gcc/config/arm/arm.md (working copy) +@@ -4217,6 +4217,7 @@ (define_split + "TARGET_32BIT" + [(set (match_dup 0) (ashiftrt:SI (match_dup 1) (const_int 31)))] + { ++ rtx srcop = operands[1]; + rtx lo_part = gen_lowpart (SImode, operands[0]); + enum machine_mode src_mode = GET_MODE (operands[1]); + +@@ -4224,14 +4225,21 @@ (define_split + && !reg_overlap_mentioned_p (operands[0], operands[1])) + emit_clobber (operands[0]); + ++ if (TARGET_ARM && src_mode == QImode ++ && !arm_reg_or_extendqisi_mem_op (srcop, QImode)) ++ { ++ rtx dest = gen_lowpart (QImode, lo_part); ++ emit_move_insn (dest, srcop); ++ srcop = dest; ++ } + if (!REG_P (lo_part) || src_mode != SImode +- || !rtx_equal_p (lo_part, operands[1])) ++ || !rtx_equal_p (lo_part, srcop)) + { + if (src_mode == SImode) +- emit_move_insn (lo_part, operands[1]); ++ emit_move_insn (lo_part, srcop); + else + emit_insn (gen_rtx_SET (VOIDmode, lo_part, +- gen_rtx_SIGN_EXTEND (SImode, operands[1]))); ++ gen_rtx_SIGN_EXTEND (SImode, srcop))); + operands[1] = lo_part; + } + operands[0] = gen_highpart (SImode, operands[0]); + -- 1.7.6 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] gcc: add patch for ice 50099, which caused lttng-ust not to build 2011-09-07 5:03 ` [PATCH 1/1] gcc: add patch for ice 50099, which caused lttng-ust not to build Saul Wold @ 2011-09-07 7:24 ` Koen Kooi 0 siblings, 0 replies; 3+ messages in thread From: Koen Kooi @ 2011-09-07 7:24 UTC (permalink / raw) To: Patches and discussions about the oe-core layer Op 7 sep 2011, om 07:03 heeft Saul Wold het volgende geschreven: > [YOCTO #1381] > > This patch came from from GCC Bugzilla via Khem > > Cc: Khem Raj <raj.khem@gmail.com> > Signed-off-by: Saul Wold <sgw@linux.intel.com> > --- > meta/recipes-devtools/gcc/gcc-4.6.inc | 3 +- > .../gcc/gcc-4.6/fix-for-ice-50099.patch | 38 +++++++++++ > +++++++++ > 2 files changed, 40 insertions(+), 1 deletions(-) > create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/fix-for- > ice-50099.patch > > diff --git a/meta/recipes-devtools/gcc/gcc-4.6.inc b/meta/recipes- > devtools/gcc/gcc-4.6.inc > index 380f9f7..f7bcf30 100644 > --- a/meta/recipes-devtools/gcc/gcc-4.6.inc > +++ b/meta/recipes-devtools/gcc/gcc-4.6.inc > @@ -1,6 +1,6 @@ > require gcc-common.inc > > -PR = "r9" > +PR = "r10" > > # Third digit in PV should be incremented after a minor release > # happens from this branch on gcc e.g. currently its 4.6.0 > @@ -67,6 +67,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/ > branches;module=${BRANCH};proto=http \ > file://volatile_access_backport.patch \ > file://use-defaults.h-and-t-oe-in-B.patch \ > file://powerpc-e5500.patch \ > + file://fix-for-ice-50099.patch \ > " > > SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch " > diff --git a/meta/recipes-devtools/gcc/gcc-4.6/fix-for- > ice-50099.patch b/meta/recipes-devtools/gcc/gcc-4.6/fix-for- > ice-50099.patch > new file mode 100644 > index 0000000..4b9f70d > --- /dev/null > +++ b/meta/recipes-devtools/gcc/gcc-4.6/fix-for-ice-50099.patch > @@ -0,0 +1,38 @@ > +Index: gcc/config/arm/arm.md > +=================================================================== > +--- gcc-4.6.0/gcc/config/arm/arm.md (revision 178135) > ++++ gcc-4.6.0/gcc/config/arm/arm.md (working copy) Where's the patch header for this patch with e.g. upstream status? ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-09-07 7:29 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-09-07 5:03 [PATCH 0/1] Fix for beagleboard ICE when building lttng-ust Saul Wold 2011-09-07 5:03 ` [PATCH 1/1] gcc: add patch for ice 50099, which caused lttng-ust not to build Saul Wold 2011-09-07 7:24 ` Koen Kooi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox