<div dir="ltr">Hi all,<div><br></div><div style>I'm doing these things in the random minutes between everything else. So, I'm just going to dump a note, but be aware I haven't investigated yet.</div><div style>
<br></div><div style>I installed Ubuntu 12.04 LTS and followed our build instructions. </div><div style><br></div><div style>./build --with-toolchain=tvm --prefix=/something</div><div style><br></div><div style>And I bombed out here:</div>
<div style><br></div><div style><div>gcc -I/home/reynoldsm/build/kroc/runtime/libtvm -I/home/reynoldsm/build/kroc/runtime/libtvm -g -O2 -Wall -DTVM_FIRMWARE_PATH='"/home/reynoldsm/local/share/tvm/firmware/"' -DTVM_LIBRARY_PATH='"/home/reynoldsm/local/lib/tvm/"' -o tvm ffi.o introspect.o main.o sffi.o tbc.o vm.o unix_io.o -lm -L/home/reynoldsm/build/kroc/runtime/libtvm -ltvm -ldl </div>
<div>/home/reynoldsm/build/kroc/runtime/libtvm/libtvm.a(interpreter.o): In function `ins_fpabs':</div><div>/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:765: undefined reference to `fegetround'</div><div>/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:765: undefined reference to `fesetround'</div>
<div>/home/reynoldsm/build/kroc/runtime/libtvm/libtvm.a(interpreter.o): In function `ins_fpexpdec32':</div><div>/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:754: undefined reference to `fegetround'<br></div>
<div><br></div><div style>with many more floating point instructions not found.</div><div style><br></div><div style>Minimal investigation:</div><div style><br></div><div style><div>reynoldsm@firefly:~$ sudo ldconfig -p | grep "libm.so.6"</div>
<div>[sudo] password for reynoldsm: </div><div><span class="" style="white-space:pre">        </span>libm.so.6 (libc6,x86-64, OS ABI: Linux 2.6.24) => /lib/x86_64-linux-gnu/libm.so.6</div><div><span class="" style="white-space:pre">        </span>libm.so.6 (libc6, OS ABI: Linux 2.6.24) => /lib32/libm.so.6</div>
<div><br></div><div style>So, I have the 32-bit library around, but perhaps it isn't in my library path? Or, perhaps it needs to be linked in somewhere? I'm assuming (potentially incorrectly) that my problem is that I couldn't find a 32-bit library for these operations.</div>
<div style><br></div><div style>Cheers,</div><div style>Matt</div></div></div></div>