public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.12-rc4-git7 fails to build on x86_64 if CONFIG_BUG is off.
@ 2005-05-24 15:17 Simon Strandman
  0 siblings, 0 replies; only message in thread
From: Simon Strandman @ 2005-05-24 15:17 UTC (permalink / raw)
  To: linux-kernel

Hi!

I don't know if this is a supported configuration, but I tried turning 
off CONFIG_BUG just to see what difference it would make. But it fails 
to build with this error:

  CC      arch/x86_64/kernel/process.o
  CC      arch/x86_64/kernel/semaphore.o
  CC      arch/x86_64/kernel/signal.o
  AS      arch/x86_64/kernel/entry.o
  CC      arch/x86_64/kernel/traps.o
  CC      arch/x86_64/kernel/irq.o
  CC      arch/x86_64/kernel/ptrace.o
  CC      arch/x86_64/kernel/time.o
  CC      arch/x86_64/kernel/ioport.o
  CC      arch/x86_64/kernel/ldt.o
  CC      arch/x86_64/kernel/setup.o
In file included from include/linux/dma-mapping.h:19,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from include/asm/pci.h:94,
                 from include/linux/pci.h:904,
                 from arch/x86_64/kernel/setup.c:39:
include/asm/dma-mapping.h: In function `dma_sync_single_for_cpu':
include/asm/dma-mapping.h:67: varning: implicit deklaration av funktion 
"out_of_line_bug"
  CC      arch/x86_64/kernel/i8259.o
  CC      arch/x86_64/kernel/sys_x86_64.o
  CC      arch/x86_64/kernel/x8664_ksyms.o
In file included from include/linux/dma-mapping.h:19,
                 from include/asm-generic/pci-dma-compat.h:7,
                 from include/asm/pci.h:94,
                 from include/linux/pci.h:904,
                 from arch/x86_64/kernel/x8664_ksyms.c:10:
include/asm/dma-mapping.h: In function `dma_sync_single_for_cpu':
include/asm/dma-mapping.h:67: varning: implicit deklaration av funktion 
"out_of_line_bug"
arch/x86_64/kernel/x8664_ksyms.c: At top level:
arch/x86_64/kernel/x8664_ksyms.c:196: error: conflicting types for 
'out_of_line_bug'
include/asm/dma-mapping.h:67: error: previous implicit declaration of 
'out_of_line_bug' was here
make[1]: *** [arch/x86_64/kernel/x8664_ksyms.o] Fel 1
make: *** [arch/x86_64/kernel] Fel 2

This is with gcc 3.4.3, binutils 2.16 and I have the -ck patch applied. 
It works fine with CONFIG_BUG set to y. My kernel config: 
http://snigel.no-ip.com/~nxsty/linux/config

-- 
Simon Strandman <simon.strandman@telia.com>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-05-24 15:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-24 15:17 2.6.12-rc4-git7 fails to build on x86_64 if CONFIG_BUG is off Simon Strandman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox