From: Bart Veer <bartv@ecoscentric.com>
To: Uwe Kindler <uwe_kindler@web.de>
Cc: ecos-devel@sourceware.org, jifl@jifvik.org
Subject: Re: Strange __cxa_pure_virtual problem
Date: Wed, 12 Aug 2009 19:07:00 -0000 [thread overview]
Message-ID: <pn4osc6ecb.fsf@delenn.bartv.net> (raw)
In-Reply-To: <4A830092.7050206@web.de> (message from Uwe Kindler on Wed, 12 Aug 2009 19:49:06 +0200)
>>>>> "Uwe" == Uwe Kindler <uwe_kindler@web.de> writes:
Uwe> Hello Jonathan,
Uwe> thank you for your detailed description - it helped me to find the
Uwe> cause. In ustlecos.cpp there is a function:
Uwe> void diag_print_exception(const exception& ex)
Uwe> {
Uwe> static string exstr(64);
Uwe> ...
Uwe> if I remove the static from the string declaration the
Uwe> __cxa_pure_virtual problem is gone.
What happens if you then try to link a trivial eCos application which
declares a static string object? I suspect that is going to pull in
__cxa_guard_release() again, which will take its __cxa_pure_virtual()
from libsup++.a instead of libtarget.a. So deleting the static from
the declaration is only moving the problem, not solving it.
Bart
--
Bart Veer eCos Configuration Architect
eCosCentric Limited The eCos experts http://www.ecoscentric.com/
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
next prev parent reply other threads:[~2009-08-12 19:07 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-12 17:49 Uwe Kindler
2009-08-12 19:07 ` Bart Veer [this message]
2009-08-13 8:00 ` Uwe Kindler
2009-08-19 10:37 ` Bart Veer
-- strict thread matches above, loose matches on Subject: below --
2009-08-19 14:35 cetoni GmbH - Uwe Kindler
2009-08-19 16:05 ` John Dallaway
2009-08-21 14:55 ` Bart Veer
[not found] <4A827EDC.3030004@cetoni.de>
2009-08-12 14:15 ` Jonathan Larmour
2009-08-12 9:10 cetoni GmbH - Uwe Kindler
2009-08-08 6:04 Uwe Kindler
2009-08-07 11:35 cetoni GmbH - Uwe Kindler
2009-08-07 12:04 ` John Dallaway
2009-08-07 13:40 ` Bart Veer
2009-08-07 15:08 ` John Dallaway
2009-08-07 15:42 ` Bart Veer
2009-08-11 9:05 ` Daniel Néri
2009-08-07 16:31 ` Sergei Gavrikov
2009-08-12 1:34 ` Jonathan Larmour
2009-08-05 18:55 Uwe Kindler
2009-08-07 9:35 ` John Dallaway
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=pn4osc6ecb.fsf@delenn.bartv.net \
--to=bartv@ecoscentric.com \
--cc=ecos-devel@sourceware.org \
--cc=jifl@jifvik.org \
--cc=uwe_kindler@web.de \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).