lkml.org 
[lkml]   [2003]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Bug 1131] New: Unable to compile without "Software Suspend" (AMD 64)
From
Date
On Fri, 2003-08-22 at 11:52, Martin J. Bligh wrote:
> http://bugme.osdl.org/show_bug.cgi?id=1131
>
> Summary: Unable to compile without "Software Suspend"
> Kernel Version: 2.6.0-test3-bk9
> Status: NEW
> Severity: high
> Owner: bugme-janitors@lists.osdl.org
> Submitter: michal-bugzilla@logix.cz
>
>
> Hardware Environment: AMD64
> Software Environment: gcc-3.3
> Problem Description:
>
> It's impossible to compile kernel without "Software Suspend" on AMD64. At the
> linking time it complains:
> GEN .version
> CHK include/linux/compile.h
> UPD include/linux/compile.h
> CC init/version.o
> LD init/built-in.o
> LD .tmp_vmlinux1
> arch/x86_64/kernel/built-in.o(.text+0xc6bf): In function `do_suspend_lowlevel':
> : undefined reference to `save_processor_state'
> arch/x86_64/kernel/built-in.o(.text+0xc6c6): In function `do_suspend_lowlevel':
> : undefined reference to `saved_context_esp'
> arch/x86_64/kernel/built-in.o(.text+0xc6cd): In function `do_suspend_lowlevel':
> : undefined reference to `saved_context_eax'
>
> Steps to reproduce:
> On AMD64 deselect "Power management options" -> "Software Suspend" and compile.

It isn't just that. It is if the ACPI Support -> Sleep States is
enabled (which it is by default), you then have to enable the Software
Suspend for the link to work. So they are dependent on each other. If
you disable both it will compile, or enable both.

--
Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.086 / U:6.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site