[LLVMdev] link-error: different visibilities

Sebastian Redl sebastian.redl at getdesigned.at
Wed Sep 2 00:02:52 PDT 2009

gauss wrote:
> When I use llvm-2.5 to compile gnash which is a GNU flash movie player, some
> errors appeared as follow:
> llvm-ld: error: Cannot link in module
> '../libcore/.libs/libgnashcore.a(movie_root.o)': Linking globals named
> '_ZNKSt6vectorIN5gnash8geometry7Range2dIfEESaIS3_EE4sizeEv': symbols have
> different visibilities!
> Because the name is mangled, I can't find the exact position of this
> function in the original source code, so I can't give more information about
> it.
Use the c++filt program (part of GNU binutils) to demangle the name. The
function in question is
std::allocator<gnash::geometry::Range2d<float> > >::size() const


More information about the llvm-dev mailing list