<div dir="ltr">The process as given works for me here (albeit with a more modern GCC 6.3.0).<div><br></div><div>James</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 25, 2017 at 6:15 AM, Adam <span dir="ltr"><<a href="mailto:adam.mlmb@gmail.com" target="_blank">adam.mlmb@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">2017-03-24 15:02 GMT+01:00 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The smp branch is currently a WIP with some unimplemented features (such as thread priorities and priority inheritance). There are also some infrequent bugs that show up when stress testing. Nevertheless it is quite usable for experimentation and I am actively working on ironing out the bugs. I expect a stable smp branch by the end of April. </blockquote><div><br></div></span><div>Great!</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Eventually I want the smp branch to be merged with the master branch and to make --enable-multiple-threaded-vms the default. This will only happen after extensive portability testing so that the master branch remains very stable and can be built “out of the box” without any issues and tinkering.<br></blockquote><div><br></div></span><div>Ok!</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">So to answer your questions… You need to build the smp branch to get parallel execution. These steps should work:<br>
<br>
git clone <a href="https://github.com/gambit/gambit.git" rel="noreferrer" target="_blank">https://github.com/gambit/gamb<wbr>it.git</a><br>
cd gambit<br>
git checkout smp<br>
./configure<br>
make -j4 current-gsc-boot<br>
./configure --enable-single-host --enable-multiple-threaded-vms<br>
make -j4 from-scratch<br>
make check<br></blockquote><div><br></div></span><div>Great - building either branch of latest commit 210c66cc1d885734bb62a8025fef72<wbr>801d142d84 as follows, did not build, will try the way you suggested.</div><div><br></div><div>$ cd gambit-smp</div><div>$ git checkout smp</div><div>$ ./configure --enable-single-host --enable-multiple-threaded-vms</div><div>$ make</div><div>[..]</div><div>gcc -pthread -Wno-unused -Wno-write-strings -O1 -fwrapv -fno-strict-aliasing -fno-trapping-math -fno-math-errno -fschedule-insns2 -fomit-frame-pointer -fPIC -fno-common -mieee-fp -mpc64 -pthread -I"../include" -c -o "_kernel.o" -I. -DHAVE_CONFIG_H -D___GAMBITDIR="\"/usr/local/<wbr>Gambit\"" -D___SYS_TYPE_CPU="\"x86_64\"" -D___SYS_TYPE_VENDOR="\"<wbr>unknown\"" -D___SYS_TYPE_OS="\"linux-gnu\<wbr>"" -D___CONFIGURE_COMMAND="\"./<wbr>configure '--enable-single-host' '--enable-multiple-threaded-<wbr>vms'"\" -D___OBJ_EXTENSION="\".o\"" -D___EXE_EXTENSION="\"\"" -D___BAT_EXTENSION="\"\"" -D___PRIMAL _kernel.c -D___LIBRARY</div><div>_kernel.c: In function ‘___H__20___kernel’:</div><div>_kernel.c:6346:27: error: void value not ignored as it ought to be</div><div> ___FLONUM_VAL(___ARG2) = ___set_heartbeat_interval (___FLONUM_VAL(___ARG1));</div><div> ^</div><div>makefile:164: recipe for target '_kernel.o' failed</div><div>make[1]: *** [_kernel.o] Error 1</div><div>$ gcc --version</div><div>gcc (Debian 4.9.2-10) 4.9.2</div><div><br></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
<br></blockquote></div><br></div>