* devel/acpi-cpufreq.v3: arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' @ 2011-10-23 11:29 Sander Eikelenboom 2011-10-24 12:58 ` Konrad Rzeszutek Wilk 2011-10-24 22:12 ` Konrad Rzeszutek Wilk 0 siblings, 2 replies; 5+ messages in thread From: Sander Eikelenboom @ 2011-10-23 11:29 UTC (permalink / raw) To: Konrad Rzeszutek Wilk; +Cc: xen-devel@lists.xensource.com Hi Konrad, I tried to compile a kernel based on your latest "linux-next" tree (which seems to work fine), and the "devel/acpi-cpufreq.v3" branch pulled in. This fails with a compile error: CC drivers/usb/storage/sierra_ms.o CC drivers/xen/pci.o CC drivers/video/efifb.o CC drivers/usb/storage/option_ms.o CC drivers/video/output.o CC drivers/xen/acpi.o CC drivers/xen/acpi_processor.o LD drivers/xen/xen-evtchn.o LD drivers/xen/xen-gntdev.o LD drivers/xen/xen-gntalloc.o LD drivers/video/fb.o LD drivers/usb/storage/usb-storage.o LD drivers/usb/storage/usb-libusual.o LD drivers/video/built-in.o LD drivers/usb/storage/built-in.o LD drivers/usb/built-in.o LD drivers/xen/built-in.o LD drivers/built-in.o LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' make: *** [.tmp_vmlinux1] Error 1 -- Sander ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: devel/acpi-cpufreq.v3: arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' 2011-10-23 11:29 devel/acpi-cpufreq.v3: arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' Sander Eikelenboom @ 2011-10-24 12:58 ` Konrad Rzeszutek Wilk 2011-10-25 3:55 ` liang tang 2011-10-24 22:12 ` Konrad Rzeszutek Wilk 1 sibling, 1 reply; 5+ messages in thread From: Konrad Rzeszutek Wilk @ 2011-10-24 12:58 UTC (permalink / raw) To: Sander Eikelenboom, liang tang; +Cc: xen-devel@lists.xensource.com On Sun, Oct 23, 2011 at 01:29:01PM +0200, Sander Eikelenboom wrote: > Hi Konrad, > > I tried to compile a kernel based on your latest "linux-next" tree (which seems to work fine), > and the "devel/acpi-cpufreq.v3" branch pulled in. This fails with a compile error: Hmm, OK, Liang, any ideas? > > CC drivers/usb/storage/sierra_ms.o > CC drivers/xen/pci.o > CC drivers/video/efifb.o > CC drivers/usb/storage/option_ms.o > CC drivers/video/output.o > CC drivers/xen/acpi.o > CC drivers/xen/acpi_processor.o > LD drivers/xen/xen-evtchn.o > LD drivers/xen/xen-gntdev.o > LD drivers/xen/xen-gntalloc.o > LD drivers/video/fb.o > LD drivers/usb/storage/usb-storage.o > LD drivers/usb/storage/usb-libusual.o > LD drivers/video/built-in.o > LD drivers/usb/storage/built-in.o > LD drivers/usb/built-in.o > LD drivers/xen/built-in.o > LD drivers/built-in.o > LD vmlinux.o > MODPOST vmlinux.o > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' > make: *** [.tmp_vmlinux1] Error 1 > > -- > > Sander ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: devel/acpi-cpufreq.v3: arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' 2011-10-24 12:58 ` Konrad Rzeszutek Wilk @ 2011-10-25 3:55 ` liang tang 2011-10-25 7:35 ` Sander Eikelenboom 0 siblings, 1 reply; 5+ messages in thread From: liang tang @ 2011-10-25 3:55 UTC (permalink / raw) To: Konrad Rzeszutek Wilk; +Cc: Sander Eikelenboom, xen-devel@lists.xensource.com [-- Attachment #1: Type: text/plain, Size: 1541 bytes --] Hi,Sander would you mind to try this patch(in the attach file ). thank you very much! On 2011-10-24 20:58, Konrad Rzeszutek Wilk wrote: > On Sun, Oct 23, 2011 at 01:29:01PM +0200, Sander Eikelenboom wrote: >> Hi Konrad, >> >> I tried to compile a kernel based on your latest "linux-next" tree (which seems to work fine), >> and the "devel/acpi-cpufreq.v3" branch pulled in. This fails with a compile error: > Hmm, OK, Liang, any ideas? >> CC drivers/usb/storage/sierra_ms.o >> CC drivers/xen/pci.o >> CC drivers/video/efifb.o >> CC drivers/usb/storage/option_ms.o >> CC drivers/video/output.o >> CC drivers/xen/acpi.o >> CC drivers/xen/acpi_processor.o >> LD drivers/xen/xen-evtchn.o >> LD drivers/xen/xen-gntdev.o >> LD drivers/xen/xen-gntalloc.o >> LD drivers/video/fb.o >> LD drivers/usb/storage/usb-storage.o >> LD drivers/usb/storage/usb-libusual.o >> LD drivers/video/built-in.o >> LD drivers/usb/storage/built-in.o >> LD drivers/usb/built-in.o >> LD drivers/xen/built-in.o >> LD drivers/built-in.o >> LD vmlinux.o >> MODPOST vmlinux.o >> GEN .version >> CHK include/generated/compile.h >> UPD include/generated/compile.h >> CC init/version.o >> LD init/built-in.o >> LD .tmp_vmlinux1 >> arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' >> make: *** [.tmp_vmlinux1] Error 1 >> >> -- >> >> Sander [-- Attachment #2: 0001-fixed-the-acpi-sleep-disable-complied-bug.patch --] [-- Type: text/plain, Size: 907 bytes --] >From a7d4508949cc19fd6ade9ab5efbe05ae8e842baf Mon Sep 17 00:00:00 2001 From: Tang Liang <liang.tang@oracle.com> Date: Tue, 25 Oct 2011 11:51:49 +0800 Subject: [PATCH] fixed the acpi sleep disable complied bug this is a template patch for complied bug --- arch/x86/kernel/acpi/boot.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index ddd081b..0c3068f 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c @@ -557,7 +557,12 @@ int (*__acpi_override_sleep)(u8 sleep_state, u32 pm1a_ctrl, u32 pm1b_ctrl, bool *skip_rest) \ __attribute__ ((unused)) = NULL; +#ifdef CONFIG_ACPI_SLEEP int (*acpi_suspend_lowlevel)(void) = x86_acpi_suspend_lowlevel; +#else +int (*acpi_suspend_lowlevel)(void); +#endif + /* * success: return IRQ number (>=0) * failure: return < 0 -- 1.7.6 [-- Attachment #3: Type: text/plain, Size: 138 bytes --] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: devel/acpi-cpufreq.v3: arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' 2011-10-25 3:55 ` liang tang @ 2011-10-25 7:35 ` Sander Eikelenboom 0 siblings, 0 replies; 5+ messages in thread From: Sander Eikelenboom @ 2011-10-25 7:35 UTC (permalink / raw) To: liang tang; +Cc: xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk Tuesday, October 25, 2011, 5:55:45 AM, you wrote: > Hi,Sander > would you mind to try this patch(in the attach file ). thank you very much! Hi Liang, Applied and it fixes the compile error, booted and seems to work ok. Thx! -- Sander > On 2011-10-24 20:58, Konrad Rzeszutek Wilk wrote: >> On Sun, Oct 23, 2011 at 01:29:01PM +0200, Sander Eikelenboom wrote: >>> Hi Konrad, >>> >>> I tried to compile a kernel based on your latest "linux-next" tree (which seems to work fine), >>> and the "devel/acpi-cpufreq.v3" branch pulled in. This fails with a compile error: >> Hmm, OK, Liang, any ideas? >>> CC drivers/usb/storage/sierra_ms.o >>> CC drivers/xen/pci.o >>> CC drivers/video/efifb.o >>> CC drivers/usb/storage/option_ms.o >>> CC drivers/video/output.o >>> CC drivers/xen/acpi.o >>> CC drivers/xen/acpi_processor.o >>> LD drivers/xen/xen-evtchn.o >>> LD drivers/xen/xen-gntdev.o >>> LD drivers/xen/xen-gntalloc.o >>> LD drivers/video/fb.o >>> LD drivers/usb/storage/usb-storage.o >>> LD drivers/usb/storage/usb-libusual.o >>> LD drivers/video/built-in.o >>> LD drivers/usb/storage/built-in.o >>> LD drivers/usb/built-in.o >>> LD drivers/xen/built-in.o >>> LD drivers/built-in.o >>> LD vmlinux.o >>> MODPOST vmlinux.o >>> GEN .version >>> CHK include/generated/compile.h >>> UPD include/generated/compile.h >>> CC init/version.o >>> LD init/built-in.o >>> LD .tmp_vmlinux1 >>> arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' >>> make: *** [.tmp_vmlinux1] Error 1 >>> >>> -- >>> >>> Sander ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: devel/acpi-cpufreq.v3: arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' 2011-10-23 11:29 devel/acpi-cpufreq.v3: arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' Sander Eikelenboom 2011-10-24 12:58 ` Konrad Rzeszutek Wilk @ 2011-10-24 22:12 ` Konrad Rzeszutek Wilk 1 sibling, 0 replies; 5+ messages in thread From: Konrad Rzeszutek Wilk @ 2011-10-24 22:12 UTC (permalink / raw) To: Sander Eikelenboom, liang tang; +Cc: xen-devel@lists.xensource.com On Sun, Oct 23, 2011 at 01:29:01PM +0200, Sander Eikelenboom wrote: > Hi Konrad, > > I tried to compile a kernel based on your latest "linux-next" tree (which seems to work fine), > and the "devel/acpi-cpufreq.v3" branch pulled in. This fails with a compile error: Thanks for taking a spin of it. Could you attach your .config file please? > > CC drivers/usb/storage/sierra_ms.o > CC drivers/xen/pci.o > CC drivers/video/efifb.o > CC drivers/usb/storage/option_ms.o > CC drivers/video/output.o > CC drivers/xen/acpi.o > CC drivers/xen/acpi_processor.o > LD drivers/xen/xen-evtchn.o > LD drivers/xen/xen-gntdev.o > LD drivers/xen/xen-gntalloc.o > LD drivers/video/fb.o > LD drivers/usb/storage/usb-storage.o > LD drivers/usb/storage/usb-libusual.o > LD drivers/video/built-in.o > LD drivers/usb/storage/built-in.o > LD drivers/usb/built-in.o > LD drivers/xen/built-in.o > LD drivers/built-in.o > LD vmlinux.o > MODPOST vmlinux.o > GEN .version > CHK include/generated/compile.h > UPD include/generated/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' > make: *** [.tmp_vmlinux1] Error 1 > > -- > > Sander > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-25 7:35 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-10-23 11:29 devel/acpi-cpufreq.v3: arch/x86/built-in.o:(.data+0x5f88): undefined reference to `x86_acpi_suspend_lowlevel' Sander Eikelenboom 2011-10-24 12:58 ` Konrad Rzeszutek Wilk 2011-10-25 3:55 ` liang tang 2011-10-25 7:35 ` Sander Eikelenboom 2011-10-24 22:12 ` Konrad Rzeszutek Wilk
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.