Bug#616426: linux-source-2.6.37: fails to build using make-kpkg
Hi
On Friday 04 March 2011, Ben Hutchings wrote:
> On Fri, 2011-03-04 at 11:37 +0000, rob wrote:
> > Package: linux-source-2.6.37
> > Version: 2.6.37-2
> > Severity: important
> >
> > AS arch/x86/kernel/entry_64.o
> > 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[4]: *** [arch/x86/kernel/entry_64.o] Error 1
> > make[3]: *** [arch/x86/kernel] Error 2
> > make[2]: *** [arch/x86] Error 2
> > make[2]: Leaving directory `/usr/src/linux-source-2.6.37'
> > make[1]: *** [debian/stamp/build/kernel] Error 2
> > make[1]: Leaving directory `/usr/src/linux-source-2.6.37'
> > make: *** [debian/stamp/do-build-arch] Error 2
>
> Oddly enough, this code did build in the official packages! May be a
> bug in binutils (#616357).
Yes, it is related to #616357 (and official packages are affected just
as well, if built with the new binutils).
Patch needed for 2.6.37 and 2.6.38-rc7(-git2):
- http://git.kernel.org/?p=linux/kernel/git/hjl/linux-2.6.37.y.git;a=commitdiff_plain;h=2c5ce9c1b8eb927c131a31d4466e24e00647e9cb
Patch only needed for 2.6.38-rc7(-git2), in addition to the one above:
- https://patchwork.kernel.org/patch/606241/
Regards
Stefan Lippers-Hollmann
Reply to: