Re: [Bug 1131] New: Unable to compile without "Software Suspend"(AMD 64)

From: Chris Meadors
Date: Fri Aug 22 2003 - 14:32:51 EST


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@xxxxxxxxxxxxxx
> Submitter: michal-bugzilla@xxxxxxxx
>
>
> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/