[CCC DEV] 64-bit build attempt

Matt Jadud matt at jadud.com
Tue Apr 23 12:49:17 BST 2013


Hi all,

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.

I installed Ubuntu 12.04 LTS and followed our build instructions.

./build --with-toolchain=tvm --prefix=/something

And I bombed out here:

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
/home/reynoldsm/build/kroc/runtime/libtvm/libtvm.a(interpreter.o): In
function `ins_fpabs':
/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:765: undefined
reference to `fegetround'
/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:765: undefined
reference to `fesetround'
/home/reynoldsm/build/kroc/runtime/libtvm/libtvm.a(interpreter.o): In
function `ins_fpexpdec32':
/home/reynoldsm/build/kroc/runtime/libtvm/ins_float.c:754: undefined
reference to `fegetround'

with many more floating point instructions not found.

Minimal investigation:

reynoldsm at firefly:~$ sudo ldconfig -p | grep "libm.so.6"
[sudo] password for reynoldsm:
libm.so.6 (libc6,x86-64, OS ABI: Linux 2.6.24) =>
/lib/x86_64-linux-gnu/libm.so.6
libm.so.6 (libc6, OS ABI: Linux 2.6.24) => /lib32/libm.so.6

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.

Cheers,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.concurrency.cc/pipermail/developers/attachments/20130423/97cc2db7/attachment.htm>


More information about the developers mailing list