linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: x86 tree build failure
@ 2008-09-11 23:56 Stephen Rothwell
  2008-09-12  6:05 ` Joerg Roedel
  0 siblings, 1 reply; 20+ messages in thread
From: Stephen Rothwell @ 2008-09-11 23:56 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin; +Cc: linux-next, Joerg Roedel

Hi all,

Today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/kernel/k8.c:20: error: 'PCI_DEVICE_ID_AMD_10H_NB_MISC' undeclared here (not in a function)

Introduced by commit cf169702ba6928cee9d4f4adf3e932b643b8db7a ("x86,
gart: add detection of AMD family 0x11 northbridges").  I applied the
following patch.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 12 Sep 2008 09:52:19 +1000
Subject: [PATCH] x86: fix arch/x86/kernel/k8.c

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/x86/kernel/k8.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/k8.c b/arch/x86/kernel/k8.c
index 304d8ba..3f5b832 100644
--- a/arch/x86/kernel/k8.c
+++ b/arch/x86/kernel/k8.c
@@ -17,7 +17,7 @@ static u32 *flush_words;
 
 struct pci_device_id k8_nb_ids[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_K8_NB_MISC) },
-	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_10H_NB_MISC) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x1203) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_11H_NB_MISC) },
 	{}
 };
-- 
1.5.6.3

^ permalink raw reply related	[flat|nested] 20+ messages in thread
* linux-next:  x86 tree build failure
@ 2008-08-25 10:22 Stephen Rothwell
  2008-08-25 10:28 ` Ingo Molnar
  0 siblings, 1 reply; 20+ messages in thread
From: Stephen Rothwell @ 2008-08-25 10:22 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin; +Cc: linux-next, Rene Herman

Hi all,

Today's linux-next build (powerpc allyesconfig) failed like this:

drivers/char/agp/uninorth-agp.c:541: error: unknown field 'agp_destroy_paged' specified in initializer

Caused by commit 5f310b63781f6777bf4e812570560ec0f8ea42d8 ("agp: enable optimized agp_alloc_pages methods").  A simple typo ...

