public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* gdb-6.8 not available
@ 2013-05-14 22:53 Sherman K. Yin
  2013-05-14 23:04 ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Sherman K. Yin @ 2013-05-14 22:53 UTC (permalink / raw)
  To: crossgcc

Hi,

Just a bug report:

Trying this software for the first time today.  I followed the
instructions here: http://crosstool-ng.org and installed
crosstool-ng-1.9.3.tar.bz2 on ubuntu.  While attempting to build the
sample mips-unknown-elf, it attempted to download gdb-6.8 and failed:

[EXTRA]    Retrieving 'gdb-6.8'
[ERROR]    Could not retrieve 'gdb-6.8'.
[00:39] / make: *** [build] Error 1

I think that's because it's no longer available according to
http://ftp.gnu.org/gnu/gdb/.  I tried changing 6.8 to 6.8a in
config/debug/gdb.in and at least the download portion worked. It ran
into something else later:

[INFO ]  Extracting and patching toolchain components
[EXTRA]    Extracting 'gdb-6.8a'
[ERROR]    Build failed in step 'Extracting and patching toolchain components'
[ERROR]    Error happened in
'/home/syin/work/programs/lib/ct-ng-1.9.3/scripts/functions' in
function 'CT_Pushd' (line unknown, sorry)
[ERROR]          called from
'/home/syin/work/programs/lib/ct-ng-1.9.3/scripts/functions' at line #
792 in function 'CT_Patch'
[ERROR]          called from
'/home/syin/work/programs/lib/ct-ng-1.9.3/scripts/build/debug/300-gdb.sh'
at line # 61 in function 'do_debug_gdb_extract'
[ERROR]          called from
'/home/syin/work/programs/lib/ct-ng-1.9.3/scripts/build/debug.sh' at
line # 28 in function 'do_debug_extract'
[ERROR]          called from
'/home/syin/work/programs/lib/ct-ng-1.9.3/scripts/crosstool-NG.sh' at
line # 569 in function 'main'
[ERROR]    Look at '/home/syin/x-tools/mips-unknown-elf/build.log' for
more info on this error.
[ERROR]  (elapsed: 0:06.77)
[00:07] / make: *** [build] Error 1

I haven't looked into this latter error.  Instead, I turned gdb off in
menuconfig because I don't need it.

Thanks,
Sherman

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb-6.8 not available
  2013-05-14 22:53 gdb-6.8 not available Sherman K. Yin
@ 2013-05-14 23:04 ` Yann E. MORIN
  2013-05-14 23:08   ` Sherman K. Yin
  0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2013-05-14 23:04 UTC (permalink / raw)
  To: Sherman K. Yin; +Cc: crossgcc

Sherman, All,

On 2013-05-14 15:52 -0700, Sherman K. Yin spake thusly:
> Just a bug report:
> 
> Trying this software for the first time today.  I followed the
> instructions here: http://crosstool-ng.org and installed
> crosstool-ng-1.9.3.tar.bz2 on ubuntu.

1.9.3 is an old version. Latest is 1.18.0. Please upgrade.

>  While attempting to build the
> sample mips-unknown-elf, it attempted to download gdb-6.8 and failed:
> 
> [EXTRA]    Retrieving 'gdb-6.8'
> [ERROR]    Could not retrieve 'gdb-6.8'.
> 
> I think that's because it's no longer available according to
> http://ftp.gnu.org/gnu/gdb/.

Indeed. Long story short: some C files included in gdb releases were
generated from other files which were not bundled in the releases, thus
the gdb releases were not compliant with the licensing terms of those
files, and so were re-generated. Ditto for binutils.

It was requested that symlinks were provided so that already-deployed
build systems (such as, but not limited to crosstool-NG) would not break.
While the binutils folks agreed to set up such legacy symlinks, the gdb
folks flatly refused. Hence the breakage.

>  I tried changing 6.8 to 6.8a in
> config/debug/gdb.in and at least the download portion worked. It ran
> into something else later:
> 
> [INFO ]  Extracting and patching toolchain components
> [EXTRA]    Extracting 'gdb-6.8a'
> [ERROR]    Build failed in step 'Extracting and patching toolchain components'

That's been long fixed. Please upgrade.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb-6.8 not available
  2013-05-14 23:04 ` Yann E. MORIN
@ 2013-05-14 23:08   ` Sherman K. Yin
  2013-05-14 23:18     ` Yann E. MORIN
  0 siblings, 1 reply; 4+ messages in thread
From: Sherman K. Yin @ 2013-05-14 23:08 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: crossgcc

Thanks Yann, I'll try the new version.  I mistakenly downloaded the
old release because at a glance, I mistakenly thought
http://crosstool-ng.org/download/crosstool-ng/ listed the files in the
order of release with latest at the end.

Thanks,
Sherman

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gdb-6.8 not available
  2013-05-14 23:08   ` Sherman K. Yin
@ 2013-05-14 23:18     ` Yann E. MORIN
  0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2013-05-14 23:18 UTC (permalink / raw)
  To: Sherman K. Yin; +Cc: crossgcc

Shaerman, All,

On 2013-05-14 16:08 -0700, Sherman K. Yin spake thusly:
> Thanks Yann, I'll try the new version.  I mistakenly downloaded the
> old release because at a glance, I mistakenly thought
> http://crosstool-ng.org/download/crosstool-ng/ listed the files in the
> order of release with latest at the end.

The latest version is prominently listed on the home page.

Also, the dir-listing provides a way to sort by date rather than
filename. Besides, the first file in the dir-listing when sorted by
filename is "00-LATEST-is-1.18.0" which to me sounds rather explicit...

Finally, when a release is more than two years old, I'd expect people to
think and look if there is a more recent one...

Anyway... :-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-14 23:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-14 22:53 gdb-6.8 not available Sherman K. Yin
2013-05-14 23:04 ` Yann E. MORIN
2013-05-14 23:08   ` Sherman K. Yin
2013-05-14 23:18     ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).