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!* I demangle the name "_ZNKSt6vectorIN5gnash8geometry7Range2dIfEESaIS3_EE4sizeEv" with tool c++filt, and its corresponding source code is: *std::vector<gnash::geometry::Range2d<float>, std::allocator<gnash::geometry::Range2d<float> > >::size() const.* It is a template method "Vector<>::size()" inserted by llvm-g++ at compile time. LLVM-g++ compiled all the cpp file correctly, but llvm-ld failed to link them because of the different visibilities. Is there some wrong with LLVM-g++? How to deal with it? Any one will help me? Thanks! Gauss, 09-02
_______________________________________________ LLVMbugs mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs
