This is the mail archive of the ecos-patches@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: eCos uSTL 1.3 port for review


John Dallaway wrote:
> Hi Uwe
> 
> Uwe Kindler wrote:
> 
> > thank you for your investigation and for your detailed error report.
> > Does someone of the eCos folks know a better way to solve the
> > __cxa_pure_virtual issue or should we go with Sergei's proposal
> > 
> > -Wl,--defsym -Wl,__cxa_pure_virtual=0
> 
> CYGPKG_INFRA is supposed to provide a replacement implementation of this
> function. Did you try adding your own implementation of
> __cxxabiv1::__cxa_pure_virtual() as discussed on the ecos-devel list?

Hi Jonh,

Are such implementations (in pure.cxx) useful? I'm looking on linker
group

    GROUP(libtarget.a libgcc.a libsupc++.a)

    $ nm install/lib/libtarget.a | grep __cxa_pure_virtual
    00000000 T __cxa_pure_virtual

Okay it came there from infra_pure.o. Is it right? But, there is next
implementation in libsupc++.a.

    $ nm i386-elf/i386-elf/lib/libsupc++.a 2>/dev/null | grep __cxa_pure_virtual
             U __cxa_pure_virtual
    00000000 T __cxa_pure_virtual

I think arm-eabi chain is the same.

RFC: What kind of implementation will be used then? Well, using 'ar x' I
would answer :-) but may be you just know.

Thanks for any clarifications,

Sergei


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