[v2,12/12] Change URL of gcc's tarball
diff mbox series

Message ID fab20addfc360d3425d30d97cdffc15ad1453c56.1531801545.git.zong@andestech.com
State New
Headers show
Series
  • RISC-V glibc port for the 32 bit
Related show

Commit Message

Zong Li July 17, 2018, 5:07 a.m. UTC
After 7.1.0, there is no .bz2 format of gcc's tarball.
---
 scripts/build-many-glibcs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joseph Myers July 18, 2018, 8:08 p.m. UTC | #1
On Tue, 17 Jul 2018, Zong Li wrote:

> After 7.1.0, there is no .bz2 format of gcc's tarball.

Please resend with a ChangeLog entry (I think this is appropriate without 
waiting for the release).

This is nothing to do with RISC-V in any case; it's relevant if you follow 
the non-default usage of specifying a GCC version number with 
build-many-glibcs.py, *and* specify a release version rather than a branch 
/ mainline version from version control - but if you do that, its 
relevance depends entirely on the version number used, not on any 
particular architectures being tested.
Zong Li July 20, 2018, 2:33 p.m. UTC | #2
Joseph Myers <joseph@codesourcery.com> 於 2018年7月19日 週四 上午4:08寫道:
>
> On Tue, 17 Jul 2018, Zong Li wrote:
>
> > After 7.1.0, there is no .bz2 format of gcc's tarball.
>
> Please resend with a ChangeLog entry (I think this is appropriate without
> waiting for the release).
>
> This is nothing to do with RISC-V in any case; it's relevant if you follow
> the non-default usage of specifying a GCC version number with
> build-many-glibcs.py, *and* specify a release version rather than a branch
> / mainline version from version control - but if you do that, its
> relevance depends entirely on the version number used, not on any
> particular architectures being tested.
>
> --
> Joseph S. Myers
> joseph@codesourcery.com

Yes, I know we need to use the upstream gcc to test glibc port, I found that
issue because I just went to try the tarball flow in build_many_glibcs.py.
I will use the upstream gcc to test this port every version:)

Patch
diff mbox series

diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 4bbb730..58b557a 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -884,7 +884,7 @@  class Context(object):
         if update:
             return
         url_map = {'binutils': 'https://ftp.gnu.org/gnu/binutils/binutils-%(version)s.tar.bz2',
-                   'gcc': 'https://ftp.gnu.org/gnu/gcc/gcc-%(version)s/gcc-%(version)s.tar.bz2',
+                   'gcc': 'https://ftp.gnu.org/gnu/gcc/gcc-%(version)s/gcc-%(version)s.tar.gz',
                    'gmp': 'https://ftp.gnu.org/gnu/gmp/gmp-%(version)s.tar.xz',
                    'linux': 'https://www.kernel.org/pub/linux/kernel/v4.x/linux-%(version)s.tar.xz',
                    'mpc': 'https://ftp.gnu.org/gnu/mpc/mpc-%(version)s.tar.gz',