[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#613979: [regression] "BUG: Unable to handle kernel paging request at ffffc90013cd8000" and no sound card recognized



Paul Menzel wrote:

> `make -j2 deb-pkg` failed with the following error.
>
>         In file included from /opt/sound-2.6/arch/x86/include/asm/hardirq.h:5:0,
>                          from include/linux/hardirq.h:10,
>                          from include/linux/interrupt.h:12,
>                          from include/linux/kernel_stat.h:8,
>                          from /srv/filme/oe/sound-2.6/arch/x86/include/asm/i387.h:16,
>                          from arch/x86/kernel/signal.c:26:
>         include/linux/irq.h: In function ‘alloc_desc_masks’:
>         include/linux/irq.h:439:8: warning: variable ‘gfp’ set but not used [-Wunused-but-set-variable]
>           AS      arch/x86/kernel/entry_64.o
>           CC      init/calibrate.o
>         /tmp/ccTMpQIL.s: Assembler messages:
>         /tmp/ccTMpQIL.s: Error: .size expression for do_hypervisor_callback does not evaluate to a constant
>         make[4]: *** [arch/x86/kernel/entry_64.o] Fehler 1
>         make[3]: *** [arch/x86/kernel] Fehler 2
>         make[2]: *** [arch/x86] Fehler 2

Yep, I forgot about binutils bug#620448.  If you put this script
somewhere before /usr/bin on your $PATH, make it executable, and name
it "as", that should work around it.

	#!/bin/sh
	exec /usr/bin/as --size-check=warning "$@"

If you're using gcc 4.6, the change from de2a8cf9 (e.g., grab it
using "git cherry-pick de2a8cf9") is also needed.



Reply to: