2009-03-23 19:05:37

by Dmitri Vorobiev

[permalink] [raw]
Subject: build failure on current -tip

CC arch/x86/kernel/apic/io_apic.o
cc1: warnings being treated as errors
arch/x86/kernel/apic/io_apic.c:1431: error: 'msi_ir_chip' defined but not used
make[2]: *** [arch/x86/kernel/apic/io_apic.o] Error 1
make[1]: *** [arch/x86/kernel/apic] Error 2
make: *** [arch/x86/kernel] Error 2

.config attached.

Dmtiri


Attachments:
.config (38.97 kB)

2009-03-23 19:41:53

by Ingo Molnar

[permalink] [raw]
Subject: Re: build failure on current -tip


* Dmitri Vorobiev <[email protected]> wrote:

> CC arch/x86/kernel/apic/io_apic.o
> cc1: warnings being treated as errors
> arch/x86/kernel/apic/io_apic.c:1431: error: 'msi_ir_chip' defined but not used
> make[2]: *** [arch/x86/kernel/apic/io_apic.o] Error 1
> make[1]: *** [arch/x86/kernel/apic] Error 2
> make: *** [arch/x86/kernel] Error 2

that's a build warning turned into a build failure by:

# CONFIG_ALLOW_WARNINGS is not set

Ingo