Meet the following link error using LLVM 2.0 based on XCode 4.0.1, I don’t know what does it mean and how to fix it? please help, thanks.
ld: bad codegen, pointer diff in ___cxx_global_var_init79 to global weak symbol __ZN5boost16exception_detail23exception_ptr_bad_allocILi42EE1eE for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ failed with exit code 1
yuma:MyApp yujianhuayu$ clang -v
Apple clang version 2.0 (tags/Apple/clang-138) (based on LLVM 2.9svn)
Thread model: posix
Seems link well for simulator but bad for device.