2

Possible Duplicate:
“bad codegen, pointer diff” linker error with Xcode 4

Using LLVM 3.0 to compile a large project and get the following link error message, how can I understand? How to analysis? Which part is wrong? Thanks.

ld: bad codegen, pointer diff in ___cxx_global_var_init607 to global weak symbol
__ZN5boost10shared_ptrIKNS_16exception_detail10clone_baseEED1Ev for architecture i386 Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang++ failed with exit code 1

Any idea or discussion will be appreciated, thanks in advance.

Community
  • 1
  • 1
jianhua
  • 1,011
  • 1
  • 12
  • 28
  • 1
    This looks like a duplicate of http://stackoverflow.com/questions/5285844/bad-codegen-pointer-diff-linker-error-with-xcode-4 and http://stackoverflow.com/questions/6087292/bad-codegen-pointer-diff-in-boost-error-in-32-bit-build – wilx Jan 16 '12 at 10:29
  • Agreed. It's a duplicate as wilx says above. – echristo Jan 16 '12 at 18:29

0 Answers0