/tmp/ccKMXGC7.o: In function `addEdge(int, int, int)':
foo.cc:(.text+0x2): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/ccKMXGC7.o
foo.cc:(.text+0x11): relocation truncated to fit: R_X86_64_PC32 against symbol `e' defined in .bss section in /tmp/ccKMXGC7.o
foo.cc:(.text+0x1c): relocation truncated to fit: R_X86_64_PC32 against symbol `edge' defined in .bss section in /tmp/ccKMXGC7.o
foo.cc:(.text+0x29): relocation truncated to fit: R_X86_64_PC32 against symbol `head' defined in .bss section in /tmp/ccKMXGC7.o
/tmp/ccKMXGC7.o: In function `SPFA(int)':
foo.cc:(.text+0x2f4): relocation truncated to fit: R_X86_64_PC32 against symbol `edge' defined in .bss section in /tmp/ccKMXGC7.o
foo.cc:(.text+0x30a): relocation truncated to fit: R_X86_64_PC32 against symbol `head' defined in .bss section in /tmp/ccKMXGC7.o
foo.cc:(.text+0x4a1): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccKMXGC7.o
foo.cc:(.text+0x4bd): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccKMXGC7.o
/tmp/ccKMXGC7.o: In function `main':
foo.cc:(.text.startup+0x45): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccKMXGC7.o
foo.cc:(.text.startup+0x4c): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccKMXGC7.o
foo.cc:(.text.startup+0x61): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status