This is the mail archive of the ecos-devel@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange __cxa_pure_virtual problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]