On Mon, Dec 13, 2021 at 2:24 AM Jamie Lee via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > /usr/bin/ld: .libs/gets-chk.o: in function `__gets_chk': > /src/libssp/gets-chk.c:74: warning: the `gets' function is dangerous and should not be used. > /usr/bin/ld: .libs/ssp.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC > /usr/bin/ld: .libs/gets-chk.o: warning: relocation against `stdin@@GLIBC_2.2.5' in read-only section `.text' > collect2: error: ld returned 1 exit status > make[3]: *** [Makefile:533: libssp.la] Error 1 > make[3]: Leaving directory '/build/x86_64-pc-linux-gnu/libssp' > make[2]: *** [Makefile:441: all] Error 2 > make[2]: Leaving directory '/build/x86_64-pc-linux-gnu/libssp' > make[1]: *** [Makefile:13700: all-target-libssp] Error 2 Which environment are you building in? The first thing I would try is skip the --disable-bootstrap.