From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: Xenomai core <Xenomai-core@domain.hid>
Subject: Re: [Xenomai-core] __wrap_clock_gettime
Date: Wed, 27 Jul 2011 20:49:15 +0200 [thread overview]
Message-ID: <4E305DAB.80402@domain.hid> (raw)
In-Reply-To: <4E299162.8000309@domain.hid>
On 07/22/2011 05:04 PM, Jan Kiszka wrote:
> Hi Gilles,
>
> pulling assert_context.c into the common libxenomai created a problem
> around picking the right __wrap_clock_gettime. As libpthread_rt depends
> on libxenomai, the latter is loaded first and defines the debug version
> of __wrap_clock_gettime as the default. There is no chance to pull the
> posix skin implementation.
>
> I don't have a nice idea yes how to resolve this. Options are:
> - drop __wrap_clock_gettime from assert_context.c (affects any skin
> user != posix)
> - put assert_context stuff into separate library again
> - put __wrap_clock_gettime in all skin libs != posix
>
> I'm favoring the simplest approach ATM, ie. the first one. Other ideas?
I agree, but I would have thought __attriibute__((weak)) takes care of
this issue.
--
Gilles.
next prev parent reply other threads:[~2011-07-27 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-22 15:04 [Xenomai-core] __wrap_clock_gettime Jan Kiszka
2011-07-27 18:49 ` Gilles Chanteperdrix [this message]
2011-07-28 16:56 ` Jan Kiszka
2011-07-28 17:01 ` Jan Kiszka
2011-07-29 11:44 ` Jan Kiszka
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=4E305DAB.80402@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=Xenomai-core@domain.hid \
--cc=jan.kiszka@domain.hid \
/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.