I am trying to build TBB on a Linux machine running on a P4080 PowerPC architecture.
The makefile successfully auto-detects the architecture but fails to build due to the
disabled "part-word CAS" implementation.
I have thoroughly searched the forum but couldn't find any related issues.
muse tbb40_20120408oss # make arch=ppc Created ./build/linux_ppc_gcc_cc4.4.5_libc2.11.3_kernel3.0.25_release and ..._debug directories make -C "./build/linux_ppc_gcc_cc4.4.5_libc2.11.3_kernel3.0.25_debug" -r -f ../../build/Makefile.tbb cfg=debug tbb_root=../.. make: Entering directory `/home/muse/tbb40_20120408oss/build/linux_ppc_gcc_cc4.4.5_libc2.11.3_kernel3.0.25_debug' ../../build/Makefile.tbb:39: CONFIG: cfg=debug arch=ppc compiler=gcc os=linux runtime=cc4.4.5_libc2.11.3_kernel3.0.25 g++ -c -MMD -DTBB_USE_DEBUG -DDO_ITT_NOTIFY -g -O0 -DUSE_PTHREAD -fPIC -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp In file included from ../../include/tbb/spin_rw_mutex.h:33, from ../../include/tbb/concurrent_hash_map.h:50, from ../../src/tbb/concurrent_hash_map.cpp:29: ../../include/tbb/tbb_machine.h:378:10: error: #error generic implementation of part-word CAS was explicitly disabled for this configuration make: *** [concurrent_hash_map.o] Error 1It seems to be related to the "endian-ness", however I have no idea how to fix this.
Do you have any hints on how to proceed with this?