netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [BUG] [2.6.19-rc4-mm2] can't compile drivers/acpi/processor_idle.c
       [not found] <20061108150141.b792fbdb.kamezawa.hiroyu@jp.fujitsu.com>
@ 2006-11-08  6:52 ` Andrew Morton
  2006-11-08  7:02   ` David Miller
  2006-11-08  7:22   ` KAMEZAWA Hiroyuki
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Morton @ 2006-11-08  6:52 UTC (permalink / raw)
  To: KAMEZAWA Hiroyuki; +Cc: tglx, LKML, netdev, linux-ia64, Auke Kok, Jeff Garzik

On Wed, 8 Nov 2006 15:01:41 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:

> 
> While compiling 2.6.19-rc4-mm2 on ia64, I met this compile error.
> ==
>   CC [M]  drivers/acpi/processor_idle.o
> drivers/acpi/processor_idle.c:43:22: asm/apic.h: No such file or directory
> drivers/acpi/processor_idle.c: In function `acpi_processor_power_seq_show':
> drivers/acpi/processor_idle.c:1202: warning: long long unsigned int format, u64 arg (arg 5)
> ==
> 
> This is because of acpi-include-apic-h.patch, maybe.
> ia64 doesn't have asm/acpi.h

That got fixed (by ugly means).

> my .config is attached.

But rc5-mm1 remains broken with that .config:

arch/ia64/pci/pci.c: In function `pci_acpi_scan_root':
arch/ia64/pci/pci.c:354: warning: implicit declaration of function `pxm_to_node'
...
arch/ia64/pci/built-in.o(.text+0xe92): In function `pci_acpi_scan_root':
: undefined reference to `pxm_to_node'

This bug exists in mainline.




Also,

drivers/built-in.o(.text+0xd9a72): In function `e1000_xmit_frame':
: undefined reference to `csum_ipv6_magic'

I don't know how this got broken.  ia64 seems to be the only architecture
which doesn't have an implementation of csum_ipv6_magic().  This bug
appears to be introduced by git-netdev-all.patch.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] [2.6.19-rc4-mm2] can't compile drivers/acpi/processor_idle.c
  2006-11-08  6:52 ` [BUG] [2.6.19-rc4-mm2] can't compile drivers/acpi/processor_idle.c Andrew Morton
@ 2006-11-08  7:02   ` David Miller
  2006-11-08  7:22   ` KAMEZAWA Hiroyuki
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2006-11-08  7:02 UTC (permalink / raw)
  To: akpm
  Cc: kamezawa.hiroyu, tglx, linux-kernel, netdev, linux-ia64,
	auke-jan.h.kok, jeff

From: Andrew Morton <akpm@osdl.org>
Date: Tue, 7 Nov 2006 22:52:59 -0800

> Also,
> 
> drivers/built-in.o(.text+0xd9a72): In function `e1000_xmit_frame':
> : undefined reference to `csum_ipv6_magic'
> 
> I don't know how this got broken.  ia64 seems to be the only architecture
> which doesn't have an implementation of csum_ipv6_magic().  This bug
> appears to be introduced by git-netdev-all.patch.

There is a generic version, which e1000 would get if it included
the net/ip_checksum.h header file.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG] [2.6.19-rc4-mm2] can't compile drivers/acpi/processor_idle.c
  2006-11-08  6:52 ` [BUG] [2.6.19-rc4-mm2] can't compile drivers/acpi/processor_idle.c Andrew Morton
  2006-11-08  7:02   ` David Miller
@ 2006-11-08  7:22   ` KAMEZAWA Hiroyuki
  1 sibling, 0 replies; 3+ messages in thread
From: KAMEZAWA Hiroyuki @ 2006-11-08  7:22 UTC (permalink / raw)
  To: Andrew Morton
  Cc: tglx, linux-kernel, netdev, linux-ia64, auke-jan.h.kok, jeff

On Tue, 7 Nov 2006 22:52:59 -0800
Andrew Morton <akpm@osdl.org> wrote:

> On Wed, 8 Nov 2006 15:01:41 +0900
> KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> 
> > 
> > While compiling 2.6.19-rc4-mm2 on ia64, I met this compile error.
> > ==
> >   CC [M]  drivers/acpi/processor_idle.o
> > drivers/acpi/processor_idle.c:43:22: asm/apic.h: No such file or directory
> > drivers/acpi/processor_idle.c: In function `acpi_processor_power_seq_show':
> > drivers/acpi/processor_idle.c:1202: warning: long long unsigned int format, u64 arg (arg 5)
> > ==
> > 
> > This is because of acpi-include-apic-h.patch, maybe.
> > ia64 doesn't have asm/acpi.h
> 
> That got fixed (by ugly means).

Ah, okay. I'll move to rc5-mm1. Thank you.

> 
> > my .config is attached.
> 
> But rc5-mm1 remains broken with that .config:
> 
> arch/ia64/pci/pci.c: In function `pci_acpi_scan_root':
> arch/ia64/pci/pci.c:354: warning: implicit declaration of function `pxm_to_node'
> ...
> arch/ia64/pci/built-in.o(.text+0xe92): In function `pci_acpi_scan_root':
> : undefined reference to `pxm_to_node'
> 
> This bug exists in mainline.
> 

How about this ? Maybe ia64 people's review is necessary.

-Kame
==
When ACPI && NUMA, pxm_to_node is used and it exists in drivers/acpi/numa.c

Signed-Off-By: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujtisu.com>

Index: linux-2.6.19-rc4-mm2/arch/ia64/Kconfig
===================================================================
--- linux-2.6.19-rc4-mm2.orig/arch/ia64/Kconfig	2006-11-08 14:15:21.000000000 +0900
+++ linux-2.6.19-rc4-mm2/arch/ia64/Kconfig	2006-11-08 16:16:40.000000000 +0900
@@ -353,6 +353,7 @@
 	bool "NUMA support"
 	depends on !IA64_HP_SIM && !FLATMEM
 	default y if IA64_SGI_SN2
+	select ACPI_NUMA if ACPI
 	help
 	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
 	  Access).  This option is for configuring high-end multiprocessor


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-11-08  7:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20061108150141.b792fbdb.kamezawa.hiroyu@jp.fujitsu.com>
2006-11-08  6:52 ` [BUG] [2.6.19-rc4-mm2] can't compile drivers/acpi/processor_idle.c Andrew Morton
2006-11-08  7:02   ` David Miller
2006-11-08  7:22   ` KAMEZAWA Hiroyuki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).