r266392 causes link errors on Darwin
| Bugzilla Link | 27362 |
| Resolution | FIXED |
| Resolved on | Apr 14, 2016 20:44 |
| Version | unspecified |
| OS | MacOS X |
Extended Description
Bot URL: http://lab.llvm.org:8080/green/job/LLDB/18105/
Error message:
Ld /Users/buildslave/jenkins/sharedspace/lldb@2/lldb-build/Build/Products/Debug/lldb-server normal x86_64 cd "/Users/buildslave/jenkins/sharedspace/lldb@2/lldb" export MACOSX_DEPLOYMENT_TARGET=10.9 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/Users/buildslave/jenkins/sharedspace/lldb@2/lldb-build/Build/Products/Debug -L/Users/buildslave/jenkins/sharedspace/lldb@2/lldb/llvm-build/Release+Asserts/x86_64 -F/Users/buildslave/jenkins/sharedspace/lldb@2/lldb-build/Build/Products/Debug -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/PrivateFrameworks -filelist /Users/buildslave/jenkins/sharedspace/lldb@2/lldb-build/Build/Intermediates/lldb.build/Debug/lldb-server.build/Objects-normal/x86_64/lldb-server.LinkFileList -exported_symbols_list tools/lldb-server/lldb-server.exports -mmacosx-version-min=10.9 -dead_strip -weak-lcompression -lz -filelist /Users/buildslave/jenkins/sharedspace/lldb@2/lldb/llvm-build/Release+Asserts/archives.txt -L/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -lpython2.7 -lxml2 -framework DebugSymbols -framework Foundation -framework Carbon -framework Security -stdlib=libc++ -lpanel -lz -lncurses -ledit /Users/buildslave/jenkins/sharedspace/lldb@2/lldb-build/Build/Products/Debug/liblldb-core.a -Xlinker -dependency_info -Xlinker /Users/buildslave/jenkins/sharedspace/lldb@2/lldb-build/Build/Intermediates/lldb.build/Debug/lldb-server.build/Objects-normal/x86_64/lldb-server_dependency_info.dat -o /Users/buildslave/jenkins/sharedspace/lldb@2/lldb-build/Build/Products/Debug/lldb-server ld: warning: ld: warning: ignoring file /Users/buildslave/jenkins/sharedspace/lldb@2/lldb/llvm-build/Release+Asserts/x86_64/lib/libclang_rt.builtins_i386_10.4.a, file was built for archive which is not the architecture being linked (x86_64): /Users/buildslave/jenkins/sharedspace/lldb@2/lldb/llvm-build/Release+Asserts/x86_64/lib/libclang_rt.builtins_i386_10.4.aignoring file /Users/buildslave/jenkins/sharedspace/lldb@2/lldb/llvm-build/Release+Asserts/x86_64/lib/libclang_rt.builtins_i386_osx.a, file was built for archive which is not the architecture being linked (x86_64): /Users/buildslave/jenkins/sharedspace/lldb@2/lldb/llvm-build/Release+Asserts/x86_64/lib/libclang_rt.builtins_i386_osx.a ld: warning: ignoring file /Users/buildslave/jenkins/sharedspace/lldb@2/lldb/llvm-build/Release+Asserts/x86_64/lib/libclang_rt.cc_kext_i386_osx.a, file was built for archive which is not the architecture being linked (x86_64): /Users/buildslave/jenkins/sharedspace/lldb@2/lldb/llvm-build/Release+Asserts/x86_64/lib/libclang_rt.cc_kext_i386_osx.a Undefined symbols for architecture x86_64: "PDBASTParser::~PDBASTParser()", referenced from: lldb_private::ClangASTContext::ClangASTContext(char const*) in liblldb-core.a(ClangASTContext.o) lldb_private::ClangASTContext::~ClangASTContext() in liblldb-core.a(ClangASTContext.o) ld: symbol(s) not found for architecture x86_64
Fixed in r266407. Thanks Jim!