From 1cadaa8d3f372e03036530299a699baa9a176130 Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Tue, 29 Apr 2008 23:51:31 +0000 Subject: Fix for issues when system's texinfo version >= 4.10 --- packages/binutils/binutils.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packages') diff --git a/packages/binutils/binutils.inc b/packages/binutils/binutils.inc index 684cf54b8e..8cbdbe7f3e 100644 --- a/packages/binutils/binutils.inc +++ b/packages/binutils/binutils.inc @@ -67,6 +67,11 @@ export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" do_configure () { (cd ${S}; gnu-configize) || die "Failed to run gnu-configize" + + # Fix for issues when system's texinfo version >= 4.10 + # (See https://bugzilla.redhat.com/show_bug.cgi?id=345621) + sed -i -e 's/egrep `texinfo.*`/egrep `texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])`/' '${S}/configure' + oe_runconf # # must prime config.cache to ensure the build of libiberty -- cgit v1.2.3 From 4da48f0256d846c0f7b955bc491395456dc8edb5 Mon Sep 17 00:00:00 2001 From: Geoffrey Wossum Date: Tue, 29 Apr 2008 23:54:00 +0000 Subject: binutils-2.17: Add AVR32 patch 1.2.6 from Atmel. --- .../binutils-2.17/binutils-2.17.atmel.1.2.6.patch.bz2 | Bin 0 -> 184944 bytes packages/binutils/binutils_2.17.bb | 12 +++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 packages/binutils/binutils-2.17/binutils-2.17.atmel.1.2.6.patch.bz2 (limited to 'packages') diff --git a/packages/binutils/binutils-2.17/binutils-2.17.atmel.1.2.6.patch.bz2 b/packages/binutils/binutils-2.17/binutils-2.17.atmel.1.2.6.patch.bz2 new file mode 100644 index 0000000000..583ea40a84 Binary files /dev/null and b/packages/binutils/binutils-2.17/binutils-2.17.atmel.1.2.6.patch.bz2 differ diff --git a/packages/binutils/binutils_2.17.bb b/packages/binutils/binutils_2.17.bb index 0696a24e72..e721cb41f3 100644 --- a/packages/binutils/binutils_2.17.bb +++ b/packages/binutils/binutils_2.17.bb @@ -1,6 +1,7 @@ require binutils.inc +require binutils-avr32.inc -PR = "r4" +PR = "r5" SRC_URI = \ "http://ftp.gnu.org/gnu/binutils/binutils-${PV}.tar.bz2 \ @@ -18,8 +19,13 @@ SRC_URI += "\ file://300-012_check_ldrunpath_length.patch;patch=1 \ file://300-001_ld_makefile_patch.patch;patch=1 \ file://400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1 \ - file://500-avr32-atmel.1.3.0.patch;patch=1 \ - file://501-avr32-fix-pool-alignment.patch;patch=1 \ +" +# removed in favor of the atmel 1.2.6 patch which is supposedly newer (yes) +# file://500-avr32-atmel.1.3.0.patch;patch=1 \ +# file://501-avr32-fix-pool-alignment.patch;patch=1 \ + +SRC_URI_append_avr32 = "\ + file://binutils-2.17.atmel.1.2.6.patch.bz2;patch=1 \ " # Zecke's OSX fixes -- cgit v1.2.3 From 40004b34f8d2509b3a371c1fad0b4b9ae8371ddd Mon Sep 17 00:00:00 2001 From: Geoffrey Wossum Date: Tue, 29 Apr 2008 23:57:43 +0000 Subject: gcc-4.2.2: Add AVR32 patch 1.0.9 from Atmel. --- packages/gcc/gcc-4.2.2.inc | 9 ++++++++- ...1-avr32-no-cond-exec-before-reload-by-default.patch | 13 +++++++++++++ packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2 | Bin 0 -> 162791 bytes 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 packages/gcc/gcc-4.2.2/901-avr32-no-cond-exec-before-reload-by-default.patch create mode 100644 packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2 (limited to 'packages') diff --git a/packages/gcc/gcc-4.2.2.inc b/packages/gcc/gcc-4.2.2.inc index 02fe1162bc..1392b3e830 100644 --- a/packages/gcc/gcc-4.2.2.inc +++ b/packages/gcc/gcc-4.2.2.inc @@ -40,6 +40,13 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://intermask-bigendian.patch;patch=1 \ " + +SRC_URI_append_avr32 = " \ + file://gcc-4.2.2.atmel.1.0.8.patch.bz2;patch=1 \ + file://901-avr32-no-cond-exec-before-reload-by-default.patch;patch=1 \ +" + + SRC_URI_append_ep93xx = " \ file://arm-crunch-saveregs.patch;patch=1 \ file://arm-crunch-20000320.patch;patch=1 \ @@ -71,4 +78,4 @@ JAVA = "" EXTRA_OECONF_BASE = "--disable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap" -ARM_INSTRUCTION_SET = "arm" \ No newline at end of file +ARM_INSTRUCTION_SET = "arm" diff --git a/packages/gcc/gcc-4.2.2/901-avr32-no-cond-exec-before-reload-by-default.patch b/packages/gcc/gcc-4.2.2/901-avr32-no-cond-exec-before-reload-by-default.patch new file mode 100644 index 0000000000..ab55ea4da1 --- /dev/null +++ b/packages/gcc/gcc-4.2.2/901-avr32-no-cond-exec-before-reload-by-default.patch @@ -0,0 +1,13 @@ +Index: gcc-4.2.2/gcc/config/avr32/avr32.c +=================================================================== +--- gcc-4.2.2.orig/gcc/config/avr32/avr32.c 2008-04-08 10:42:47.000000000 +0200 ++++ gcc-4.2.2/gcc/config/avr32/avr32.c 2008-04-08 10:43:33.000000000 +0200 +@@ -161,7 +161,7 @@ + /* Set default target_flags. */ + #undef TARGET_DEFAULT_TARGET_FLAGS + #define TARGET_DEFAULT_TARGET_FLAGS \ +- (MASK_HAS_ASM_ADDR_PSEUDOS | MASK_MD_REORG_OPTIMIZATION | MASK_COND_EXEC_BEFORE_RELOAD) ++ (MASK_HAS_ASM_ADDR_PSEUDOS | MASK_MD_REORG_OPTIMIZATION) + + void + avr32_optimization_options (int level, diff --git a/packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2 b/packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2 new file mode 100644 index 0000000000..4be097b095 Binary files /dev/null and b/packages/gcc/gcc-4.2.2/gcc-4.2.2.atmel.1.0.8.patch.bz2 differ -- cgit v1.2.3 From 5dc64cdceaa9092577cfe5bdac96adffcaca0084 Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Wed, 30 Apr 2008 00:02:18 +0000 Subject: gdb-cross.inc: Fix for issues when system's texinfo version >= 4.10 --- packages/gdb/gdb-cross.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages') diff --git a/packages/gdb/gdb-cross.inc b/packages/gdb/gdb-cross.inc index 480cce4931..9870b9870b 100644 --- a/packages/gdb/gdb-cross.inc +++ b/packages/gdb/gdb-cross.inc @@ -10,6 +10,12 @@ do_configure () { # override this function to avoid the autoconf/automake/aclocal/autoheader # calls for now (cd ${S} && gnu-configize) || die "failure in running gnu-configize" + + # Fix for issues when system's texinfo version >= 4.10 + # (See https://bugzilla.redhat.com/show_bug.cgi?id=345621) + sed -i -e 's/egrep `texinfo.*`/egrep `texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])`/' '${S}/configure' + + oe_runconf } -- cgit v1.2.3 From 0970057a1b0c654384a46c2361888322eb614d5e Mon Sep 17 00:00:00 2001 From: Leon Woestenberg Date: Wed, 30 Apr 2008 11:33:57 +0000 Subject: binutils.inc: Reworked sed expression and tested to work. --- packages/binutils/binutils.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/binutils/binutils.inc b/packages/binutils/binutils.inc index 8cbdbe7f3e..49d3aeaa3c 100644 --- a/packages/binutils/binutils.inc +++ b/packages/binutils/binutils.inc @@ -70,7 +70,7 @@ do_configure () { # Fix for issues when system's texinfo version >= 4.10 # (See https://bugzilla.redhat.com/show_bug.cgi?id=345621) - sed -i -e 's/egrep `texinfo.*`/egrep `texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])`/' '${S}/configure' + sed -i -e "s@egrep 'texinfo.*'@egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|4.[1-9][0-9]+|[5-9])'@" '${S}/configure' oe_runconf # -- cgit v1.2.3