lkml.org 
[lkml]   [2008]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.25-rc2-mm1 (wakeup)
Rafael J. Wysocki wrote:
> On Saturday, 16 of February 2008, Randy Dunlap wrote:
>> On Sat, 16 Feb 2008 00:25:22 -0800 Andrew Morton wrote:
>>
>>> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc2/2.6.25-rc2-mm1/
>> The ACPI wakeup in C patch (I think) won't build for me on x86_32
>> (i.e., i386 build on x86_64 system):
>>
>> linux-2.6.25-rc2-mm1/arch/x86/kernel/acpi/realmode/wakeup.S:0: error: CPU you selected does not support x86-64 instruction set
>> linux-2.6.25-rc2-mm1/arch/x86/kernel/acpi/realmode/wakeup.S:0: error: CPU you selected does not support x86-64 instruction set
>> linux-2.6.25-rc2-mm1/arch/x86/kernel/acpi/realmode/wakeup.S:0: error: -mpreferred-stack-boundary=2 is not between 4 and 12
>> make[4]: *** [arch/x86/kernel/acpi/realmode/wakeup.o] Error 1
>> make[3]: *** [arch/x86/kernel/acpi/realmode/wakeup.bin] Error 2
>
> It compiles for me on a native i386.
>
> Can you please give me a hint what to do to reproduce the problem?

Sounds like you're not adding -m32 to the gcc command line.

-hpa


\
 
 \ /
  Last update: 2008-02-17 02:25    [from the cache]
©2003-2011 Jasper Spaans