hello,
it still does not work. here is what i tried:
- set USE_GC to 0 in both libid.c files /object/boot/src/libid.c
/object/id/libid.c
- added -DNO_GC to the CFLAGS in /object/boot/Makefile.in and
/object/id/Makefile.in
- added
#ifdef NO_GC
+#define GC_INIT()
+#endif
to /object/boot/include/id/id.h to make sure the macro GC_INIT() is
defined as empty. without this i got a compiler error.
then i did
make spotless
cd object
make
cd ../function/examples/libjolt
make
this compiles jolt successfully. but when i try to profile the example
application created in function/examples/libjolt/, valgrind still
crashes with the same error i saw at the beginning. this tells me that
the gc is still active (because profiling crashes in GC_init()).
i also tried specifying the -DEMBEDDED, -DNO_GC and -DUSE_GC=0 switches
directly in the CFLAGS specified in the Makefile.in files, and then did
make spotless
cd object
make
cd ../function/examples/libjolt
make
it turns out that jolt does not like this :-) this brings back the well
known error:
>>>>>>>>>>>>>>>>>>>>>>>>>>> begin
$ cd ../function/
$ make
/bin/sh -ec 'for dir in objects jolt-burg jolt2; do ( cd $dir; make );
done'
make[1]: Betrete Verzeichnis '/home/ingo/svn/idst3/function/objects'
./idc -O -k -g -c _object.st -o _object.o
/home/ingo/svn/idst3/function/objects/../../object/stage2/st80.so:
/home/ingo/svn/idst3/function/objects/../../object/stage2/st80.so:
undefined symbol: GC_init
import: st80.so: No such file or directory
[...]
>>>>>>>>>>>>>>>>>>>>>>>>>>> end
when was the last time someone compiled jolt without gc? in which
revision? i do not have to use the latest jolt version for profiling
(although this would be much better). but i need a version of jolt that
can be profiled when used in my application..
regards,
ingo
Michael Haupt schrieb:
Hi,
Am 28.05.2009 um 00:03 schrieb Ingo Jaeckel:
thank you very much for your quick response. i tried your steps before
without success and did it again. but it still does not work. when
calling make in /function i get a "undefined symbol GC_init" error when
i set USE_GC to 0 in /object/id/libid.c.
please give this a try (the revision of your COLA code is definitely
newer than that of the delMDSOC tarball Tim used). Go to the COLA root
directory and enter the following (after setting USE_GC to 0):
make spotless
make
make install
The "make spotless" does a *complete* wipe, it's even more rigorous
than "make clean".
Best,
Michael Haupt
------------------------------------------------------------------------
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc