latest run

_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS ../BEAM/eamindex.c -o eamindex.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS ../BEAM/eam_am.c -o eam_am.o
rm -f libYap.a
ar rc libYap.a agc.o absmi.o adtdefs.o alloc.o amasm.o analyst.o arrays.o arith0.o arith1.o arith2.o attvar.o bignum.o bb.o cdmgr.o cmppreds.o compiler.o computils.o corout.o cut_c.o dbase.o dlmalloc.o errors.o eval.o exec.o globals.o gmp_support.o gprof.o grow.o heapgc.o index.o init.o  inlines.o iopreds.o depth_bound.o mavar.o myddas_mysql.o myddas_odbc.o
myddas_shared.o myddas_initialization.o myddas_util.o myddas_statistics.o myddas_top_level.o myddas_wkb2prolog.o modules.o other.o parser.o readutil.o save.o scanner.o sort.o stdpreds.o sysbits.o threads.o tracer.o udi.o rtree.o rtree_udi.o unify.o userpreds.o utilpreds.o write.o yap2swi.o ypsocks.o ypstdio.o  load_foreign.o load_dl.o load_dld.o load_dyld.o
load_none.o load_aout.o load_aix.o load_dll.o load_shl.o c_interface.o clause_list.o opt.memory.o opt.misc.o opt.init.o
opt.preds.o or.engine.o or.cowengine.o or.sbaengine.o or.scheduler.o or.cut.o tab.tries.o tab.suspend.o eamamasm.o eam_showcode.o eamindex.o eam_am.o
ranlib libYap.a
gcc  -dynamic  -o yap yap.o libYap.a -lgmp -lxnet -lsocket -lm
rm -f startup.yss
echo "bootstrap('../pl/init.yap'). module(user). save_program('startup.yss')." |   ./yap -b ../pl/boot.yap
[prolog]
 % consulting ../pl/init.yap...
  % consulting errors.yap...
  % errors.yap consulted 7304 bytes in 4 msecs
  % consulting consult.yap...
  % consult.yap consulted 57520 bytes in 29 msecs
/bin/bash: line 1: 16794 Done                    echo "bootstrap('../pl/init.yap'). module(user). save_program('startup.yss')."
     16795 Bus Error               (core dumped) | ./yap -b ../pl/boot.yap
gmake: *** [startup.yss] Error 138
bash-3.00$ history|tail
  730  history
  731  /tmp/gupu/src/git-1.6.3.2/git pull && gmake clean && ../configure --prefix /tmp/gupu/yap-6 --with-gmp --enable-couroutining && gmake -j40
  732  history|last -5
  733  history|tail -5
  734  date
  735   ../configure --prefix /tmp/gupu/yap-6 --without-readlne --enable-couroutining && gmake -j40
  736   ../configure --prefix /tmp/gupu/yap-6 --without-readline --enable-couroutining && gmake -j40
  737  gmake clean
  738  gmake -j40
  739  history|tail
bash-3.00$ date
Wed Jun 17 06:52:35 CEST 2009
bash-3.00$

run before

