From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] v2015.01-rc4 REGRESSION: "scripts: fix binutils-version.sh" breaks things for non Linaro toolchains
Date: Tue, 30 Dec 2014 08:50:13 -0500 [thread overview]
Message-ID: <20141230135013.GY10826@bill-the-cat> (raw)
In-Reply-To: <54A2849F.3010100@redhat.com>
On Tue, Dec 30, 2014 at 11:55:27AM +0100, Hans de Goede wrote:
> Hi,
>
> I noticed $subject while doing a MAKEALL.
>
> It seems that this commit:
> http://git.denx.de/?p=u-boot.git;a=commit;h=73c25753060c58e4c339fba306ed0ded0c335748
>
> Breaks things with Fedora's arm toolchain:
>
> [hans at shalem u-boot]$ scripts/binutils-version.sh arm-linux-gnu-as
> scripts/binutils-version.sh: line 22: printf: GNU: invalid number
> scripts/binutils-version.sh: line 22: printf: assembler: invalid number
> 0000
> scripts/binutils-version.sh: line 22: printf: version: invalid number
> 0002
> 2400
>
> And:
>
> [hans at shalem ~]$ arm-linux-gnu-as --version
> GNU assembler version 2.24.0-6.fc21 20140613
> Copyright 2013 Free Software Foundation, Inc.
> This program is free software; you may redistribute it under the terms of
> the GNU General Public License version 3 or later.
> This program has absolutely no warranty.
> This assembler was configured for a target of `arm-linux-gnueabi'.
>
> Which makes $version_string: "GNU assembler version 2.24.0-6.fc21 20140613"
> and $MAJOR: "GNU assembler version 2"
FWIW it works on "vanilla" toolchains too so it's something in the
tweaking above that needs further tweaks to work for Fedora and Linaro:
$ /opt/eldk-5.5.2/armv7a/sysroots/i686-eldk-linux/usr/bin/arm-linux-gnueabi/arm-linux-gnueabi-as
--version
GNU assembler (GNU Binutils) 2.23.2
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141230/0680bb34/attachment.pgp>
next prev parent reply other threads:[~2014-12-30 13:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-30 10:55 [U-Boot] v2015.01-rc4 REGRESSION: "scripts: fix binutils-version.sh" breaks things for non Linaro toolchains Hans de Goede
2014-12-30 13:50 ` Tom Rini [this message]
2015-01-06 10:27 ` Hans de Goede
2015-01-06 15:46 ` Tom Rini
2015-01-06 21:32 ` Bill Pringlemeir
2015-01-06 22:01 ` Bill Pringlemeir
2015-01-06 22:07 ` Tom Rini
2015-01-06 22:25 ` [U-Boot] [PATCH] scripts: fix binutils-version.sh for 'as' without a package Bill Pringlemeir
2015-01-06 22:38 ` Bill Pringlemeir
2015-01-07 12:01 ` Masahiro Yamada
2015-01-07 15:34 ` [U-Boot] [PATCH v3] " Bill Pringlemeir
2015-01-08 8:56 ` Masahiro Yamada
2015-01-08 10:18 ` Hans de Goede
2015-01-09 13:34 ` [U-Boot] [U-Boot, " Tom Rini
2015-01-07 15:42 ` [U-Boot] [PATCH] " Bill Pringlemeir
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141230135013.GY10826@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox