[ltt-dev] 2.6.29-rc7-lttng-0.110 broken with CONFIG_SLUB

Josh Boyer jwboyer at linux.vnet.ibm.com
Mon Mar 16 17:01:19 EDT 2009


On Mon, Mar 16, 2009 at 04:47:18PM -0400, Mathieu Desnoyers wrote:
>> kernel/irq/handle.c:259: error: __ksymtab_irq_to_desc causes a section type conflict
>> kernel/irq/handle.c:259: error: __ksymtab_irq_to_desc causes a section type conflict
>> make[2]: *** [kernel/irq/handle.o] Error 1
>> make[1]: *** [kernel/irq] Error 2
>> make: *** [kernel] Error 2
>> make: *** Waiting for unfinished jobs....
>> 
>> josh
>> 
>
>Threads like this 
>http://lkml.org/lkml/2008/1/13/175
>
>Tells me this kind of problems appears with the symbol is declared
>static *and* exported, which does not seem to be the case for
>irq_to_desc. It's first declared here :
>
>(supposing CONFIG_GENERIC_HARDIRQS)
>
>include/linux/irqnr.h:
>
>extern struct irq_desc *irq_to_desc(unsigned int irq);
>
>then declared here :
>
>!CONFIG_SPARSE_IRQ :
>
>struct irq_desc *irq_to_desc(unsigned int irq)
>{
>        return (irq < NR_IRQS) ? irq_desc + irq : NULL;
>}
>EXPORT_SYMBOL(irq_to_desc);
>
>
>I don't see the problem.. any idea ? I'll have to install a

Not sure yet.  I'll poke at it a bit.

>cross-compiler to find out what is happening here. What is your compiler
>version ?

gcc 4.3.2 from Fedora 9 on ppc.

josh




More information about the lttng-dev mailing list