I applied the following patch.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 25 Aug 2008 20:16:07 +1000
Subject: [PATCH] agp: fix typo in uninorth-agp

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/char/agp/uninorth-agp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/agp/uninorth-agp.c b/drivers/char/agp/uninorth-agp.c
index 2accc97..0f004b6 100644
--- a/drivers/char/agp/uninorth-agp.c
+++ b/drivers/char/agp/uninorth-agp.c
@@ -538,7 +538,7 @@ const struct agp_bridge_driver u3_agp_driver = {
 	.agp_alloc_page		= agp_generic_alloc_page,
 	.agp_alloc_pages	= agp_generic_alloc_pages,
 	.agp_destroy_page	= agp_generic_destroy_page,
-	.agp_destroy_paged	= agp_generic_destroy_pages,
+	.agp_destroy_pages	= agp_generic_destroy_pages,
 	.agp_type_to_mask_type  = agp_generic_type_to_mask_type,
 	.cant_use_aperture	= true,
 	.needs_scratch_page	= true,
-- 
1.5.6.3

^ permalink raw reply related	[flat|nested] 20+ messages in thread
* linux-next: x86 tree build failure
@ 2008-07-17  2:07 Stephen Rothwell
  2008-07-17  9:23 ` Vegard Nossum
  0 siblings, 1 reply; 20+ messages in thread
From: Stephen Rothwell @ 2008-07-17  2:07 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin; +Cc: linux-next, Vegard Nossum

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

Hi all,

Today's linux-next build (x86_64 allmodconfig) failed like this:

arch/x86/kernel/syscall_64.c:27: error: array index in initializer exceeds array bounds
arch/x86/kernel/syscall_64.c:27: error: (near initialization for 'sys_call_table')
arch/x86/kernel/syscall_64.c:27: warning: excess elements in array initializer
arch/x86/kernel/syscall_64.c:27: warning: (near initialization for 'sys_call_table')

Reverting commit aa27f95867447916d97c7aa6e5422ff6518630dd ("x86:
consolidate header guards") makes it build ok.  I found that hard to
believe, so I undid the revert and it fails again.

gcc is x86_64-unknown-linux-gnu-gcc (GCC) 4.0.2 cross built on a powerpc host.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread
* linux-next: x86 tree build failure
@ 2008-06-17  3:46 Stephen Rothwell
  2008-06-17  5:58 ` Ingo Molnar
  2008-06-25  3:17 ` Stephen Rothwell
  0 siblings, 2 replies; 20+ messages in thread
From: Stephen Rothwell @ 2008-06-17  3:46 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin; +Cc: linux-next

[-- Attachment #1: Type: text/plain, Size: 1679 bytes --]

Hi all,

Today's linux-next build (x86_64 allmodconfig) after merging the x86 tree
failed like this:

In file included from arch/x86/kernel/setup_64.c:34:
include/linux/acpi.h:97:1: warning: "NR_NODE_MEMBLKS" redefined
In file included from include/acpi/platform/aclinux.h:59,
                 from include/acpi/platform/acenv.h:140,
                 from include/acpi/acpi.h:54,
                 from include/linux/acpi.h:39,
                 from arch/x86/kernel/setup_64.c:34:
include2/asm/acpi.h:165:1: warning: this is the location of the previous definition

NR_NODE_MEMBLKS is defined in linux/acpi.h if CONFIG_HAVE_ARCH_PARSE_SRAT
is defined and in asm-x86/acpi.h if CONFIG_ACPI_NUMA and CONFIG_X86_64
are defined ...

Lots of the above, as well as:

arch/x86/mm/srat_64.c:101: error: syntax error before 'do'
arch/x86/mm/srat_64.c:108: error: syntax error before 'do'
arch/x86/mm/srat_64.c:113: error: syntax error before 'if'

and it went down hill from here ...

srat_64.c is built if CONFIG_X86_32 is *not* 'y' and CONFIG_ACPI_NUMA is
'y' while in include/linux/acpi.h, acpi_numa_slit_init,
acpi_numa_processor_affinity_init, acpi_numa_memory_affinity_init and
acpi_numa_arch_fixup are all macros if CONFIG_HAVE_ARCH_PARSE_SRAT is
defined.

So we have CONFIG_X86_64, CONFIG_ACPI_NUMA and
CONFIG_HAVE_ARCH_PARSE_SRAT all defined.

I have no idea how (or time) to fix this, so the x86 tree is dropped for
today.  If you guys are going to auto generate a tree for me each day,
then you need to test build it a bit, please.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2008-09-14 19:52 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-11 23:56 linux-next: x86 tree build failure Stephen Rothwell
2008-09-12  6:05 ` Joerg Roedel
2008-09-12  7:31   ` Stephen Rothwell
2008-09-12  7:54     ` Joerg Roedel
2008-09-12  8:30     ` Ingo Molnar
2008-09-14 19:52       ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2008-08-25 10:22 Stephen Rothwell
2008-08-25 10:28 ` Ingo Molnar
2008-07-17  2:07 Stephen Rothwell
2008-07-17  9:23 ` Vegard Nossum
2008-07-18 20:10   ` Ingo Molnar
2008-07-18 20:12     ` Ingo Molnar
2008-07-19 12:11       ` Stephen Rothwell
2008-06-17  3:46 Stephen Rothwell
2008-06-17  5:58 ` Ingo Molnar
2008-06-17  6:08   ` Ingo Molnar
2008-06-17  6:45     ` Ingo Molnar
2008-06-18  5:04   ` Stephen Rothwell
2008-06-18  6:39     ` Ingo Molnar
2008-06-25  3:17 ` Stephen Rothwell

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).