Source: tbb Version: 2017~U7-8 Severity: important Tags: upstream Justification: fails to build from source (but built successfully in the past) User: debian-m...@lists.debian.org
Builds of tbb for m68k (admittedly not a release architecture) have been failing lately: In file included from ../../src/tbbmalloc/Customize.h:25:0, from ../../src/tbbmalloc/TypeDefinitions.h:58, from ../../src/tbbmalloc/tbbmalloc_internal.h:25, from ../../src/tbbmalloc/backend.cpp:23: ../../src/tbbmalloc/backend.cpp: In member function 'rml::internal::FreeBlock* rml::internal::Backend::findBlockInRegion(rml::internal::MemRegion*, size_t)': ../../include/tbb/tbb_stddef.h:530:44: error: static assertion failed: Atomic applied on LastFreeBlock, and we put it at the end of region, that is uintptr_t-aligned, so no unaligned atomic operations are possible. #define __TBB_STATIC_ASSERT(condition,msg) static_assert(condition,msg) ^ ../../src/tbbmalloc/Customize.h:147:45: note: in expansion of macro '__TBB_STATIC_ASSERT' #define MALLOC_STATIC_ASSERT(condition,msg) __TBB_STATIC_ASSERT(condition,msg) ^~~~~~~~~~~~~~~~~~~ ../../src/tbbmalloc/backend.cpp:1281:5: note: in expansion of macro 'MALLOC_STATIC_ASSERT' MALLOC_STATIC_ASSERT(sizeof(LastFreeBlock) % sizeof(uintptr_t) == 0, ^~~~~~~~~~~~~~~~~~~~ ../../build/Makefile.tbbmalloc:71: recipe for target 'backend.o' failed Could you please take a look? IIRC, on m68k, atomic<int> and the like are wider than their parameters. Thanks! -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu