[parsec-users] Alpha cross compile problems on fluidanimate

Choi, Wonje wonje.choi at email.wsu.edu
Sun Oct 13 02:27:03 EDT 2013


Hi all,

I'm trying to build fluidanimate using alpha-gcc-hooks, but I got below error.
I have searched the mailing list, but I couldn't find any solution for this.
Basically, I followed TR-09-32 technical report. I have applied two patches 'apply-parsec-2.1-alpha-diffs' and 'unpack-parsec-2.1-extra-alpha-package'. Also, I have installed 'crosstool-NG 1.5.2', and set 'CC_HOME' and 'BINUTIL_HOME' path accordingly in alpha-gcc-hooks.bldconf.

(running environment : Ubuntu12.10, gcc ver 4.7.2)
wonje at wonje:~/parsec-2.1$ source env.sh
wonje at wonje:~/parsec-2.1/bin$ ./bldconfadd -n alpha-gcc-hooks -c gcc-hooks
wonje at wonje:~/parsec-2.1/bin$ ./parsecmgmt -a build -c alpha-gcc-hooks -p fluidanimate

[PARSEC] Packages to build:  fluidanimate
[PARSEC] [========== Building package fluidanimate ==========]
[PARSEC] [---------- Analyzing package fluidanimate ----------]
[PARSEC] fluidanimate depends on: hooks
[PARSEC] [---------- Analyzing package hooks ----------]
[PARSEC] Package hooks already exists, proceeding.
[PARSEC] [---------- Building package fluidanimate ----------]
[PARSEC] Copying source code of package fluidanimate.
[PARSEC] Running 'env version=pthreads /usr/bin/make':
/usr/bin/make -f Makefile.pthreads all
make[1]: Entering directory `/home/wonje/parsec-2.1/pkgs/apps/fluidanimate/obj/i686-linux.alpha-gcc-hooks'
/usr//bin/g++ -O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -DENABLE_PARSEC_HOOKS -I/home/wonje/parsec-2.1/bin/../pkgs/libs/hooks/inst/i686-linux.alpha-gcc-hooks/include -pthread -D_GNU_SOURCE -c pthreads.cpp
pthreads.cpp:1:0: warning: -fprefetch-loop-arrays not supported for this target (try -march switches) [enabled by default]
/usr//bin/g++ -O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -DENABLE_PARSEC_HOOKS -I/home/wonje/parsec-2.1/bin/../pkgs/libs/hooks/inst/i686-linux.alpha-gcc-hooks/include -pthread -D_GNU_SOURCE -c parsec_barrier.cpp
parsec_barrier.cpp:1:0: warning: -fprefetch-loop-arrays not supported for this target (try -march switches) [enabled by default]
/usr//bin/g++ -O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -DENABLE_PARSEC_HOOKS -I/home/wonje/parsec-2.1/bin/../pkgs/libs/hooks/inst/i686-linux.alpha-gcc-hooks/include -pthread pthreads.o parsec_barrier.o -L/usr//lib64 -L/usr//lib -L/home/wonje/parsec-2.1/bin/../pkgs/libs/hooks/inst/i686-linux.alpha-gcc-hooks/lib  -lhooks -o fluidanimate
/usr/bin/ld: skipping incompatible /home/wonje/parsec-2.1/bin/../pkgs/libs/hooks/inst/i686-linux.alpha-gcc-hooks/lib/libhooks.a when searching for -lhooks
/usr/bin/ld: cannot find -lhooks
collect2: error: ld returned 1 exit status
make[1]: *** [pthreads] Error 1
make[1]: Leaving directory `/home/wonje/parsec-2.1/pkgs/apps/fluidanimate/obj/i686-linux.alpha-gcc-hooks'
make: *** [all] Error 2
[PARSEC] Error: 'env version=pthreads /usr/bin/make' failed.

I could build the Bodytrack successfully, but I don't know why I got this error for fluidanimate.
Any help would be greatly appreciated!
Thanks.
Best regards,
Wonje Choi



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20131013/eb38dfd0/attachment.html>


More information about the parsec-users mailing list