I also got this, for similar reasons, but I think the problem was inconsistency of the inlining visibility settings.
See http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-December/046505.html
I set all inlining hidden to no and the warning (finally) went away.