[oe] [PATCH] fix GCC 4.3.3 sources in stable/2009 branch

David Huggins-Daines dhuggins at cs.cmu.edu
Tue Apr 7 15:16:44 UTC 2009


Currently it's not possible to build the stable/2009 branch with GCC 4.3.3,
because it hardcodes a download location for the sources which is not
resolvable (at least from where I am...).  It was suggested to change the
recipe to use GNU_MIRROR.

Unfortunately, bitbake.conf and checksums.ini have a different idea of what
the URI for the main GNU download site is.  This patch fixes these problems.
---
 conf/bitbake.conf         |    2 +-
 recipes/gcc/gcc-4.3.3.inc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 7c159af..34b0ba9 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -495,7 +495,7 @@ FREESMARTPHONE_GIT = "git://git.freesmartphone.org"
 GENTOO_MIRROR = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles"
 GNOME_GIT = "git://git.gnome.org"
 GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources"
-GNU_MIRROR = "ftp://ftp.gnu.org/gnu"
+GNU_MIRROR = "ftp://ftp.gnu.org/pub/gnu"
 GPE_MIRROR = "http://gpe.linuxtogo.org/download/source"
 GPE_EXTRA_SVN = "svn://projects.linuxtogo.org/svn/gpe/trunk/extra;module=${PN}"
 GPE_SVN = "svn://projects.linuxtogo.org/svn/gpe/trunk/base;module=${PN}"
diff --git a/recipes/gcc/gcc-4.3.3.inc b/recipes/gcc/gcc-4.3.3.inc
index 4bed0e4..860c96c 100644
--- a/recipes/gcc/gcc-4.3.3.inc
+++ b/recipes/gcc/gcc-4.3.3.inc
@@ -6,7 +6,7 @@ require gcc-common.inc
 
 DEPENDS = "mpfr gmp"
 
-SRC_URI = "http://gcc.releasenotes.org/releases/gcc-${PV}/gcc-${PV}.tar.bz2 \
+SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
 	file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \
 	file://fedora/gcc43-ia64-libunwind.patch;patch=1;pnum=0 \
 	file://fedora/gcc43-java-nomulti.patch;patch=1;pnum=0 \
-- 
1.5.6.3





More information about the Openembedded-devel mailing list