Hi, > Bitcode generated by llvm-ld with –disable-opt and –basiccg options is: ... > My point is why is the call to foo not resolved correctly in llvm-ld. Resolving an call to a direct call is an optimization. But you turned all optimizations off. Ciao, Duncan.