This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [BUG] as of trunk build Linux kernel trunk entry_32.S got error
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Hui Zhu <teawater at gmail dot com>, LKML <linux-kernel at vger dot kernel dot org>, "H. Peter Anvin" <hpa at zytor dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 3 Mar 2011 05:48:01 -0800
- Subject: Re: [BUG] as of trunk build Linux kernel trunk entry_32.S got error
- References: <AANLkTimqT82wR20vvunnMvNShFSs0zWtmeT66A84Nh5t@mail.gmail.com>
On Wed, Mar 2, 2011 at 10:16 PM, Hui Zhu <teawater@gmail.com> wrote:
> as -version
> GNU assembler (GNU Binutils) 2.21.51.20110303
> ?AS ? ? ?arch/x86/kernel/entry_32.o
> /home/teawater/big/kernel/linux-2.6/arch/x86/kernel/entry_32.S:
> Assembler messages:
> /home/teawater/big/kernel/linux-2.6/arch/x86/kernel/entry_32.S:1422:
> Error: .size expression does not evaluate to a constant
>
> When I change back to the as of system, everything is OK.
>
> Because I always use the as of trunk, so I think a recent PATCH caused
> the problem.
>
You need
http://git.kernel.org/?p=linux/kernel/git/hjl/linux-2.6.37.y.git;a=commitdiff;h=2c5ce9c1b8eb927c131a31d4466e24e00647e9cb
--
H.J.