[LLVMbugs] [Bug 7881] New: clang++ does not build
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Aug 13 07:13:23 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7881
Summary: clang++ does not build
Product: clang
Version: trunk
Platform: PC
OS/Version: other
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: fgenolini at hotmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Windows Vista 64-bit
VisualStudio 2010 32-bit
Build target: ALL_BUILD as MinSizeRel
88 targets build OK
clang++ fails to link
I only want Objective-C, so I do not really care about C++ failing to build,
but I would just like to let you know in case C++ matters to anybody.
3>------ Build started: Project: clang++, Configuration: MinSizeRel Win32
------
1> Copying clang's altivec.h...
2>PrintFunctionNames.obj : error LNK2019: unresolved external symbol "private:
void __thiscall clang::APValue::MakeUninit(void)"
(?MakeUninit at APValue@clang@@AAEXXZ) referenced in function "public: __thiscall
clang::APValue::~APValue(void)" (??1APValue at clang@@QAE at XZ)
2>PrintFunctionNames.obj : error LNK2019: unresolved external symbol "public:
__thiscall clang::FrontendAction::FrontendAction(void)"
(??0FrontendAction at clang@@QAE at XZ) referenced in function "public: __thiscall
clang::ASTFrontendAction::ASTFrontendAction(void)"
(??0ASTFrontendAction at clang@@QAE at XZ)
2>PrintFunctionNames.obj : error LNK2001: unresolved external symbol
"protected: virtual void __thiscall
clang::ASTFrontendAction::ExecuteAction(void)"
(?ExecuteAction at ASTFrontendAction@clang@@MAEXXZ)
2>PrintFunctionNames.obj : error LNK2019: unresolved external symbol "public:
virtual __thiscall clang::FrontendAction::~FrontendAction(void)"
(??1FrontendAction at clang@@UAE at XZ) referenced in function "public: virtual
__thiscall clang::ASTFrontendAction::~ASTFrontendAction(void)"
(??1ASTFrontendAction at clang@@UAE at XZ)
2>PrintFunctionNames.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall clang::ASTConsumer::HandleTopLevelDecl(class
clang::DeclGroupRef)"
(?HandleTopLevelDecl at ASTConsumer@clang@@UAEXVDeclGroupRef at 2@@Z)
2>PrintFunctionNames.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall clang::ASTConsumer::HandleInterestingDecl(class
clang::DeclGroupRef)"
(?HandleInterestingDecl at ASTConsumer@clang@@UAEXVDeclGroupRef at 2@@Z)
2>PrintFunctionNames.obj : error LNK2019: unresolved external symbol "public:
bool __thiscall clang::DiagnosticBuilder::Emit(void)"
(?Emit at DiagnosticBuilder@clang@@QAE_NXZ) referenced in function "public:
__thiscall clang::DiagnosticBuilder::~DiagnosticBuilder(void)"
(??1DiagnosticBuilder at clang@@QAE at XZ)
2>PrintFunctionNames.obj : error LNK2019: unresolved external symbol "public:
class llvm::raw_ostream & __thiscall llvm::raw_ostream::write(char const
*,unsigned int)" (?write at raw_ostream@llvm@@QAEAAV12 at PBDI@Z) referenced in
function "public: class llvm::raw_ostream & __thiscall
llvm::raw_ostream::operator<<(class llvm::StringRef)"
(??6raw_ostream at llvm@@QAEAAV01 at VStringRef@1@@Z)
2>PrintFunctionNames.obj : error LNK2019: unresolved external symbol "public:
class std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __thiscall
clang::DeclarationName::getAsString(void)const "
(?getAsString at DeclarationName@clang@@QBE?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@XZ)
referenced in function "public: class
std::basic_string<char,structstd::char_traits<char>,class std::allocator<char>
> __thiscall clang::NamedDecl::getNameAsString(void)const "
(?getNameAsString at NamedDecl@clang@@QBE?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@XZ)
2>PrintFunctionNames.obj : error LNK2019: unresolved external symbol "class
llvm::raw_ostream & __cdecl llvm::errs(void)"
(?errs at llvm@@YAAAVraw_ostream at 1@XZ) referenced in function "public: virtual
void __thiscall `anonymous
namespace'::PrintFunctionsConsumer::HandleTopLevelDecl(class
clang::DeclGroupRef)"
(?HandleTopLevelDecl at PrintFunctionsConsumer@?A0xb6c0f3d6@@UAEXVDeclGroupRef at clang@@@Z)
2>PrintFunctionNames.obj : error LNK2019: unresolved external symbol "public:
unsigned int __thiscall clang::Diagnostic::getCustomDiagID(enum
clang::Diagnostic::Level,class llvm::StringRef)"
(?getCustomDiagID at Diagnostic@clang@@QAEIW4Level at 12@VStringRef at llvm@@@Z)
referenced in function "protected: virtual bool __thiscall `anonymous
namespace'::PrintFunctionNamesAction::ParseArgs(class clang::CompilerInstance
const &,class std::vector<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class std::allocator<class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
> > > const &)"
(?ParseArgs at PrintFunctionNamesAction@?A0xb6c0f3d6@@MAE_NABVCompilerInstance at clang@@ABV?$vector at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@V?$allocator at V?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@2@@std@@@Z)
2>C:\Projects\ObjectiveC\clangllvm\llvm-build\lib\MinSizeRel\PrintFunctionNames.dll
: fatal error LNK1120: 11 unresolved externals
--
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