From: Henning Schild <henning.schild@siemens.com>
To: xenomai@xenomai.org
Subject: [Xenomai] xenomai 2 LDFLAGS wrappers, posix only
Date: Tue, 10 Jan 2017 16:07:57 +0100 [thread overview]
Message-ID: <20170110160757.5eb8ccee@md1em3qc> (raw)
Hi,
i am about to include three more wrappers into xenomai2 to assert_nrt,
later i plan to create a xenomai3 patch as well. The functions to wrap
are __cxa_guard_(acquire|release|abort). They contain mutexes
protecting the initialization state of static objects in c++ code,
often found when people implement the singleton pattern.
I have got the wrapping code but found that xeno-config will create the
wrapping LDFLAGS only for the posix skin. Is that intentional or an
inconsistency?
Even the wrappers in the "common" skin get applied for posix only.
I tried calling malloc/free in a "--skin=native" example and did not
get the SIGXCPU.
Now i am guessing that the way wrappers are applied in xenomai2 is
somehow inconsistent. Is that something that should be fixed by having
common and per skin wrappers, or would it be ok to simply always append
the posix LDFLAGS as well?
Henning
next reply other threads:[~2017-01-10 15:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-10 15:07 Henning Schild [this message]
2017-01-11 11:03 ` [Xenomai] xenomai 2 LDFLAGS wrappers, posix only Philippe Gerum
2017-01-11 14:47 ` Henning Schild
2017-01-12 17:32 ` Henning Schild
2017-01-12 17:54 ` Philippe Gerum
2017-01-12 18:33 ` Henning Schild
2017-01-12 20:27 ` Jan Kiszka
2017-01-17 10:25 ` 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=20170110160757.5eb8ccee@md1em3qc \
--to=henning.schild@siemens.com \
--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.