All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: James Doebbler <jamesdoebbler@domain.hid>, xenomai@xenomai.org
Subject: Re: [Xenomai-help] Problem compiling patched kernel: multiple	definitions of mcount
Date: Thu, 13 Nov 2008 18:49:18 +0100	[thread overview]
Message-ID: <491C689E.4050208@domain.hid> (raw)
In-Reply-To: <491C5B24.60202@domain.hid>

Jan Kiszka wrote:
> James Doebbler wrote:
>> Hello,
>>  I am trying to patch and install a kernel using Xenomai (on Ubuntu
>> 8.10).  I am using a vanilla linux-2.6.27 kernel and the latest
>> xenomai version (2.4.6.1).  I had some earlier problems that I
>> resolved by using the latest adeos patch (now I see that has been
>> fixed in 2.4.6.1), but I've been running into another problem.  I get
>> an error when compiling due to multiple definitions of mcount in the
>> entry_32.S and mcount_32.S files.  I looked at the code and decided
>> that disabling function tracing (CONFIG_FTRACE) in the kernel config
>> would eliminate the kernel function tracing and the ipipe function
>> tracing from stepping on each others' toes.  The kernel seems to be
>> compiling okay now (still in progress).  I just wanted to ask if this
>> is a bug or expected, and if the action I took was appropriate.  Do I
>> lose anything by disabling kernel function tracing?
> 
> OK, that experience confirms my first glance on the latest patch /wrt
> FTRACE integration: unfinished.

Not quite. Not addressed would be more appropriate.

 The solution will be using the FTRACE
> mcount functions for the ipipe tracer - should be feasible, except for
> dynamic FRTRACE, ie. the thing that killed puppies and e1000 NICs. :)
> 
> Hope I'll find some time to look into this, but I can't promise when.
> For now, if you want FTRACE (probably not, when you don't know it yet),
> disable CONFIG_IPIPE_TRACE.
> 
> Jan
> 


-- 
Philippe.


      parent reply	other threads:[~2008-11-13 17:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13  5:48 [Xenomai-help] Problem compiling patched kernel: multiple definitions of mcount James Doebbler
2008-11-13 16:51 ` Jan Kiszka
2008-11-13 17:18   ` James Doebbler
2008-11-13 17:49   ` Philippe Gerum [this message]

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=491C689E.4050208@domain.hid \
    --to=rpm@xenomai.org \
    --cc=jamesdoebbler@domain.hid \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.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.