H_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS ../BEAM/eam_am.c -o eam_am.o rm -f libYap.a ar rc libYap.a agc.o absmi.o adtdefs.o alloc.o amasm.o analyst.o arrays.o arith0.o arith1.o arith2.o attvar.o bignum.o bb.o cdmgr.o cmppreds.o compiler.o computils.o corout.o cut_c.o dbase.o dlmalloc.o errors.o eval.o exec.o globals.o gmp_support.o gprof.o grow.o heapgc.o index.o init.o inlines.o iopreds.o depth_bound.o mavar.o myddas_mysql.o myddas_odbc.o myddas_shared.o myddas_initialization.o myddas_util.o myddas_statistics.o myddas_top_level.o myddas_wkb2prolog.o modules.o other.o parser.o readutil.o save.o scanner.o sort.o stdpreds.o sysbits.o threads.o tracer.o udi.o rtree.o rtree_udi.o unify.o userpreds.o utilpreds.o write.o yap2swi.o ypsocks.o ypstdio.o load_foreign.o load_dl.o load_dld.o load_dyld.o load_none.o load_aout.o load_aix.o load_dll.o load_shl.o c_interface.o clause_list.o opt.memory.o opt.misc.o opt.init.o opt.preds.o or.engine.o or.cowengine.o or.sbaengine.o or.scheduler.o or.cut.o tab.tries.o tab.suspend.o eamamasm.o eam_showcode.o eamindex.o eam_am.o ranlib libYap.a gcc -dynamic -o yap yap.o libYap.a -lgmp -lreadline -lncurses -ltermcap -lxnet -lsocket -lm ld: warning: symbol `numcodes' has differing sizes: (file /opt/csw/lib/libncurses.so value=0xa0; file /usr/ccs/lib/libtermcap.so value=0x88); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `numfnames' has differing sizes: (file /opt/csw/lib/libncurses.so value=0xa0; file /usr/ccs/lib/libtermcap.so value=0x88); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `boolnames' has differing sizes: (file /opt/csw/lib/libncurses.so value=0xb4; file /usr/ccs/lib/libtermcap.so value=0x98); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `ttytype' has differing sizes: (file /opt/csw/lib/libncurses.so value=0x100; file /usr/ccs/lib/libtermcap.so value=0x400); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `strnames' has differing sizes: (file /opt/csw/lib/libncurses.so value=0x67c; file /usr/ccs/lib/libtermcap.so value=0x62c); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `numnames' has differing sizes: (file /opt/csw/lib/libncurses.so value=0xa0; file /usr/ccs/lib/libtermcap.so value=0x88); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `acs_map' has differing sizes: (file /opt/csw/lib/libncurses.so value=0x200; file /usr/ccs/lib/libtermcap.so value=0x4); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `boolfnames' has differing sizes: (file /opt/csw/lib/libncurses.so value=0xb4; file /usr/ccs/lib/libtermcap.so value=0x98); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `strfnames' has differing sizes: (file /opt/csw/lib/libncurses.so value=0x67c; file /usr/ccs/lib/libtermcap.so value=0x62c); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `curses_version' has differing types: (file /opt/csw/lib/libncurses.so type=FUNC; file /usr/ccs/lib/libtermcap.so type=OBJT); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `strcodes' has differing sizes: (file /opt/csw/lib/libncurses.so value=0x67c; file /usr/ccs/lib/libtermcap.so value=0x62c); /opt/csw/lib/libncurses.so definition taken ld: warning: symbol `boolcodes' has differing sizes: (file /opt/csw/lib/libncurses.so value=0xb4; file /usr/ccs/lib/libtermcap.so value=0x98); /opt/csw/lib/libncurses.so definition taken rm -f startup.yss echo "bootstrap('../pl/init.yap'). module(user). save_program('startup.yss')." | ./yap -b ../pl/boot.yap [prolog] % consulting ../pl/init.yap... % consulting errors.yap... % errors.yap consulted 7304 bytes in 4 msecs % consulting consult.yap... % consult.yap consulted 57520 bytes in 29 msecs /bin/bash: line 1: 9333 Done echo "bootstrap('../pl/init.yap'). module(user). save_program('startup.yss')." 9334 Bus Error (core dumped) | ./yap -b ../pl/boot.yap gmake: *** [startup.yss] Error 138 bash-3.00$ history|last -5 root sshd 192.168.1.65 Wed Jun 17 05:01 - 05:01 (00:00) root sshd 192.168.1.65 Wed Jun 17 05:01 - 05:01 (00:00) root sshd 192.168.1.65 Tue Jun 16 05:01 - 05:01 (00:00) root sshd 192.168.1.65 Tue Jun 16 05:01 - 05:01 (00:00) ulrich pts/1 c8-fast.complang Tue Jun 16 00:59 still logged in bash-3.00$ history|tail -5 729 /tmp/gupu/src/git-1.6.3.2/git pull 730 history 731 /tmp/gupu/src/git-1.6.3.2/git pull && gmake clean && ../configure --prefix /tmp/gupu/yap-6 --with-gmp --enable-couroutining && gmake -j40 732 history|last -5 733 history|tail -5 bash-3.00$ date Wed Jun 17 06:32:54 CEST 2009

other run

ld: warning: symbol `acs_map' has differing sizes:
        (file /opt/csw/lib/libncurses.so value=0x200; file /usr/ccs/lib/libtermcap.so value=0x4);
        /opt/csw/lib/libncurses.so definition taken
ld: warning: symbol `boolfnames' has differing sizes:
        (file /opt/csw/lib/libncurses.so value=0xb4; file /usr/ccs/lib/libtermcap.so value=0x98);
        /opt/csw/lib/libncurses.so definition taken
ld: warning: symbol `strfnames' has differing sizes:
        (file /opt/csw/lib/libncurses.so value=0x67c; file /usr/ccs/lib/libtermcap.so value=0x62c);
        /opt/csw/lib/libncurses.so definition taken
ld: warning: symbol `curses_version' has differing types:
        (file /opt/csw/lib/libncurses.so type=FUNC; file /usr/ccs/lib/libtermcap.so type=OBJT);
        /opt/csw/lib/libncurses.so definition taken
