/tmp/ccQR5LO9.o: In function `bfs()':
foo.cc:(.text+0x14): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x1b): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x48): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x5d): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x93): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0xb5): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x12f): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x216): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x251): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x270): relocation truncated to fit: R_X86_64_PC32 against symbol `q' defined in .bss section in /tmp/ccQR5LO9.o
foo.cc:(.text+0x27c): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status