/tmp/ccBV9T7e.o: In function `main':
foo.cc:(.text.startup+0x26): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccBV9T7e.o
foo.cc:(.text.startup+0x44): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccBV9T7e.o
foo.cc:(.text.startup+0x52): relocation truncated to fit: R_X86_64_PC32 against symbol `h' defined in .bss section in /tmp/ccBV9T7e.o
foo.cc:(.text.startup+0x7a): relocation truncated to fit: R_X86_64_PC32 against symbol `sum' defined in .bss section in /tmp/ccBV9T7e.o
foo.cc:(.text.startup+0x81): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccBV9T7e.o
foo.cc:(.text.startup+0x96): relocation truncated to fit: R_X86_64_PC32 against symbol `sum' defined in .bss section in /tmp/ccBV9T7e.o
foo.cc:(.text.startup+0xa8): relocation truncated to fit: R_X86_64_PC32 against symbol `h' defined in .bss section in /tmp/ccBV9T7e.o
/tmp/ccBV9T7e.o: In function `_GLOBAL__sub_I_n':
foo.cc:(.text.startup+0x223): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0x241): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status