[K42-discussion] [PATCH] Added destructor to StubBaseObj.

Bryan S Rosenburg rosnbrg at us.ibm.com
Tue Jul 18 03:12:44 EST 2006


Donour Sizemore wrote on 07/17/2006 11:24:40 AM:
> Bryan S Rosenburg wrote:
> >
> > Donour Sizemore wrote on 07/16/2006 04:39:15 PM:
> > > Well, adding __cxa_atexit requires malloc. You can probably guess, 
but
> > > it list of required symbols grows very quickly if you try to 
introduce
> > > glibc malloc.
> >
> > Well, we can't be bringing in malloc from glibc, so I guess we'll have 

> > to provide our own implementation.
> >
> Do you have a suggestion where I should add it?

Try putting it in kitchsrc/lib/libc/sys/g++sup.C .  You don't need 
header-file declarations for these symbols, do you?  My understanding is 
that they aren't referenced explicitly.

- Bryan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/k42-discussion/attachments/20060717/83ac601e/attachment.htm 


More information about the K42-discussion mailing list