Link error using LLVM 2.0 based on XCode 4.0.1

Hey All;

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

ENV:

yuma:MyApp yujianhuayu$ clang -v
Apple clang version 2.0 (tags/Apple/clang-138) (based on LLVM 2.9svn)
Target: x86_64-apple-darwin10
Thread model: posix

BTW:
Seems link well for simulator but bad for device.

This isn't really the right place for this question; I'd suggest the
Apple Developer Forums (http://devforums.apple.com). That said, see
xcode - "bad codegen, pointer diff in boost" error in 32-bit build - Stack Overflow
or ios - "bad codegen, pointer diff" linker error with Xcode 4 - Stack Overflow
.

-Eli