This line "MALLOC_ASSERT( CACHE_LINE_SIZE == sizeof(Block), ASSERT_TEXT );" in initMemoryManager (MemoryAllocator.cpp) asserts. I am using a G5 with Leopard 10.5.2. ( powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465) ) The TBB version I have is tbb20_20080319oss.
BlockS structure in MemoryAllocator.cpp should not be padded for PPC64. I added _ARCH_PPC64 to the padding check. This got rid of the assert but I believe for a more complete solution architecture defines in TypeDefinitions.h should include a define for PPC64 as well.
Thanks for such a great product.
Orhun Birsoy




