From: compudj@krystal.dyndns.org (Mathieu Desnoyers)
Subject: [ltt-dev] 2.6.29-rc7-lttng-0.110 broken with CONFIG_SLUB
Date: Mon, 16 Mar 2009 16:47:18 -0400 [thread overview]
Message-ID: <20090316204718.GB14337@Krystal> (raw)
In-Reply-To: <20090316200115.GA22538@yoda.jdub.homelinux.org>
* Josh Boyer (jwboyer at linux.vnet.ibm.com) wrote:
> On Mon, Mar 16, 2009 at 03:44:59PM -0400, Mathieu Desnoyers wrote:
> >* Josh Boyer (jwboyer at linux.vnet.ibm.com) wrote:
> >> Hi All,
> >>
> >> I was attempting to build a simple ppc64_defconfig using
> >> the latest LTTng tag from git. When doing a:
> >>
> >> make ppc64_defconfig
> >> make
> >>
> >> I get the error below.
> >>
> >
> >Hi Josh,
> >
> >Yes, LTTng has been tested with slub, but not for the powerpc64
> >cross-build. Thanks for the report, this is actually a header circular
> >dependency I caused. It should be fixed in LTTng 0.111.
>
> Bah. Yes, I should have clarified on ppc/ppc64. Sorry for the confusion
> there.
>
> >I'll have to update my powerpc64 cross compiler to test it, because I am
> >stucked with a broken gcc 4.1. Please tell me if 0.111 fixes the problem
> >for you or if you encounter other problems.
>
> Yep, the extern on tb_ticks_per_sec is what I had come up with locally.
> It should work fine, and does indeed get past the error I was seeing. The
> build now dies with:
>
> 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
cross-compiler to find out what is happening here. What is your compiler
version ?
Mathieu
--
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
next prev parent reply other threads:[~2009-03-16 20:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-16 18:22 Josh Boyer
2009-03-16 19:44 ` Mathieu Desnoyers
2009-03-16 20:01 ` Josh Boyer
2009-03-16 20:25 ` Mathieu Desnoyers
2009-03-16 20:58 ` Josh Boyer
2009-03-16 21:53 ` Mathieu Desnoyers
2009-03-16 22:05 ` Josh Boyer
2009-03-16 23:11 ` [ltt-dev] [PATCH] kernel/irq/handle.c fix kstat_irqs_cpu and irq_to_desc symbols Mathieu Desnoyers
2009-03-16 23:52 ` Thomas Gleixner
2009-03-17 0:08 ` [ltt-dev] [PATCH] kernel/irq/handle.c fix kstat_irqs_cpu and irq_to_desc symbols v2 Mathieu Desnoyers
2009-03-17 0:34 ` Josh Boyer
2009-03-17 8:29 ` Thomas Gleixner
2009-03-16 20:47 ` Mathieu Desnoyers [this message]
2009-03-16 21:01 ` [ltt-dev] 2.6.29-rc7-lttng-0.110 broken with CONFIG_SLUB Josh Boyer
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=20090316204718.GB14337@Krystal \
--to=compudj@krystal.dyndns.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox