1 Mar 2011 01:40
Re: Fix for PR libobjc/47922 ("[4.6 Regression] libobjc crashes with garbage collection in any real-life program")
Nicola Pero <nicola.pero <at> meta-innovation.com>
2011-03-01 00:40:53 GMT
2011-03-01 00:40:53 GMT
>> add these in 4.7 (hopefully at the same time we should also make the change to install >> properly the GC library when GC is enabled!).> > why? it's built as a convenience library, and the object files are linked into > libobjc_gc. I had a problem with gnustep-base requiring the header gc/gc.h, which is not installed when I install GCC. The reason it requires it seems to be that the new trend is gnustep-base not using objc_malloc(), but calling the GC library directly. Higher-level libraries then use NSAllocateCollectable() & friends to allocate memory, which is provided by gnustep-base. Let me know if I'm missing something.
Thanks
>
> why? it's built as a convenience library, and the object files are linked into
> libobjc_gc.
I had a problem with gnustep-base requiring the header gc/gc.h, which is not installed when I install
GCC. The reason it requires it seems to be that the new trend is gnustep-base not using objc_malloc(),
but calling the GC library directly. Higher-level libraries then use NSAllocateCollectable() & friends
to allocate memory, which is provided by gnustep-base.
Let me know if I'm missing something.
RSS Feed