[LLVMbugs] [Bug 14663] New: Clang's Lib multiple definition
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 19 19:56:16 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14663
Bug #: 14663
Summary: Clang's Lib multiple definition
Product: clang
Version: 3.2
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: ipvb at qq.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
When I use LLVM&Clang 3.1&MinGW ( GCC 4.6.2 ) compile LLVM/Clang3.2. There has
been a problem。
Problem:
llvm[4]: Linking Release executable clang (without symbols)
f:/SVN/LLVM/3.2/llvm/Release/lib/libclangAST.a(AttrImpl.o):fake:(.text$_ZN5clang15InheritableAttrD0Ev+0x0):
mu ltiple definition of `clang::InheritableAttr::~InheritableAttr()'
f:/SVN/LLVM/3.2/llvm/Release/lib/libclangSerialization.a(ASTReaderDecl.o):fake:(.text$_ZN5clang15InheritableAt
trD0Ev[clang::InheritableAttr::~InheritableAttr()]+0x0): first defined here
f:/SVN/LLVM/3.2/llvm/Release/lib/libclangAST.a(AttrImpl.o):fake:(.text$_ZN5clang20InheritableParamAttrD0Ev+0x0
): multiple definition of
`clang::InheritableParamAttr::~InheritableParamAttr()'
f:/SVN/LLVM/3.2/llvm/Release/lib/libclangSerialization.a(ASTReaderDecl.o):fake:(.text$_ZN5clang20InheritablePa
ramAttrD0Ev[clang::InheritableParamAttr::~InheritableParamAttr()]+0x0): first
defined here
collect2: ld returned 1 exit status
clang++: error: linker (via gcc) command failed with exit code 1 (use -v to see
invocation)
make[4]: *** [/f/SVN/LLVM/3.2/llvm/Release/bin/clang.exe] Error 1
make[4]: Leaving directory `/f/SVN/LLVM/3.2/llvm/tools/clang/tools/driver'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/f/SVN/LLVM/3.2/llvm/tools/clang/tools'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/f/SVN/LLVM/3.2/llvm/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/f/SVN/LLVM/3.2/llvm/tools'
make: *** [all] Error 1
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list