/tmp/ccBtqHW0.o: In function `dfs(int, int)':
foo.cc:(.text+0xf0): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text+0x10f): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccBtqHW0.o
/tmp/ccBtqHW0.o: In function `main':
foo.cc:(.text.startup+0x18): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text.startup+0x2b): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text.startup+0x35): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text.startup+0x8a): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text.startup+0x93): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text.startup+0xad): relocation truncated to fit: R_X86_64_PC32 against symbol `n' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text.startup+0xcd): relocation truncated to fit: R_X86_64_PC32 against symbol `m' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text.startup+0xd6): relocation truncated to fit: R_X86_64_PC32 against symbol `ans' defined in .bss section in /tmp/ccBtqHW0.o
foo.cc:(.text.startup+0x113): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status