/tmp/ccg26dIi.o: In function `main':
foo.cc:(.text.startup+0x4c): relocation truncated to fit: R_X86_64_PC32 against symbol `flag' defined in .bss section in /tmp/ccg26dIi.o
foo.cc:(.text.startup+0x95): relocation truncated to fit: R_X86_64_PC32 against symbol `flag' defined in .bss section in /tmp/ccg26dIi.o
foo.cc:(.text.startup+0x129): relocation truncated to fit: R_X86_64_PC32 against symbol `flag' defined in .bss section in /tmp/ccg26dIi.o
foo.cc:(.text.startup+0x165): relocation truncated to fit: R_X86_64_PC32 against symbol `flag' defined in .bss section in /tmp/ccg26dIi.o
foo.cc:(.text.startup+0x173): relocation truncated to fit: R_X86_64_PC32 against symbol `flag' defined in .bss section in /tmp/ccg26dIi.o
/tmp/ccg26dIi.o: In function `_GLOBAL__sub_I_flag':
foo.cc:(.text.startup+0x213): relocation truncated to fit: R_X86_64_PC32 against `.bss'
foo.cc:(.text.startup+0x231): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: error: ld returned 1 exit status