https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78984
--- Comment #5 from bruno at clisp dot org --- Thanks Jakub. The ld --version and "-m elf_i386 -L /usr/lib/" trick solves it! (I was already using the "as --32" trick.) Another way is to define a simpler ld32 script ============== ld32 ================= #!/bin/sh exec ld -m elf_i386 -L /usr/lib/ "$@" ===================================== specify this script through the --with-ld option, AND use the --disable-lto option.