This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: Strange __cxa_pure_virtual problem
- From: John Dallaway <john at dallaway dot org dot uk>
- To: Uwe Kindler <uwe dot kindler at cetoni dot de>, Bart Veer <bartv at ecoscentric dot com>
- Cc: ecos-devel at sourceware dot org
- Date: Fri, 07 Aug 2009 13:04:17 +0100
- Subject: Re: Strange __cxa_pure_virtual problem
- References: <4A7C118C.20200@cetoni.de>
Hi Uwe (and Bart)
Uwe Kindler wrote:
> thank you for the hint.
>
> I replaced the __cxa_pure_virtual function in infra/pure.cxx by the
> following code
>
> #include <cxxabi.h>
>
> extern "C" void
> __cxxabiv1::__cxa_pure_virtual (void)
> {
> CYG_FAIL("attempt to use a virtual function before object has been
> constructed");
> for ( ; ; );
> }
>
> It did not solve the problem.
Hmm. It might be worth trying the older eCos arm-elf toolchain (GCC
3.2.1) to help narrow the search space for this problem.
Bart, do you have any ideas why your implementation of
__cxa_pure_virtual() in CYGPKG_INFRA might be ignored?
John Dallaway