Joe Wilson a écrit :
Hello,

I've installed the Boehm gc-7.0 library and header files on Linux, and I'm trying to build neko-1.6.0.tar.gz without success. I'm using PCLinuxOS 2007 and gcc version 4.1.1.

cc -shared -WBsymbolic -o bin/std.ndll libs/std/buffer.o libs/std/date.o 
libs/std/file.o
libs/std/init.o libs/std/int32.o libs/std/math.o libs/std/string.o 
libs/std/random.o
libs/std/serialize.o libs/std/socket.o libs/std/sys.o libs/std/xml.o 
libs/std/module.o
libs/std/md5.o libs/std/utf8.o libs/std/memory.o libs/std/misc.o 
libs/std/thread.o
libs/std/process.o -Lbin -lneko
(cd src; LD_LIBRARY_PATH=../bin: NEKOPATH=../boot:../bin ../bin/neko nekoml -v 
neko/Main.nml
nekoml/Main.nml)
Uncaught exception - Segmentation fault
make: *** [compiler] Error 1

I also tried building Neko 1.6.0 against gc6.8 with the same segfault.
(Does Neko require the Boehm gc to be built with specific configure options?)

It builds fine up until trying to build nekoml, as shown by running neko:

NekoVM 1.6.0 (c)2005-2007 Motion-Twin
  Usage : neko <file>

Just before the build segfaults, top shows that the last neko process was using 790M of RAM. I am building on a 512M machine with over 2G of swap free, if it matters.

Can I change some neko code somewhere to catch the above "Uncaught exception" leading to the build segfault?

Could you try to run the command inside gdb then send me the backtrace ?

Nicolas


--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to