Re: current TIP/master doesn't build on SLES10

From: H. Peter Anvin
Date: Tue Sep 28 2010 - 12:52:25 EST


On 09/28/2010 09:19 AM, Andreas Herrmann wrote:
> On Tue, Sep 28, 2010 at 12:08:29PM -0400, Jan Beulich wrote:
>>>>> On 28.09.10 at 16:31, Conny Seidel <conny.seidel@xxxxxxx> wrote:
>>> Hi
>>>
>>> compiling TIP/master (44bc8c4f500fce7263803b4acd016fa03cf8a91a) on
>>> SLES10 fails with the following build error:
>>>
>>> arch/x86/kernel/entry_64.S: Assembler messages:
>>> arch/x86/kernel/entry_64.S:1181: Error: too many positional arguments
>>> arch/x86/kernel/entry_64.S:1181: Error: too many positional arguments
>>> make[2]: *** [arch/x86/kernel/entry_64.o] Error 1
>>> make[1]: *** [arch/x86/kernel] Error 2
>>> make: *** [arch/x86] Error 2
>>>
>>> I've bisected it to commit df5d1874ce1a1f0e0eceff4fa3a9d45620243a68.
>>>
>>> Reverting it fixes the issue.
>>>
>>> I know that this is caused by binutils 2.16.91.0.5 which is distributed
>>> with SLES10.
>>
>> I'm generally doing almost all of my work on SLE10, and have not run
>> into this issue. Are you sure you've got it fully updated?
>
> BTW, the build error looks similar to the build problem fixed by
>
> commit e8a0e27662186f8856a0a6242e7a8386c9a64a53
> Author: Ingo Molnar <mingo@xxxxxxx>
> Date: Fri Nov 21 15:11:32 2008 +0100
>
> x86: clean up after: move entry_64.S register saving out of the macros, fix
>

Well, yes of course... it can be summarized as "macros in binutils 2.16
are broken beyond anyone's wildest beliefs".

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/