All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Strandman <simon.strandman@telia.com>
To: linux-kernel@vger.kernel.org
Subject: 2.6.12-rc4-git7 fails to build on x86_64 if CONFIG_BUG is off.
Date: Tue, 24 May 2005 17:17:03 +0200	[thread overview]
Message-ID: <4293456F.8070608@telia.com> (raw)

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>


                 reply	other threads:[~2005-05-24 15:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4293456F.8070608@telia.com \
    --to=simon.strandman@telia.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.