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

Julien Fischer jfischer at opturion.com
Sun Nov 16 13:39:18 AEDT 2014

Hi Paul,

On Sat, 15 Nov 2014, Paul Bone wrote:

> I've made another attempt at upgrading Boehm GC.  This time using the
> submodule method.  This way the history of boehm GC doesn't need to be
> imported into Mercury (and confuse "git log" and other commands).  The
> downside is that once you checkout the repository you have to run
> ./prepare.sh which will pull in the boehm_gc and libatomic_ops repositories.
> Here's the repository and branch where I've set this up if anyone would like
> to help me test it.
> https://github.com/PaulBone/mercury/tree/upgrade_boehm

I will test it on various platforms this week while your eyes are being

> I've been able to bootstrap in:
>    asm_fast.gc, hlc.gc, asm_fast.gc.par.stseg and hlc.gc.par
> I can install the compiler and build programs in asm_fast.gc and hlc.gc
> I can build a source distribution, install it and build programs against it
> in asm_fast.gc and hlc.gc
> That's all I've tested so far, all on Linux with gcc-4.8

Which distribution?  (Yes, unfortunately it matters ...)

> If anyone would like to test this on Windows that would be helpful.  In
> particular I'm not sure how the symlink from boehm_gc/libatomic_ops to
> libatomic_ops will be handled on a windows file system.

Ah, that might be a problem -- we will probably just have to copy the
entire directory into boehm_gc on Windows.


More information about the developers mailing list