On 10/12/2013 at 2:12 PM, "Ian Piumarta" <i...@vpri.org> wrote: > >Simon, > >Sorry for the late intervention. The error is from a missing math >library (-lm in the link command) which contains the sin() >function. > >I will set up a 64-bit Ubuntu VirtualBox and fix whatever is >broken. If I haven't done this by midweek then please do feel >free to remind me. > >It will all have to run in 32 bits, though, since there is no 64- >bit code generator for idst/jolt. It should be possible to do >this within a 64-bit environment. > >FWIW, I believe all Intel (and AMD) descendants of 8086 implement >I/D cache coherency in hardware and so iflush() is a no-op. But >the symlink is not quite the right approach anyway. We'll do >better by persuading the code that it is being compiled for x86. > >Regards, >Ian >
No rush. I'm just tinkering. :) I tried a couple of simple things but I don't really know what I'm doing and none of it worked. It's been a long time since I've worked with C. >From what I understand of how the COLA works I'm really blown away. The VPU >alone is very impressive. I'm beginning to think that anyone who isn't using >a COLA-style self-hosted system (with native code compilation!) is just >punishing themselves. Warm regards, ~Simon >On Oct 12, 2013, at 13:49 , Simon Forman wrote: > >> On 10/10/2013 at 6:22 PM, "John Carlson" <yottz...@gmail.com> >wrote: >>> >>> Or just copy the i386 file to name it's expecting. >>> On Oct 10, 2013 8:18 PM, "John Carlson" <yottz...@gmail.com> >wrote: >>> >>>> Symlink might help >> >> I tried a symlink but that didn't get any further. It asked me >to "please implement iflush()" :D >> >> ./idc -g -k -I../objects -c CodeGenerator-local.st -o >CodeGenerator-local.o >> In file included from asm-common.h:33:0, >> from asm-i386.h:37, >> from CodeGenerator-local.o.c:2218: >> asm-cache.h:143:3: error: #error : please implement iflush() for >your architecture, >> asm-cache.h:144:3: error: #error : and EMAIL THE CODE to: >ian.piuma...@inria.fr >> >> I wish I could. :) >> >> I created a 32-bit virtual machine and tried compiling and got >the following error message (also attached in case it gets mangled >by email): >> >> sforman@idst32:~/idst$ make >> /bin/sh -ec 'for dir in object function; do ( cd $dir; make ); >done' >> make[1]: Entering directory `/home/sforman/idst/object' >> /bin/sh -ec '( cd st80; make IDC="../boot/idc -B../boot/ -O" >BIN="../stage1/" )' >> make[2]: Entering directory `/home/sforman/idst/object/st80' >> ../boot/idc -B../boot/ -O -k -c _object.st -o >../stage1/_object.o >> /home/sforman/idst/object/st80/../boot/st80.so: >/home/sforman/idst/object/st80/../boot/st80.so: undefined symbol: >sin >> >> import: st80.so: No such file or directory >> >> make[2]: *** [../stage1/_object.o] Error 1 >> make[2]: Leaving directory `/home/sforman/idst/object/st80' >> make[1]: *** [stage1/st80.so] Error 2 >> make[1]: Leaving directory `/home/sforman/idst/object' >> make: *** [all] Error 2 >> >> >> >> I'm guessing the "undefined symbol: sin" is causing the failure >to import st80.so..? >> >> >> Any advice would be welcome. :) >> >> -- >> >> >> >> "The history of mankind for the last four centuries is rather >like that of >> an imprisoned sleeper, stirring clumsily and uneasily while the >prison that >> restrains and shelters him catches fire, not waking but >incorporating the >> crackling and warmth of the fire with ancient and incongruous >dreams, than >> like that of a man consciously awake to danger and opportunity." >> --H. P. Wells, "A Short History of the World"<make- >error.text>_______________________________________________ >> fonc mailing list >> fonc@vpri.org >> http://vpri.org/mailman/listinfo/fonc -- http://twitter.com/SimonForman My blog: http://firequery.blogspot.com/ Also my blog: http://calroc.blogspot.com/ "The history of mankind for the last four centuries is rather like that of an imprisoned sleeper, stirring clumsily and uneasily while the prison that restrains and shelters him catches fire, not waking but incorporating the crackling and warmth of the fire with ancient and incongruous dreams, than like that of a man consciously awake to danger and opportunity." --H. P. Wells, "A Short History of the World" _______________________________________________ fonc mailing list fonc@vpri.org http://vpri.org/mailman/listinfo/fonc