* [PATCH] fix GCC 4.3.3 sources in stable/2009 branch
@ 2009-04-07 15:16 David Huggins-Daines
2009-04-07 16:44 ` Tom Rini
0 siblings, 1 reply; 5+ messages in thread
From: David Huggins-Daines @ 2009-04-07 15:16 UTC (permalink / raw)
To: openembedded-devel; +Cc: David Huggins-Daines
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
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] fix GCC 4.3.3 sources in stable/2009 branch
2009-04-07 15:16 [PATCH] fix GCC 4.3.3 sources in stable/2009 branch David Huggins-Daines
@ 2009-04-07 16:44 ` Tom Rini
2009-04-07 16:54 ` David Huggins-Daines
0 siblings, 1 reply; 5+ messages in thread
From: Tom Rini @ 2009-04-07 16:44 UTC (permalink / raw)
To: openembedded-devel; +Cc: David Huggins-Daines
On Tue, Apr 07, 2009 at 11:16:44AM -0400, David Huggins-Daines wrote:
> 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.
NACK.
First, this is fixed in .dev now, by fixing all of the gcc recipes
(except for csl ones) to use ${GNU_MIRROR} and updating the checksums
file. Second, ftp.gnu.org/gnu is correct as 'pub' is just a symlink to
'.'.
--
Tom Rini
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix GCC 4.3.3 sources in stable/2009 branch
2009-04-07 16:44 ` Tom Rini
@ 2009-04-07 16:54 ` David Huggins-Daines
2009-04-07 17:02 ` Tom Rini
2009-04-07 17:16 ` Koen Kooi
0 siblings, 2 replies; 5+ messages in thread
From: David Huggins-Daines @ 2009-04-07 16:54 UTC (permalink / raw)
To: Tom Rini; +Cc: openembedded-devel
Tom Rini wrote:
>
> First, this is fixed in .dev now, by fixing all of the gcc recipes
> (except for csl ones) to use ${GNU_MIRROR} and updating the checksums
> file. Second, ftp.gnu.org/gnu is correct as 'pub' is just a symlink to
> '.'.
>
Yeah, actually, after trying to rebuild, I agree. Changing bitbake.conf
is a very bad idea.
However I still think the changes to the gcc recipes and checksums.ini
should be merged into the stable branch, otherwise it is not possible to
build any recent versions of GCC (and in particular, thumb support seems
not to work properly without using 4.3.3)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix GCC 4.3.3 sources in stable/2009 branch
2009-04-07 16:54 ` David Huggins-Daines
@ 2009-04-07 17:02 ` Tom Rini
2009-04-07 17:16 ` Koen Kooi
1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2009-04-07 17:02 UTC (permalink / raw)
To: David Huggins-Daines; +Cc: openembedded-devel
On Tue, Apr 07, 2009 at 12:54:34PM -0400, David Huggins-Daines wrote:
> Tom Rini wrote:
>>
>> First, this is fixed in .dev now, by fixing all of the gcc recipes
>> (except for csl ones) to use ${GNU_MIRROR} and updating the checksums
>> file. Second, ftp.gnu.org/gnu is correct as 'pub' is just a symlink to
>> '.'.
>>
> Yeah, actually, after trying to rebuild, I agree. Changing bitbake.conf
> is a very bad idea.
>
> However I still think the changes to the gcc recipes and checksums.ini
> should be merged into the stable branch, otherwise it is not possible to
> build any recent versions of GCC (and in particular, thumb support seems
> not to work properly without using 4.3.3)
I'll propose
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&id=e053ff45acfa098921fc7e8c124ae0d96ed33750
shortly (need to make breakfast).
--
Tom Rini
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] fix GCC 4.3.3 sources in stable/2009 branch
2009-04-07 16:54 ` David Huggins-Daines
2009-04-07 17:02 ` Tom Rini
@ 2009-04-07 17:16 ` Koen Kooi
1 sibling, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2009-04-07 17:16 UTC (permalink / raw)
To: openembedded-devel
On 07-04-09 18:54, David Huggins-Daines wrote:
> Tom Rini wrote:
>>
>> First, this is fixed in .dev now, by fixing all of the gcc recipes
>> (except for csl ones) to use ${GNU_MIRROR} and updating the checksums
>> file. Second, ftp.gnu.org/gnu is correct as 'pub' is just a symlink to
>> '.'.
> Yeah, actually, after trying to rebuild, I agree. Changing bitbake.conf
> is a very bad idea.
>
> However I still think the changes to the gcc recipes and checksums.ini
> should be merged into the stable branch, otherwise it is not possible to
> build any recent versions of GCC (and in particular, thumb support seems
> not to work properly without using 4.3.3)
Anyone is free to send a patch to this mailinglist to add to stable.
It's really easy:
Powerbook-3:openembedded koen$ cat contrib/mail-diff.sh
#!/bin/sh
# This script will fetch an 'mbox' patch from patchwork and git am it
# usage: mail-diff.sh <rev>
# example: 'pw-am.sh 3a485444f0dd07fd2315769db3f6f46e3972134e'
PATCHNAME="$(git format-patch -s -1 $1)"
sed -i -e 's:\[PATCH:\[STABLE\]\[PATCH:g' $PATCHNAME
git send-email --from "Koen Kooi <k.kooi@student.utwente.nl>" --to
openembedded-devel@lists.openembedded.org $PATCHNAME
rm $PATCHNAME
regards,
Koen
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-04-07 17:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-07 15:16 [PATCH] fix GCC 4.3.3 sources in stable/2009 branch David Huggins-Daines
2009-04-07 16:44 ` Tom Rini
2009-04-07 16:54 ` David Huggins-Daines
2009-04-07 17:02 ` Tom Rini
2009-04-07 17:16 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.