From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Tue, 06 Jan 2015 11:27:43 +0100 Subject: [U-Boot] v2015.01-rc4 REGRESSION: "scripts: fix binutils-version.sh" breaks things for non Linaro toolchains In-Reply-To: <54A2849F.3010100@redhat.com> References: <54A2849F.3010100@redhat.com> Message-ID: <54ABB89F.4000405@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all, ping ? current master still has this regression, it is not fatal, but it is not pretty either. Regards, Hans On 30-12-14 11:55, 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" > > Regards, > > Hans