Tested under CentOS 5.1 g++ 4.1.2 and 4.6.3 and 4.7.0, they all produce same results. How do I solve this? Basically I can't build llvm with Debug build.
[hidden]$ cat x.cpp #include <iostream> int main() { } [hidden]$ g++ -c -fPIC -g x.cpp [hidden]$ objdump -r x.o | grep R_X86_64_32 | head -10 000000000000001c R_X86_64_32 .debug_frame 0000000000000044 R_X86_64_32 .debug_frame 000000000000006c R_X86_64_32 .debug_frame 0000000000000006 R_X86_64_32 .debug_abbrev 000000000000000c R_X86_64_32 .debug_str+0x0000000000000414 0000000000000011 R_X86_64_32 .debug_str+0x00000000000007f2 0000000000000015 R_X86_64_32 .debug_str+0x000000000000017b 0000000000000029 R_X86_64_32 .debug_line 000000000000002e R_X86_64_32 .debug_str+0x0000000000000422 0000000000000034 R_X86_64_32 .debug_str+0x0000000000000607