From: Jan Kiszka <jan.kiszka@domain.hid>
To: James Doebbler <jamesdoebbler@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Problem compiling patched kernel: multiple definitions of mcount
Date: Thu, 13 Nov 2008 17:51:48 +0100 [thread overview]
Message-ID: <491C5B24.60202@domain.hid> (raw)
In-Reply-To: <223a70540811122148o73ae3d2ex1689b5d03f77f825@domain.hid>
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. 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
--
Siemens AG, Corporate Technology, CT SE 2 ES-OS
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2008-11-13 16:51 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 [this message]
2008-11-13 17:18 ` James Doebbler
2008-11-13 17:49 ` Philippe Gerum
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=491C5B24.60202@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=jamesdoebbler@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.