This is the mail archive of the
ecos-devel@sourceware.org
mailing list for the eCos project.
Re: Strange __cxa_pure_virtual problem
On Fri, Aug 07, 2009 at 02:40:04PM +0100, Bart Veer wrote:
[snip]
> So, I think there is one solution (untested) that may work:
> --- cdl/infra.cdl 29 Jan 2009 17:49:44 -0000 1.18
> +++ cdl/infra.cdl 7 Aug 2009 13:30:03 -0000
> @@ -59,7 +59,8 @@ cdl_package CYGPKG_INFRA {
> compile startup.cxx prestart.cxx pkgstart.cxx userstart.cxx \
> dummyxxmain.cxx null.cxx simple.cxx fancy.cxx buffer.cxx \
> diag.cxx tcdiag.cxx memcpy.c memset.c delete.cxx eprintf.c \
> - pure.cxx gccsupport.cxx
> + gccsupport.cxx
> + compile -library=libextras.a pure.cxx
>
[snip]
> This assumes moving pure.cxx to libextras.a fixes the problem.
> Hopefully somebody will try this in the near future.
>
> Bart
Hello Bart,
I've tried it. It fixes __cxa_pure_virtual issue. I re-test it for the
Uwe's request with i386-elf toolchain and turned off optimization.
Thank you,
Sergei