Seems I had a rogue /usr/lib32/libstdc++.so causing problems with my 32bit builds Everything is working fine now with LLVM enabled