<div dir="ltr">Hi all,<div><br></div><div style>I&#39;m doing these things in the random minutes between everything else. So, I&#39;m just going to dump a note, but be aware I haven&#39;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=&#39;&quot;/home/reynoldsm/local/share/tvm/firmware/&quot;&#39; -DTVM_LIBRARY_PATH=&#39;&quot;/home/reynoldsm/local/lib/tvm/&quot;&#39;   -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&#39;:</div><div>/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:765: undefined reference to `fegetround&#39;</div><div>/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:765: undefined reference to `fesetround&#39;</div>
<div>/home/reynoldsm/build/kroc/runtime/libtvm/libtvm.a(interpreter.o): In function `ins_fpexpdec32&#39;:</div><div>/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:754: undefined reference to `fegetround&#39;<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 &quot;libm.so.6&quot;</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) =&gt; /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) =&gt; /lib32/libm.so.6</div>
<div><br></div><div style>So, I have the 32-bit library around, but perhaps it isn&#39;t in my library path? Or, perhaps it needs to be linked in somewhere? I&#39;m assuming (potentially incorrectly) that my problem is that I couldn&#39;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>