Displaying 2 results from an estimated 2 matches for "__atomicity_lock".
2004 Dec 21
2
[LLVMdev] llvm-test failures on FreeBSD
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?
2005 Apr 16
0
[LLVMdev] libstdc++.a with current CVS version
...nking a C++ program
> with -Wl,-native:
>
> gccld: error: Cannot link in module
> '/media/sda3/opt/cc-i386-linux/llvm/llvm-1.4.20050416-i386-linux/cfrontend/bin/../lib/gcc/i386-pc-linux-gnu/3.4-llvm/../../../libstdc++.a(allocator-inst.o)':
> Linking globals named '_ZN16__Atomicity_lockILi0EE17_S_atomicity_lockE':
> symbol multiply defined!
>
> Does this sound familiar ?
Yes, this is PR480:
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=480
if you remove the explicit instantiations of __Atomicity_lock from the
beginning of libstdc++-v3/config/cpu/i386/atomicity.h (o...