[Pkg-gauche-devel] [Gauche-devel] Gauche and bundled GC - still needed?

Shiro Kawai shiro at lava.net
Sun Nov 4 08:43:45 UTC 2012


From: Jens Thiele <karme at karme.de>
Subject: Re: [Gauche-devel] Gauche and bundled GC - still needed?
Date: Sun, 04 Nov 2012 09:09:11 +0100

> what happens if gauche using the theoretical libgc-no-added-byte.so and
> a gauche module using a library linked against the "standard" libgc.so
> are used together? is that possible / will it cause problems?

I haven't tried it, but it most likely won't work.  Two libgc
will have their own data/bss areas, so the objects allocated
in one libgc won't be tracked by another.  It's the same situation
if the extention uses external gc by itself with the current
Gauche.

If I add a configure option to use system's libgc-no-added-byte.so
in Gauche, the gauche-config/gauche-package scripts will take
care of adding the same -l flag to the extensions.

Requests to use system's libgc pop up time to time, so in general
I feel it's worth to have such a configure option.

--shiro




More information about the Pkg-gauche-devel mailing list