linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Building older mips kernels with different versions of binutils; possible patch for 3.2 and 3.4
@ 2016-05-16  2:56 Guenter Roeck
  2016-05-20 13:21 ` Maciej W. Rozycki
  2017-10-08 18:12 ` Ben Hutchings
  0 siblings, 2 replies; 9+ messages in thread
From: Guenter Roeck @ 2016-05-16  2:56 UTC (permalink / raw)
  To: stable, Linux MIPS Mailing List, Ben Hutchings, Li Zefan, linux-kernel

Hi folks,

building mips images with a consistent infrastructure is becoming more and more difficult.
Current state is as follows.

Binutils/	2.22	2.24	2.25
Kernel
3.2		X	-	-
3.4		X	-	-
3.10		X	X	-
3.14		X	X	-
3.16		X	X	-
3.18		X	X	(X) [1]
4.1		X	X	(X)
4.4		X	X	(X)
4.5		X	X	(X)
4.6		X	X	(X)
next		-	X	(X)

[1] (at least) allnoconfig fails to build with binutils 2.25 (2.25.1, more specifically).

I used the following toolchains for the above tests:
- Poky 1.3 (binutils 2.22)
- Poky 2.0 (binutils 2.25.1)
- gcc-4.6.3-nolibc from kernel.org (binutils 2.22)
- gcc-4.9.0-nolibc from kernel.org (binutils 2.24)

For 3.4 and 3.2 kernels to build with binutils v2.24, it would be necessary to
apply patch c02263063362 ("MIPS: Refactor 'clear_page' and 'copy_page' functions").
It applies cleanly to 3.4, but has a Makefile conflict in 3.2. It might
make sense to apply this patch to both releases. Would this be possible ?
This way, we would have at least one toolchain which can build all 3.2+ kernels.

Thanks,
Guenter

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

end of thread, other threads:[~2017-10-08 19:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-16  2:56 Building older mips kernels with different versions of binutils; possible patch for 3.2 and 3.4 Guenter Roeck
2016-05-20 13:21 ` Maciej W. Rozycki
2016-05-20 17:31   ` Guenter Roeck
2016-05-20 18:29     ` Maciej W. Rozycki
2016-05-20 23:18     ` James Hogan
2017-10-08 18:12 ` Ben Hutchings
2017-10-08 18:49   ` Guenter Roeck
2017-10-08 19:01     ` Guenter Roeck
2017-10-08 19:54       ` Ben Hutchings

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 NNTP newsgroup(s).