[m-dev.] Upgrading Boehm GC, attempt #2

Paul Bone paul at bone.id.au
Sun Nov 16 15:28:20 AEDT 2014


On Sun, Nov 16, 2014 at 03:17:40PM +1100, Julien Fischer wrote:
>>>
>>> We how have a dependency on libtoolize program in both the boehm_gc and
>>> libatomic_ops directories.  (OS X users should note that libtoolize is
>>> *not* provided as part of Apple's developer tools and that if you
>>> install the MacPorts libtools package the executables are actually named
>>> "glibtools" and "glibtoolize".)
>>>
>>
>> I found that without this generating the autoconf files and scripts in these
>> directories properly didn't work.  We all know that autotools is a PITA so
>> there's probably some magic incantation to fix this that I just havn't tried
>> yet.
>> I'll probably have to try to fix this another day.
>
> I note that upstream Bohem doesn't call libtoolize from its autogen.sh
> files.  I'll try to look at this more later this week.

No, it's something that I added so that it was possible to generate the
autoconf files in these directories.

>
> One other issue with the version of Boehm we are upgrading to is that
> clang generates a spectacular number of warnings like the following:
>
> /include/private/../gc.h:455:23: warning: unknown attribute
> '__alloc_size__' ignored [-Wattributes]
> GC_API GC_ATTR_MALLOC GC_ATTR_ALLOC_SIZE(1) void * GC_CALL

Okay.  I wonder how this is handled when boehm is build outside of Mercury.


-- 
Paul Bone



More information about the developers mailing list