13 May, 2016
1 commit
-
... making upstream development binutils snapshots work as expected,
e.g.:$ mips64el-linux-ld --version
GNU ld (GNU Binutils) 2.20.1.20100303
[...]
$Signed-off-by: Maciej W. Rozycki
Acked-by: Michal Marek
Cc: Michael S. Tsirkin
Cc: James Hogan
Cc: linux-kbuild@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12537/
Signed-off-by: Ralf Baechle
13 Mar, 2016
1 commit
-
The ld-version.sh script fails on some versions of awk with the
following error, resulting in build failures for MIPS:awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(')
This is due to the regular expression ".*)", meant to strip off the
beginning of the ld version string up to the close bracket, however
brackets have a meaning in regular expressions, so lets escape it so
that awk doesn't expect a corresponding open bracket.Fixes: ccbef1674a15 ("Kbuild, lto: add ld-version and ld-ifversion ...")
Reported-by: Geert Uytterhoeven
Signed-off-by: James Hogan
Tested-by: Michael S. Tsirkin
Acked-by: Michael S. Tsirkin
Tested-by: Sudip Mukherjee
Cc: Michal Marek
Cc: Andi Kleen
Cc: Geert Uytterhoeven
Cc: linux-mips@linux-mips.org
Cc: linux-kbuild@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # 4.4.x-
Patchwork: https://patchwork.linux-mips.org/patch/12838/
Signed-off-by: Ralf Baechle
08 Jan, 2016
1 commit
-
On Fedora 23, ld --version outputs:
GNU ld version 2.25-15.fc23But ld-version.sh fails to parse this, so e.g. mips build fails to
enable VDSO, printing a warning that binutils >= 2.24 is required.To fix, teach ld-version to parse this format.
Signed-off-by: Michael S. Tsirkin
Cc: linux-kernel@vger.kernel.org
Cc: Michal Marek
Cc: linux-kbuild@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12023/
Signed-off-by: Ralf Baechle
04 Jan, 2016
1 commit
-
The ld-version.sh script doesn't handle versions with large (>= 10) 3rd
version components, because the 2nd component is only multiplied by 10
times that of the 3rd component.For example the following version string:
GNU ld (Codescape GNU Tools 2015.06-05 for MIPS MTI Linux) 2.24.90gives a bogus version number:
20000000
+ 2400000
+ 900000 = 23300000Breakage, confusion and mole-whacking ensues.
Increase the multipliers of the first two version components by a factor
of 10 to give space for a 3rd components of up to 99, and update the
sole user of ld-ifversion (MIPS VDSO) accordingly.Signed-off-by: James Hogan
Acked-by: Guenter Roeck
Reviewed-by: Andi Kleen
Cc: Andi Kleen
Cc: Michal Marek
Cc: Guenter Roeck
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11931/
Signed-off-by: Ralf Baechle
14 Feb, 2014
1 commit
-
To check the linker version. Used by the LTO makefile.
Signed-off-by: Andi Kleen
Link: http://lkml.kernel.org/r/1391846481-31491-9-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin