[parsec-users] compiling parsec for simics

Manu Awasthi manu.awasthi at gmail.com
Thu Mar 20 00:47:08 EDT 2008


Hi all,
I have been trying to compile parsec (statically linked) programs for
simics environment (Linux/UltrSparc). I tried to compile just
bodytrack using the following options for the configure script -

./configure --prefix=$HOME --enable-static --disable-shared
--enable-static-link=libstdc++ --enable-static-link=libc
--enable-static-link=libstdc++ --enable-static-link=libgcc
CC="gcc-4.2" CFLAGS="-static -static-libgcc" CCFLAG="-static
-static-libgcc" CXX="g++-4.2" CXXFLAGS="-static -static-libgcc"
LDFLAGS="-static -static-libgcc"

Somehow the binary is not getting statically linked. When I run this
on the above mentioned simics environment, here's the error I get -

./bodytrack: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required
 by ./bodytrack)
./bodytrack: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by ./bo
dytrack)

Any ideas as to what I am doing wrong?

Thanks,
Manu


More information about the parsec-users mailing list