Re: Linux 2.6.38-rc8

From: Sedat Dilek
Date: Sat Mar 12 2011 - 17:11:22 EST


[QUOTE]
On 2011-03-08 07:40, Linus Torvalds wrote:
> So please keep testing,

Doesn't build:
arch/x86/kernel/entry_64.S: Assembler messages:
arch/x86/kernel/entry_64.S:1531: Error: .size expression does not
evaluate to a constant
make[2]: *** [arch/x86/kernel/entry_64.o] Error 1
make[1]: *** [arch/x86/kernel] Error 2
make: *** [arch/x86] Error 2

Must be due to recent binutils upgrade, because 2.6.37 doesn't build
anymore either.

Looks like these patches are needed:
http://git.kernel.org/?p=linux/kernel/git/hjl/linux-2.6.37.y.git;a=commitdiff;h=2c5ce9c1b8eb927c131a31d4466e24e00647e9cb
https://patchwork.kernel.org/patch/606241/

Best regards,
--Edwin
[/QUOTE]

There was a long discussion caused by a breakage in linux-next with a
2.21-snapshot release of binutils in Debian/sid:
"Re: linux-next: Tree for March 8 (BROKEN: arch/x86/kernel/entry_32.S?
Debian's binutils/as?)"

The result were two patches [1] and [2] which helped to build a
linux-next kernel with new binutils.
[1] affects also 2.6.38, [2] is for linux-next (upcoming 2.6.39).
Ingo combined both fixes as one [3] and accepted it to
tip:x86/trampoline (see [4]).
This single fix found already its way to linux-next tree (where I am on).

- Sedat -

[1] https://patchwork.kernel.org/patch/619081/
[2] https://patchwork.kernel.org/patch/619611/
[3] https://patchwork.kernel.org/patch/621001/
[4] http://git.kernel.org/?p=linux/kernel/git/tip/linux-2.6-tip.git;a=commit;h=2ae9d293b14d17f35eff624272cfecac7979a2ee
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/