/tmp/ccVC2S4b.o: In function `main':
foo.cc:(.text.startup+0x34): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/ccVC2S4b.o
foo.cc:(.text.startup+0x116): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/ccVC2S4b.o
foo.cc:(.text.startup+0x22a): relocation truncated to fit: R_X86_64_PC32 against symbol `f' defined in .bss section in /tmp/ccVC2S4b.o
/tmp/ccVC2S4b.o: In function `_GLOBAL__sub_I_f':
foo.cc:(.text.startup+0x243): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0x261): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status