[LLVMdev] llvm-test failures on FreeBSD

Chris Lattner sabre at nondot.org
Tue Dec 21 14:17:21 PST 2004


On Tue, 21 Dec 2004, Jeff Cohen wrote:

> I'm getting a large number of failures with this error:
>
> gccld: error: Cannot link in module 
> '/home/llvm-gcc/install/lib/libstdc++.a(ostream-inst.o)': Linking globals 
> named '_ZN16__Atomicity_lockILi0EE17_S_atomicity_lockE': symbol multiply 
> defined!
> gccld: error: Cannot link archive '/home/llvm-gcc/install/lib/libstdc++.a'
>
> Any simple solution?  Or is this a bug?

This is a bug (http://llvm.cs.uiuc.edu/PR480).  As a work around, please 
just comment out this line of i*86/atomicity.h in libstdc++:

template volatile int __Atomicity_lock<0>::_S_atomicity_lock;

I'm currently out of town, but I hope to get this PR resolved when I get 
back in early January.

Sorry!

-Chris

-- 
http://nondot.org/sabre/
http://llvm.cs.uiuc.edu/




More information about the llvm-dev mailing list