yajun0601 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Build fails on Mac OS X 10.9 with r1375 and newer #608

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. update the breakpad SVN to r1375 or any later version
2. xcodebuild -project src/client/mac/Breakpad.xcodeproj -sdk macosx10.9 -arch 
x86_64 GCC_VERSION=com.apple.compilers.llvm.clang.1_0

What is the expected output? What do you see instead?

With r1374, building works fine. Starting with r1375, we get:

Ld build/Release/Inspector normal x86_64
[...]
Undefined symbols for architecture x86_64:
  "google_breakpad::LaunchReporter(char const*, char const*)", referenced from:
      google_breakpad::Inspector::Inspect(char const*) in Inspector.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

launch_reporter.cc isn't referenced in any project file, as far as I can see.

What version of the product are you using? On what operating system?

I tried r1375 and r1387 on OS X 10.9.4 with Xcode 5.1.1, build 5B1008.

Original issue reported on code.google.com by tiwocph...@gmail.com on 25 Sep 2014 at 10:38

GoogleCodeExporter commented 9 years ago
Fixed by r1393, at least on OS X 10.10 with Xcode 6.0.1, build 6A317. Thanks!

Original comment by tiwocph...@gmail.com on 20 Oct 2014 at 10:38