Hi Ingo,

Setting USE_GC to 0 in libid.c was really the one and only step I needed to take to disable the garbage collector. I've tested this both on the COLA version that came with the delMDSoC download and with the current stable version of COLA.

I've retrieved this current stable version exactly as described on the VPRI wiki ( http://vpri.org/fonc_wiki/index.php/Installation_Guide ), like so:
svn checkout http://piumarta.com/svn2/idst/tags/idst-376 fonc-stable

For the COLA version that came with delMDSoC, I've used gcc 4.2.3 on Ubuntu 8.04.1 (running inside VirtualBox); this COLA version worked like a charm there. I couldn't compile the current stable version of COLA on this platform, but that problem didn't have anything to do with garbage collection. (That particular version of gcc triggered a warning that is ignored in other gcc versions... I forgot which warning it was though...)

However, using gcc 4.3.3 on Ubuntu 9.04 didn't give me any trouble whatsoever to compile either version of COLA, with garbage collection disabled.

Regards,
Tim


Ingo Jaeckel schreef:
hello tim,

i want to disable the garbage collector, too. you wrote "This can be done by setting USE_GC to 0 in object/id/libid.c". this does not work for me. i did a fresh svn checkout of the repository, applied the change to the libid.c file and called make. it compiles a lot of things but stops in the function/objects directory (see output at the bottom).

what else did you do to get it working? did you use another version instead of the HEAD revision? i am using linux with gcc 4.3.3. is this maybe a problem?

regards,
ingo

$ make
<everything is fine until this error pops up>
/bin/sh -ec 'for dir in object function; do ( cd $dir; make ); done'
make[1]: Entering directory `/home/ingo/svn/clean_idst/object'
cp -p idc/idc stage1/idc
cp -p idc/idc stage2/idc
make[1]: Leaving directory `/home/ingo/svn/clean_idst/object'
make[1]: Entering directory `/home/ingo/svn/clean_idst/function'
/bin/sh -ec 'for dir in objects jolt-burg jolt2; do ( cd $dir; make ); done'
make[2]: Entering directory `/home/ingo/svn/clean_idst/function/objects'
./idc -O -k -g -c _object.st -o _object.o
/home/ingo/svn/clean_idst/function/objects/../../object/stage2/st80.so: /home/ingo/svn/clean_idst/function/objects/../../object/stage2/st80.so: undefined symbol: GC_init

import: st80.so: No such file or directory

make[2]: *** [_object.o] Error 1
make[2]: Leaving directory `/home/ingo/svn/clean_idst/function/objects'
make[2]: Entering directory `/home/ingo/svn/clean_idst/function/jolt-burg'
/bin/sh -ec 'cd ../objects;  make'
make[3]: Entering directory `/home/ingo/svn/clean_idst/function/objects'
./idc -O -k -g -c _object.st -o _object.o
/home/ingo/svn/clean_idst/function/objects/../../object/stage2/st80.so: /home/ingo/svn/clean_idst/function/objects/../../object/stage2/st80.so: undefined symbol: GC_init

import: st80.so: No such file or directory

make[3]: *** [_object.o] Error 1
make[3]: Leaving directory `/home/ingo/svn/clean_idst/function/objects'
make[2]: *** [../objects/objects.a] Error 2
make[2]: Leaving directory `/home/ingo/svn/clean_idst/function/jolt-burg'
make[2]: Entering directory `/home/ingo/svn/clean_idst/function/jolt2'
/bin/sh -ec 'cd ../objects;  make'
make[3]: Entering directory `/home/ingo/svn/clean_idst/function/objects'
./idc -O -k -g -c _object.st -o _object.o
/home/ingo/svn/clean_idst/function/objects/../../object/stage2/st80.so: /home/ingo/svn/clean_idst/function/objects/../../object/stage2/st80.so: undefined symbol: GC_init

import: st80.so: No such file or directory

make[3]: *** [_object.o] Error 1
make[3]: Leaving directory `/home/ingo/svn/clean_idst/function/objects'
make[2]: *** [../objects/objects.a] Error 2
make[2]: Leaving directory `/home/ingo/svn/clean_idst/function/jolt2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ingo/svn/clean_idst/function'
make: *** [all] Error 2



_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to