From 13c7e0fe360929acfa735a3fd2311fc7c3e525fb Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 25 Jul 2007 09:38:17 +0000 Subject: [PATCH] gcc: 4.2.0 has a bug, so replace it with 4.2.1 * one minor uclibc patch needs to get refreshed, but we can nick that from buildroot in a few days --- .../gcc/gcc-4.0.2/libstdc++-configure.patch | 10 +++++ .../{gcc-4.2.0 => gcc-4.2.1}/.mtn2git_empty | 0 .../100-uclibc-conf.patch | 0 .../110-arm-eabi.patch | 0 .../200-uclibc-locale.patch | 0 .../300-libstdc++-pic.patch | 0 .../301-missing-execinfo_h.patch | 0 .../302-c99-snprintf.patch | 0 .../303-c99-complex-ugly-hack.patch | 0 .../304-index_macro.patch | 0 .../602-sdk-libstdc++-includes.patch | 0 .../740-sh-pr24836.patch | 0 .../800-arm-bigendian.patch | 0 .../801-arm-bigendian-eabi.patch | 0 packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/README | 0 .../arm-nolibfloat.patch | 0 .../arm-softfloat.patch | 0 .../arm-thumb-cache.patch | 0 .../{gcc-4.2.0 => gcc-4.2.1}/arm-thumb.patch | 0 .../cache-amnesia.patch | 0 .../fix-ICE-in-arm_unwind_emit_set.diff | 0 .../gcc41-configure.in.patch | 0 .../{gcc-4.2.0 => gcc-4.2.1}/ldflags.patch | 0 .../sdk-libstdc++-includes.patch | 0 .../sh3-installfix-fixheaders.patch | 0 .../unbreak-armv4t.patch | 0 .../zecke-no-host-includes.patch | 0 .../zecke-xgcc-cpp.patch | 0 packages/gcc/gcc-cross-sdk_4.2.0.bb | 40 ------------------- ...{gcc-cross_4.2.0.bb => gcc-cross_4.2.1.bb} | 0 packages/gcc/{gcc_4.2.0.bb => gcc_4.2.1.bb} | 2 +- 31 files changed, 11 insertions(+), 41 deletions(-) create mode 100644 packages/gcc/gcc-4.0.2/libstdc++-configure.patch rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/.mtn2git_empty (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/100-uclibc-conf.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/110-arm-eabi.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/200-uclibc-locale.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/300-libstdc++-pic.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/301-missing-execinfo_h.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/302-c99-snprintf.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/303-c99-complex-ugly-hack.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/304-index_macro.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/602-sdk-libstdc++-includes.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/740-sh-pr24836.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/800-arm-bigendian.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/801-arm-bigendian-eabi.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/README (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/arm-nolibfloat.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/arm-softfloat.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/arm-thumb-cache.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/arm-thumb.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/cache-amnesia.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/fix-ICE-in-arm_unwind_emit_set.diff (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/gcc41-configure.in.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/ldflags.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/sdk-libstdc++-includes.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/sh3-installfix-fixheaders.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/unbreak-armv4t.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/zecke-no-host-includes.patch (100%) rename packages/gcc/{gcc-4.2.0 => gcc-4.2.1}/zecke-xgcc-cpp.patch (100%) delete mode 100644 packages/gcc/gcc-cross-sdk_4.2.0.bb rename packages/gcc/{gcc-cross_4.2.0.bb => gcc-cross_4.2.1.bb} (100%) rename packages/gcc/{gcc_4.2.0.bb => gcc_4.2.1.bb} (97%) diff --git a/packages/gcc/gcc-4.0.2/libstdc++-configure.patch b/packages/gcc/gcc-4.0.2/libstdc++-configure.patch new file mode 100644 index 0000000000..8dc613104d --- /dev/null +++ b/packages/gcc/gcc-4.0.2/libstdc++-configure.patch @@ -0,0 +1,10 @@ +--- /tmp/configure 2007-06-02 09:26:29.000000000 +0200 ++++ gcc-4.0.2/libstdc++-v3/configure 2007-06-02 09:26:40.135215000 +0200 +@@ -101472,7 +101472,6 @@ + _ACEOF + + fi +-done + + fi + diff --git a/packages/gcc/gcc-4.2.0/.mtn2git_empty b/packages/gcc/gcc-4.2.1/.mtn2git_empty similarity index 100% rename from packages/gcc/gcc-4.2.0/.mtn2git_empty rename to packages/gcc/gcc-4.2.1/.mtn2git_empty diff --git a/packages/gcc/gcc-4.2.0/100-uclibc-conf.patch b/packages/gcc/gcc-4.2.1/100-uclibc-conf.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/100-uclibc-conf.patch rename to packages/gcc/gcc-4.2.1/100-uclibc-conf.patch diff --git a/packages/gcc/gcc-4.2.0/110-arm-eabi.patch b/packages/gcc/gcc-4.2.1/110-arm-eabi.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/110-arm-eabi.patch rename to packages/gcc/gcc-4.2.1/110-arm-eabi.patch diff --git a/packages/gcc/gcc-4.2.0/200-uclibc-locale.patch b/packages/gcc/gcc-4.2.1/200-uclibc-locale.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/200-uclibc-locale.patch rename to packages/gcc/gcc-4.2.1/200-uclibc-locale.patch diff --git a/packages/gcc/gcc-4.2.0/300-libstdc++-pic.patch b/packages/gcc/gcc-4.2.1/300-libstdc++-pic.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/300-libstdc++-pic.patch rename to packages/gcc/gcc-4.2.1/300-libstdc++-pic.patch diff --git a/packages/gcc/gcc-4.2.0/301-missing-execinfo_h.patch b/packages/gcc/gcc-4.2.1/301-missing-execinfo_h.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/301-missing-execinfo_h.patch rename to packages/gcc/gcc-4.2.1/301-missing-execinfo_h.patch diff --git a/packages/gcc/gcc-4.2.0/302-c99-snprintf.patch b/packages/gcc/gcc-4.2.1/302-c99-snprintf.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/302-c99-snprintf.patch rename to packages/gcc/gcc-4.2.1/302-c99-snprintf.patch diff --git a/packages/gcc/gcc-4.2.0/303-c99-complex-ugly-hack.patch b/packages/gcc/gcc-4.2.1/303-c99-complex-ugly-hack.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/303-c99-complex-ugly-hack.patch rename to packages/gcc/gcc-4.2.1/303-c99-complex-ugly-hack.patch diff --git a/packages/gcc/gcc-4.2.0/304-index_macro.patch b/packages/gcc/gcc-4.2.1/304-index_macro.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/304-index_macro.patch rename to packages/gcc/gcc-4.2.1/304-index_macro.patch diff --git a/packages/gcc/gcc-4.2.0/602-sdk-libstdc++-includes.patch b/packages/gcc/gcc-4.2.1/602-sdk-libstdc++-includes.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/602-sdk-libstdc++-includes.patch rename to packages/gcc/gcc-4.2.1/602-sdk-libstdc++-includes.patch diff --git a/packages/gcc/gcc-4.2.0/740-sh-pr24836.patch b/packages/gcc/gcc-4.2.1/740-sh-pr24836.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/740-sh-pr24836.patch rename to packages/gcc/gcc-4.2.1/740-sh-pr24836.patch diff --git a/packages/gcc/gcc-4.2.0/800-arm-bigendian.patch b/packages/gcc/gcc-4.2.1/800-arm-bigendian.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/800-arm-bigendian.patch rename to packages/gcc/gcc-4.2.1/800-arm-bigendian.patch diff --git a/packages/gcc/gcc-4.2.0/801-arm-bigendian-eabi.patch b/packages/gcc/gcc-4.2.1/801-arm-bigendian-eabi.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/801-arm-bigendian-eabi.patch rename to packages/gcc/gcc-4.2.1/801-arm-bigendian-eabi.patch diff --git a/packages/gcc/gcc-4.2.0/README b/packages/gcc/gcc-4.2.1/README similarity index 100% rename from packages/gcc/gcc-4.2.0/README rename to packages/gcc/gcc-4.2.1/README diff --git a/packages/gcc/gcc-4.2.0/arm-nolibfloat.patch b/packages/gcc/gcc-4.2.1/arm-nolibfloat.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/arm-nolibfloat.patch rename to packages/gcc/gcc-4.2.1/arm-nolibfloat.patch diff --git a/packages/gcc/gcc-4.2.0/arm-softfloat.patch b/packages/gcc/gcc-4.2.1/arm-softfloat.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/arm-softfloat.patch rename to packages/gcc/gcc-4.2.1/arm-softfloat.patch diff --git a/packages/gcc/gcc-4.2.0/arm-thumb-cache.patch b/packages/gcc/gcc-4.2.1/arm-thumb-cache.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/arm-thumb-cache.patch rename to packages/gcc/gcc-4.2.1/arm-thumb-cache.patch diff --git a/packages/gcc/gcc-4.2.0/arm-thumb.patch b/packages/gcc/gcc-4.2.1/arm-thumb.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/arm-thumb.patch rename to packages/gcc/gcc-4.2.1/arm-thumb.patch diff --git a/packages/gcc/gcc-4.2.0/cache-amnesia.patch b/packages/gcc/gcc-4.2.1/cache-amnesia.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/cache-amnesia.patch rename to packages/gcc/gcc-4.2.1/cache-amnesia.patch diff --git a/packages/gcc/gcc-4.2.0/fix-ICE-in-arm_unwind_emit_set.diff b/packages/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff similarity index 100% rename from packages/gcc/gcc-4.2.0/fix-ICE-in-arm_unwind_emit_set.diff rename to packages/gcc/gcc-4.2.1/fix-ICE-in-arm_unwind_emit_set.diff diff --git a/packages/gcc/gcc-4.2.0/gcc41-configure.in.patch b/packages/gcc/gcc-4.2.1/gcc41-configure.in.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/gcc41-configure.in.patch rename to packages/gcc/gcc-4.2.1/gcc41-configure.in.patch diff --git a/packages/gcc/gcc-4.2.0/ldflags.patch b/packages/gcc/gcc-4.2.1/ldflags.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/ldflags.patch rename to packages/gcc/gcc-4.2.1/ldflags.patch diff --git a/packages/gcc/gcc-4.2.0/sdk-libstdc++-includes.patch b/packages/gcc/gcc-4.2.1/sdk-libstdc++-includes.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/sdk-libstdc++-includes.patch rename to packages/gcc/gcc-4.2.1/sdk-libstdc++-includes.patch diff --git a/packages/gcc/gcc-4.2.0/sh3-installfix-fixheaders.patch b/packages/gcc/gcc-4.2.1/sh3-installfix-fixheaders.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/sh3-installfix-fixheaders.patch rename to packages/gcc/gcc-4.2.1/sh3-installfix-fixheaders.patch diff --git a/packages/gcc/gcc-4.2.0/unbreak-armv4t.patch b/packages/gcc/gcc-4.2.1/unbreak-armv4t.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/unbreak-armv4t.patch rename to packages/gcc/gcc-4.2.1/unbreak-armv4t.patch diff --git a/packages/gcc/gcc-4.2.0/zecke-no-host-includes.patch b/packages/gcc/gcc-4.2.1/zecke-no-host-includes.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/zecke-no-host-includes.patch rename to packages/gcc/gcc-4.2.1/zecke-no-host-includes.patch diff --git a/packages/gcc/gcc-4.2.0/zecke-xgcc-cpp.patch b/packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch similarity index 100% rename from packages/gcc/gcc-4.2.0/zecke-xgcc-cpp.patch rename to packages/gcc/gcc-4.2.1/zecke-xgcc-cpp.patch diff --git a/packages/gcc/gcc-cross-sdk_4.2.0.bb b/packages/gcc/gcc-cross-sdk_4.2.0.bb deleted file mode 100644 index 71c2cd08a2..0000000000 --- a/packages/gcc/gcc-cross-sdk_4.2.0.bb +++ /dev/null @@ -1,40 +0,0 @@ -DESCRIPTION = "The GNU cc and gcc C compilers." -HOMEPAGE = "http://www.gnu.org/software/gcc/" -SECTION = "devel" -LICENSE = "GPL" -PR = "r0" - -inherit sdk - -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/gcc-${PV}" - -DEPENDS = "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}libc-for-gcc" -PACKAGES = "${PN}" - -require gcc_${PV}.bb -require gcc4-build-sdk.inc -require gcc-package-sdk.inc - -SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ - file://100-uclibc-conf.patch;patch=1 \ - file://200-uclibc-locale.patch;patch=1 \ - file://300-libstdc++-pic.patch;patch=1 \ - file://301-missing-execinfo_h.patch;patch=1 \ - file://302-c99-snprintf.patch;patch=1 \ - file://303-c99-complex-ugly-hack.patch;patch=1 \ - file://304-index_macro.patch;patch=1 \ - file://602-sdk-libstdc++-includes.patch;patch=1 \ - file://740-sh-pr24836.patch;patch=1 \ - file://800-arm-bigendian.patch;patch=1 \ - file://arm-nolibfloat.patch;patch=1 \ - file://arm-softfloat.patch;patch=1 \ - file://gcc41-configure.in.patch;patch=1 \ - file://arm-thumb.patch;patch=1 \ - file://arm-thumb-cache.patch;patch=1 \ - file://ldflags.patch;patch=1 \ - file://unbreak-armv4t.patch;patch=1 \ - file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \ - " - -SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " - diff --git a/packages/gcc/gcc-cross_4.2.0.bb b/packages/gcc/gcc-cross_4.2.1.bb similarity index 100% rename from packages/gcc/gcc-cross_4.2.0.bb rename to packages/gcc/gcc-cross_4.2.1.bb diff --git a/packages/gcc/gcc_4.2.0.bb b/packages/gcc/gcc_4.2.1.bb similarity index 97% rename from packages/gcc/gcc_4.2.0.bb rename to packages/gcc/gcc_4.2.1.bb index b5c4b3c936..dd3a9c59cc 100644 --- a/packages/gcc/gcc_4.2.0.bb +++ b/packages/gcc/gcc_4.2.1.bb @@ -10,7 +10,7 @@ require gcc-package.inc SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ file://100-uclibc-conf.patch;patch=1 \ - file://200-uclibc-locale.patch;patch=1 \ +# file://200-uclibc-locale.patch;patch=1 \ file://300-libstdc++-pic.patch;patch=1 \ file://301-missing-execinfo_h.patch;patch=1 \ file://302-c99-snprintf.patch;patch=1 \ -- 2.39.5