/tmp/ccsm3LQ2.o: In function `main':
foo.cc:(.text.startup+0x36): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/ccsm3LQ2.o
foo.cc:(.text.startup+0x3d): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/ccsm3LQ2.o
foo.cc:(.text.startup+0x13c): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/ccsm3LQ2.o
foo.cc:(.text.startup+0x2a4): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/ccsm3LQ2.o
/tmp/ccsm3LQ2.o: In function `_GLOBAL__sub_I_f':
foo.cc:(.text.startup+0x2b3): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0x2d1): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status