title: How to understand LLVM Clang link error message? Any indication?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/5285844/bad-codegen-pointer-diff-linker-error-with-xcode-4">“bad codegen, pointer diff” linker error with Xcode 4</a>  </p>
  </blockquote>
  
  
  
  <p>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.   </p>
  
  <pre><code>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
  </code></pre>
  
  <p>Any idea or discussion will be appreciated, thanks in advance. </p>