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

Julien Fischer jfischer at opturion.com
Sun Nov 16 15:53:02 AEDT 2014

On Sun, 16 Nov 2014, Paul Bone wrote:

> 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.

Ah, ok.

>> 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]
> Okay.  I wonder how this is handled when boehm is build outside of Mercury.

I'll check out upstream and have a look -- it might be something that's
already fixed.


More information about the developers mailing list