ld: warning: symbol `strcodes' has differing sizes:
        (file /opt/csw/lib/libncurses.so value=0x67c; file /usr/ccs/lib/libtermcap.so value=0x62c);
        /opt/csw/lib/libncurses.so definition taken
ld: warning: symbol `boolcodes' has differing sizes:
        (file /opt/csw/lib/libncurses.so value=0xb4; file /usr/ccs/lib/libtermcap.so value=0x98);
        /opt/csw/lib/libncurses.so definition taken
e-couroutining && gmake -j40
bash-3.00$ gmake
rm -f startup.yss
echo "bootstrap('../pl/init.yap'). module(user). save_program('startup.yss')." |   ./yap -b ../pl/boot.yap
/bin/bash: line 1:  1532 Done                    echo "bootstrap('../pl/init.yap'). module(user). save_program('startup.yss')."
      1533 Segmentation Fault      (core dumped) | ./yap -b ../pl/boot.yap
gmake: *** [startup.yss] Error 139
bash-3.00$ date
Tue Jun 16 01:10:00 CEST 2009
bash-3.00$

latest run

bash-3.00$ date
Mon Jun 15 20:26:00 CEST 2009
bash-3.00$ gmake -j
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS -DYAP_HOME_DIR=\"/tmp/gupu/yap-6\" -DLIB_DIR=\"/tmp/gupu/yap-6/lib/Yap\" -DSHARE_DIR=\"/tmp/gupu/yap-6/share\" ../C/sysbits.c -o sysbits.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS ../C/unify.c -o unify.o
In file included from ../C/unify.c:693:
../H/trim_trail.h: In function 'Yap_TrimTrail':
../H/trim_trail.h:101: error: 'HBREG' undeclared (first use in this function)
../H/trim_trail.h:101: error: (Each undeclared identifier is reported only once
../H/trim_trail.h:101: error: for each function it appears in.)
gmake: *** [unify.o] Error 1
gmake: *** Waiting for unfinished jobs....
../C/sysbits.c: In function 'set_fpu_exceptions':
../C/sysbits.c:2639: warning: implicit declaration of function 'feclearexcept'
../C/sysbits.c:2639: error: 'FE_ALL_EXCEPT' undeclared (first use in this function)
../C/sysbits.c:2639: error: (Each undeclared identifier is reported only once
../C/sysbits.c:2639: error: for each function it appears in.)
gmake: *** [sysbits.o] Error 1

new run

gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS ../C/exec.c -o exec.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS -DYAP_HOME_DIR=\"/tmp/gupu/yap-6\" -DLIB_DIR=\"/tmp/gupu/yap-6/lib/Yap\" -DSHARE_DIR=\"/tmp/gupu/yap-6/share\" ../C/sysbits.c -o sysbits.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS ../C/unify.c -o unify.o
gcc -O3 -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS -I../include -c ../C/c_interface.c -o c_interface.o
In file included from ../C/c_interface.c:349:
../include/yap_structs.h:164: warning: parameter names (without types) in function declaration
In file included from ../C/unify.c:693:
../H/trim_trail.h: In function 'Yap_TrimTrail':
../H/trim_trail.h:101: error: 'HBREG' undeclared (first use in this function)
../H/trim_trail.h:101: error: (Each undeclared identifier is reported only once
../H/trim_trail.h:101: error: for each function it appears in.)
gmake: *** [unify.o] Error 1
gmake: *** Waiting for unfinished jobs....
../C/c_interface.c: In function 'run_emulator':
../C/c_interface.c:1609: error: 'BK_H' undeclared (first use in this function)
../C/c_interface.c:1609: error: (Each undeclared identifier is reported only once
../C/c_interface.c:1609: error: for each function it appears in.)
../C/c_interface.c:1609: error: 'BK_B' undeclared (first use in this function)
../C/c_interface.c:1609: error: 'BK_TR' undeclared (first use in this function)
../C/exec.c: In function 'clean_trail':
../C/exec.c:1537: error: 'HBREG' undeclared (first use in this function)
../C/exec.c:1537: error: (Each undeclared identifier is reported only once
../C/exec.c:1537: error: for each function it appears in.)
../C/c_interface.c: In function 'YAP_RetryGoal':
../C/c_interface.c:1660: warning: unused variable 'BK_TR'
../C/c_interface.c:1660: warning: unused variable 'BK_B'
../C/c_interface.c:1660: warning: unused variable 'BK_H'
../C/c_interface.c: In function 'YAP_LeaveGoal':
../C/c_interface.c:1707: error: 'BK_H' undeclared (first use in this function)
../C/c_interface.c:1707: error: 'BK_B' undeclared (first use in this function)
../C/c_interface.c:1707: error: 'BK_TR' undeclared (first use in this function)
../C/c_interface.c: In function 'YAP_ExtendList':
../C/c_interface.c:2596: error: 'BK_H' undeclared (first use in this function)
gmake: *** [exec.o] Error 1
gmake: *** [c_interface.o] Error 1
../C/sysbits.c: In function 'set_fpu_exceptions':
../C/sysbits.c:2639: warning: implicit declaration of function 'feclearexcept'
../C/sysbits.c:2639: error: 'FE_ALL_EXCEPT' undeclared (first use in this function)
../C/sysbits.c:2639: error: (Each undeclared identifier is reported only once
../C/sysbits.c:2639: error: for each function it appears in.)
gmake: *** [sysbits.o] Error 1
bash-3.00$ date
Mon Jun 15 06:21:22 CEST 2009

