[oe-commits] org.oe.dev gcc 4.1.1: add patch to fix an ICE with building glibc with certain CFLAGS, if you get the ICE, you should update to binutils 2.17.50.0.5 as well
koen commit
openembedded-commits at lists.openembedded.org
Mon Dec 4 04:26:49 UTC 2006
gcc 4.1.1: add patch to fix an ICE with building glibc with certain CFLAGS, if you get the ICE, you should update to binutils 2.17.50.0.5 as well
Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: d6c00f5b34119df40f96e1c430057fead9087b1a
ViewMTN: http://monotone.openembedded.org/revision.psp?id=d6c00f5b34119df40f96e1c430057fead9087b1a
Files:
1
packages/gcc/gcc-4.1.1/fix-ICE-in-arm_unwind_emit_set.diff
packages/gcc/gcc_4.1.1.bb
Diffs:
#
# mt diff -rd1a55054a6d55fc438e514548181c2aa964087fe -rd6c00f5b34119df40f96e1c430057fead9087b1a
#
#
#
# add_file "packages/gcc/gcc-4.1.1/fix-ICE-in-arm_unwind_emit_set.diff"
# content [f0e4b252f1cb809a7708d82dad7317cb0a29f2ca]
#
# patch "packages/gcc/gcc_4.1.1.bb"
# from [49c39b65842c9294e0e2471f66be277cf5e1830e]
# to [c483c997714bf3e4c4b9c0d68eee504d85351192]
#
============================================================
--- packages/gcc/gcc-4.1.1/fix-ICE-in-arm_unwind_emit_set.diff f0e4b252f1cb809a7708d82dad7317cb0a29f2ca
+++ packages/gcc/gcc-4.1.1/fix-ICE-in-arm_unwind_emit_set.diff f0e4b252f1cb809a7708d82dad7317cb0a29f2ca
@@ -0,0 +1,18 @@
+--- trunk/gcc/config/arm/arm.c 2006/09/19 13:18:27 117055
++++ trunk/gcc/config/arm/arm.c 2006/09/19 13:19:24 117056
+@@ -15415,6 +15415,15 @@
+ /* Move from sp to reg. */
+ asm_fprintf (asm_out_file, "\t.movsp %r\n", REGNO (e0));
+ }
++ else if (GET_CODE (e1) == PLUS
++ && GET_CODE (XEXP (e1, 0)) == REG
++ && REGNO (XEXP (e1, 0)) == SP_REGNUM
++ && GET_CODE (XEXP (e1, 1)) == CONST_INT)
++ {
++ /* Set reg to offset from sp. */
++ asm_fprintf (asm_out_file, "\t.movsp %r, #%d\n",
++ REGNO (e0), (int)INTVAL(XEXP (e1, 1)));
++ }
+ else
+ abort ();
+ break;
============================================================
--- packages/gcc/gcc_4.1.1.bb 49c39b65842c9294e0e2471f66be277cf5e1830e
+++ packages/gcc/gcc_4.1.1.bb c483c997714bf3e4c4b9c0d68eee504d85351192
@@ -1,4 +1,4 @@
-PR = "r7"
+PR = "r8"
DESCRIPTION = "The GNU cc and gcc C compilers."
HOMEPAGE = "http://www.gnu.org/software/gcc/"
SECTION = "devel"
@@ -29,7 +29,8 @@ SRC_URI = "http://ftp.gnu.org/pub/gnu/gc
file://cse.patch;patch=1 \
file://zecke-xgcc-cpp.patch;patch=1 \
file://unbreak-armv4t.patch;patch=1 \
- "
+ file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
+ "
SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
@@ -41,6 +42,7 @@ JAVA_arm = ""
#Set the java bits
JAVA_arm = ""
+JAVA = ""
LANGUAGES = "c,c++${FORTRAN}${JAVA}"
require gcc3-build.inc
More information about the Openembedded-commits
mailing list