Closed GoogleCodeExporter closed 9 years ago
I'm also having this problem r569. Here's the output from Xcode:
Ld build/Debug/crash_report normal i386
cd /Users/grant/Development/google-breakpad/src/tools/mac/crash_report
setenv MACOSX_DEPLOYMENT_TARGET 10.4
/Developer/usr/bin/g++-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk
-L/Users/grant/Development/google-breakpad/src/tools/mac/crash_report/build/Debu
g
-F/Users/grant/Development/google-breakpad/src/tools/mac/crash_report/build/Debu
g
-filelist
/Users/grant/Development/google-breakpad/src/tools/mac/crash_report/build/crash_
report.build/Debug/crash_report.build/Objects-normal/i386/crash_report.LinkFileL
ist
-mmacosx-version-min=10.4 -lcrypto -framework Foundation -o
/Users/grant/Development/google-breakpad/src/tools/mac/crash_report/build/Debug/
crash_report
Undefined symbols:
"bool google_breakpad::CFIFrameInfo::FindCallerRegs<unsigned
int>(google_breakpad::CFIFrameInfo::RegisterValueMap<unsigned int> const&,
google_breakpad::MemoryRegion const&,
google_breakpad::CFIFrameInfo::RegisterValueMap<unsigned int>*) const",
referenced from:
google_breakpad::SimpleCFIWalker<unsigned int,
MDRawContextX86>::FindCallerRegisters(google_breakpad::MemoryRegion const&,
google_breakpad::CFIFrameInfo const&, MDRawContextX86 const&, int,
MDRawContextX86*,
int*) constin stackwalker_x86.o
google_breakpad::StackwalkerARM::GetCallerFrame(google_breakpad::CallStack
const*)in stackwalker_arm.o
"google_breakpad::Tokenize(char*, char const*, int, __gnu_debug_def::vector<char*,
std::allocator<char*> >*)", referenced from:
google_breakpad::BasicSourceLineResolver::Module::ParseLine(char*) in
basic_source_line_resolver.o
google_breakpad::BasicSourceLineResolver::Module::ParseFunction(char*) in
basic_source_line_resolver.o
google_breakpad::BasicSourceLineResolver::Module::ParseFile(char*) in
basic_source_line_resolver.o
google_breakpad::BasicSourceLineResolver::Module::ParsePublicSymbol(char*) in
basic_source_line_resolver.o
google_breakpad::WindowsFrameInfo::ParseFromString(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, int&, unsigned long long&,
unsigned
long long&)in basic_source_line_resolver.o
"vtable for google_breakpad::CFIFrameInfoParseHandler", referenced from:
__ZTVN15google_breakpad24CFIFrameInfoParseHandlerE$non_lazy_ptr in
basic_source_line_resolver.o
"bool google_breakpad::CFIFrameInfo::FindCallerRegs<unsigned long
long>(google_breakpad::CFIFrameInfo::RegisterValueMap<unsigned long long>
const&,
google_breakpad::MemoryRegion const&,
google_breakpad::CFIFrameInfo::RegisterValueMap<unsigned long long>*) const",
referenced from:
google_breakpad::SimpleCFIWalker<unsigned long long,
MDRawContextAMD64>::FindCallerRegisters(google_breakpad::MemoryRegion const&,
google_breakpad::CFIFrameInfo const&, MDRawContextAMD64 const&, int,
MDRawContextAMD64*, int*) constin stackwalker_amd64.o
"google_breakpad::StringToVector(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, __gnu_debug_def::vector<char,
std::allocator<char>
>&)", referenced from:
google_breakpad::WindowsFrameInfo::ParseFromString(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, int&, unsigned long long&,
unsigned
long long&)in basic_source_line_resolver.o
"google_breakpad::CFIRuleParser::Parse(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)", referenced from:
google_breakpad::BasicSourceLineResolver::Module::ParseCFIRuleSet(std::basic_str
ing<char,
std::char_traits<char>, std::allocator<char> > const&,
google_breakpad::CFIFrameInfo*) constin basic_source_line_resolver.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Original comment by glimb...@gmail.com
on 9 Apr 2010 at 8:03
I fixed this in r578. The XCode project never got updated to include some new
CFI-related source files.
Original comment by ted.mielczarek
on 29 Apr 2010 at 6:20
Original issue reported on code.google.com by
nriley
on 25 Mar 2010 at 4:01