old make:

bash-3.00$ gmake -j
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS ../C/exec.c -o exec.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS -DYAP_HOME_DIR=\"/tmp/gupu/yap-6\" -DLIB_DIR=\"/tmp/gupu/yap-6/lib/Yap\" -DSHARE_DIR=\"/tmp/gupu/yap-6/share\" ../C/sysbits.c -o sysbits.o
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS ../C/unify.c -o unify.o
gcc -O3 -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I../H -I../OPTYap -I../BEAM -I../packages/MYDDAS -I../include -c ../C/c_interface.c -o c_interface.o
In file included from ../C/c_interface.c:349:
../include/yap_structs.h:164: warning: parameter names (without types) in function declaration
In file included from ../C/unify.c:693:
../H/trim_trail.h: In function 'Yap_TrimTrail':
../H/trim_trail.h:101: error: 'HBREG' undeclared (first use in this function)
../H/trim_trail.h:101: error: (Each undeclared identifier is reported only once
../H/trim_trail.h:101: error: for each function it appears in.)
gmake: *** [unify.o] Error 1
gmake: *** Waiting for unfinished jobs....
../C/c_interface.c: In function 'run_emulator':
../C/c_interface.c:1609: error: 'BK_H' undeclared (first use in this function)
../C/c_interface.c:1609: error: (Each undeclared identifier is reported only once
../C/c_interface.c:1609: error: for each function it appears in.)
../C/c_interface.c:1609: error: 'BK_B' undeclared (first use in this function)
../C/c_interface.c:1609: error: 'BK_TR' undeclared (first use in this function)
../C/c_interface.c: In function 'YAP_RetryGoal':
../C/c_interface.c:1660: warning: unused variable 'BK_TR'
../C/c_interface.c:1660: warning: unused variable 'BK_B'
../C/c_interface.c:1660: warning: unused variable 'BK_H'
../C/c_interface.c: In function 'YAP_LeaveGoal':
../C/c_interface.c:1707: error: 'BK_H' undeclared (first use in this function)
../C/c_interface.c:1707: error: 'BK_B' undeclared (first use in this function)
../C/c_interface.c:1707: error: 'BK_TR' undeclared (first use in this function)
../C/exec.c: In function 'clean_trail':
../C/exec.c:1537: error: 'HBREG' undeclared (first use in this function)
../C/exec.c:1537: error: (Each undeclared identifier is reported only once
../C/exec.c:1537: error: for each function it appears in.)
../C/c_interface.c: In function 'YAP_ExtendList':
../C/c_interface.c:2596: error: 'BK_H' undeclared (first use in this function)
gmake: *** [exec.o] Error 1
gmake: *** [c_interface.o] Error 1
../C/sysbits.c: In function 'set_fpu_exceptions':
../C/sysbits.c:2639: warning: implicit declaration of function 'feclearexcept'
../C/sysbits.c:2639: error: 'FE_ALL_EXCEPT' undeclared (first use in this function)
../C/sysbits.c:2639: error: (Each undeclared identifier is reported only once
../C/sysbits.c:2639: error: for each function it appears in.)
gmake: *** [sysbits.o] Error 1
bash-3.00$ uname -a
SunOS t1000 5.10 Generic_118833-17 sun4v sparc SUNW,Sun-Fire-T1000