Since my earlier 'install-libs' did result in libLTO and libprofile_rt not being installed for 32-bit libs, I've been lazy and just hardcoded 64-bit paths in sources. The library install was fixed along with bug #478348 and now it's time to fix those paths as well.
Oh, it's libprofile_rt solely. LLVMgold was the other lib but since it is binutils plugin, we should probably always pass the native lib. As for libprofile_rt, I'd appreciate some help. I'm trying hard and I can't get 'clang -v' to use it a single time -- all profiling related options seem to trigger clang_rt instead...
Let's try -l:llvm/libprofile_rt.a that should fix multilib as well. Will commit after the test build succeeds.
And committed.