Got you - inherited a codebase from someone else - worked fine on your x86(-64&#x2F;whatever), tried it against your ARM, intermittent failures.<p>Seems compiling with the -O0 flag fixed some issues for a few chaps, worth a shot I&#x27;d imagine, though you&#x27;ve seemed to completed your alternate implementation for the ARM platform.<p>Alternatively, the TBB errors seem to be when using a gcc deriv that depends on GNU as. Now VS can build ARM binaries (at least, ARM LE bins). It&#x27;d be interesting to see if that solves the problem.<p>What did you end up using instead of TBB? Stock Pthreads&#x2F;pth? Or did you go with something lighter? Regardless, next time you have to write for embedded stuff hopefully you have a new tool in your belt that&#x27;ll save you from frustration :)