[parsec-users] Cross-compiling TBB for ALPHA

Iordan Alexandru airjrd at yahoo.com
Thu Aug 5 10:07:13 EDT 2010


Hello

Has anyone successfully compile a TBB form of the PARSEC applications for the ALPHA platform? 

I am using M5 to run some simulations, and ALPHA is the most stable ISA for full-system simulations. I tried to cross-compile PARSEC for this platform but I encountered the following error:

parsec-2.1$ parsecmgmt -a build -c alpha-gcc-tbb -p bodytrack

[PARSEC] Packages to build:  bodytrack

 

[PARSEC] [========== Building package bodytrack ==========]

[PARSEC] [---------- Analyzing package bodytrack ----------]

[PARSEC] bodytrack depends on: tbblib

[PARSEC] [---------- Analyzing package tbblib ----------]

[PARSEC] Package tbblib already exists, proceeding.

[PARSEC] [---------- Building package bodytrack ----------]

[PARSEC] Running 'env CXXFLAGS=-O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -I/home/vadmin/parsec_source/parsec-2.1/pkgs/libs/tbblib/inst/amd64-linux.alpha-gcc-tbb/include -fexceptions /home/vadmin/parsec_source/parsec-2.1/pkgs/apps/bodytrack/src/configure --enable-tbb --disable-threads --disable-openmp --prefix=/home/vadmin/parsec_source/parsec-2.1/pkgs/apps/bodytrack/inst/amd64-linux.alpha-gcc-tbb':

checking for a BSD-compatible install... /home/vadmin/parsec_source/parsec-2.1/bin/install -c

checking whether build environment is sane... yes

checking for gawk... no

checking for mawk... mawk

checking whether /usr/bin/make sets $(MAKE)... yes

checking build system type... i686-pc-linux-gnu

checking host system type... i686-pc-linux-gnu

checking for style of include used by /usr/bin/make... GNU

checking for gcc... /home/vadmin/crosstool/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc-4.3.2

checking for C compiler default output file name... configure: error: C compiler cannot create executables

See `config.log' for more details.

[PARSEC] Error: 'env CXXFLAGS=-O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -I/home/vadmin/parsec_source/parsec-2.1/pkgs/libs/tbblib/inst/amd64-linux.alpha-gcc-tbb/include -fexceptions /home/vadmin/parsec_source/parsec-2.1/pkgs/apps/bodytrack/src/configure --enable-tbb --disable-threads --disable-openmp --prefix=/home/vadmin/parsec_source/parsec-2.1/pkgs/apps/bodytrack/inst/amd64-linux.alpha-gcc-tbb' failed.

parsec-2.1$



The config.log records the following:

.........................................................................

configure:2534: checking for C compiler default output file name
configure:2537: /home/vadmin/crosstool/alphaev67-unknown-linux-gnu/bin/alphaev67-unknown-linux-gnu-gcc-4.3.2 -O3 -funroll-loops -fprefetch-loop-arrays -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -I/home/vadmin/parsec_source/parsec-2.1/pkgs/libs/tbblib/inst/amd64-linux.alpha-gcc-tbb/include  -L/home/vadmin/crosstool/alphaev67-unknown-linux-gnu/lib64 -L/home/vadmin/crosstool/alphaev67-unknown-linux-gnu/lib -L/home/vadmin/parsec_source/parsec-2.1/pkgs/libs/tbblib/inst/amd64-linux.alpha-gcc-tbb/lib conftest.c  -ltbb -ldl -lrt -lpthread >&5
/home/vadmin/crosstool/alphaev67-unknown-linux-gnu/bin/../lib/gcc/alphaev67-unknown-linux-gnu/4.3.2/../../../../alphaev67-unknown-linux-gnu/bin/ld: skipping incompatible /home/vadmin/parsec_source/parsec-2.1/pkgs/libs/tbblib/inst/amd64-linux.alpha-gcc-tbb/lib/libtbb.a when searching for -ltbb
/home/vadmin/crosstool/alphaev67-unknown-linux-gnu/bin/../lib/gcc/alphaev67-unknown-linux-gnu/4.3.2/../../../../alphaev67-unknown-linux-gnu/bin/ld: cannot find -ltbb
collect2: ld returned 1 exit status
configure:2540: $? = 1

...........................................................................


I am not sure this error means that TBB can't be compiled for ALPHA, or that I did something wrong configuring the compilation.

Any thoughts?






      


More information about the parsec-users mailing list