All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] buildman reports error of script/binutils-version.sh
@ 2014-11-21 23:36 York Sun
  2014-11-23 22:20 ` Simon Glass
  0 siblings, 1 reply; 4+ messages in thread
From: York Sun @ 2014-11-21 23:36 UTC (permalink / raw)
  To: u-boot

Simon,

Shall we consider host error to be an error reported by buildman? I happen to
try a newer version of toolchain from Linaro. Buildman reports this error


+../scripts/binutils-version.sh: line 20: printf: 09: invalid octal number

The root cause is this version of AS reports version string differently

GNU assembler (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09)
2.24.0.20140829 Linaro 2014.09

It has "Linaro 2014.09" at the back, so script/binutils-version.sh cannot parse
it correctly (the error is not handling zero-leading numbers, but not in the
scope of this discussion).

Another angle of this question is, why do we need this script? It doesn't sound
stable to me to parse the version string this way.

York

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

* [U-Boot] buildman reports error of script/binutils-version.sh
  2014-11-21 23:36 [U-Boot] buildman reports error of script/binutils-version.sh York Sun
@ 2014-11-23 22:20 ` Simon Glass
  2014-12-23 14:33   ` Dirk Behme
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Glass @ 2014-11-23 22:20 UTC (permalink / raw)
  To: u-boot

Hi,

On 21 November 2014 at 16:36, York Sun <yorksun@freescale.com> wrote:
> Simon,
>
> Shall we consider host error to be an error reported by buildman? I happen to
> try a newer version of toolchain from Linaro. Buildman reports this error
>
>
> +../scripts/binutils-version.sh: line 20: printf: 09: invalid octal number
>
> The root cause is this version of AS reports version string differently
>
> GNU assembler (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09)
> 2.24.0.20140829 Linaro 2014.09
>
> It has "Linaro 2014.09" at the back, so script/binutils-version.sh cannot parse
> it correctly (the error is not handling zero-leading numbers, but not in the
> scope of this discussion).
>
> Another angle of this question is, why do we need this script? It doesn't sound
> stable to me to parse the version string this way.

That's another one in Masahiro's domain I think.

Regards,
Simon

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

* [U-Boot] buildman reports error of script/binutils-version.sh
  2014-11-23 22:20 ` Simon Glass
@ 2014-12-23 14:33   ` Dirk Behme
  2014-12-25  2:15     ` Masahiro Yamada
  0 siblings, 1 reply; 4+ messages in thread
From: Dirk Behme @ 2014-12-23 14:33 UTC (permalink / raw)
  To: u-boot

On 23.11.2014 23:20, Simon Glass wrote:
> Hi,
>
> On 21 November 2014 at 16:36, York Sun <yorksun@freescale.com> wrote:
>> Simon,
>>
>> Shall we consider host error to be an error reported by buildman? I happen to
>> try a newer version of toolchain from Linaro. Buildman reports this error
>>
>>
>> +../scripts/binutils-version.sh: line 20: printf: 09: invalid octal number
>>
>> The root cause is this version of AS reports version string differently
>>
>> GNU assembler (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09)
>> 2.24.0.20140829 Linaro 2014.09
>>
>> It has "Linaro 2014.09" at the back, so script/binutils-version.sh cannot parse
>> it correctly (the error is not handling zero-leading numbers, but not in the
>> scope of this discussion).
>>
>> Another angle of this question is, why do we need this script? It doesn't sound
>> stable to me to parse the version string this way.
>
> That's another one in Masahiro's domain I think.

Are there any news/answers/fixes for this?

I'm getting above

+../scripts/binutils-version.sh: line 20: printf: 09: invalid octal number

too, with the Linaro 2014.09 tool chain.

Thanks,

Dirk

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

* [U-Boot] buildman reports error of script/binutils-version.sh
  2014-12-23 14:33   ` Dirk Behme
@ 2014-12-25  2:15     ` Masahiro Yamada
  0 siblings, 0 replies; 4+ messages in thread
From: Masahiro Yamada @ 2014-12-25  2:15 UTC (permalink / raw)
  To: u-boot

Hi York, Dirk,


On Tue, 23 Dec 2014 15:33:05 +0100
Dirk Behme <dirk.behme@gmail.com> wrote:

> On 23.11.2014 23:20, Simon Glass wrote:
> > Hi,
> >
> > On 21 November 2014 at 16:36, York Sun <yorksun@freescale.com> wrote:
> >> Simon,
> >>
> >> Shall we consider host error to be an error reported by buildman? I happen to
> >> try a newer version of toolchain from Linaro. Buildman reports this error
> >>
> >>
> >> +../scripts/binutils-version.sh: line 20: printf: 09: invalid octal number
> >>
> >> The root cause is this version of AS reports version string differently
> >>
> >> GNU assembler (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09)
> >> 2.24.0.20140829 Linaro 2014.09
> >>
> >> It has "Linaro 2014.09" at the back, so script/binutils-version.sh cannot parse
> >> it correctly (the error is not handling zero-leading numbers, but not in the
> >> scope of this discussion).
> >>
> >> Another angle of this question is, why do we need this script? It doesn't sound
> >> stable to me to parse the version string this way.
> >
> > That's another one in Masahiro's domain I think.
> 
> Are there any news/answers/fixes for this?
> 
> I'm getting above
> 
> +../scripts/binutils-version.sh: line 20: printf: 09: invalid octal number
> 
> too, with the Linaro 2014.09 tool chain.




Sorry for my late reply about this.


I think this patch can solve the problem
http://patchwork.ozlabs.org/patch/424032/



Best Regards
Masahiro Yamada

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

end of thread, other threads:[~2014-12-25  2:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-21 23:36 [U-Boot] buildman reports error of script/binutils-version.sh York Sun
2014-11-23 22:20 ` Simon Glass
2014-12-23 14:33   ` Dirk Behme
2014-12-25  2:15     ` Masahiro Yamada

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.