https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100787
Aldy Hernandez <aldyh at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aldyh at gcc dot gnu.org --- Comment #2 from Aldy Hernandez <aldyh at gcc dot gnu.org> --- I'm doing the following on an x86-64 Linux box, as I don't have access to an i686 system: ~/src/clean/configure --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++ --enable-cet i686-linux --enable-bootstrap --with-fpmath=sse --disable-libcc1 --disable-libcilkrts --disable-libsanitizer make -jN /usr/bin/ld: /home/aldyh/bld/t/./gcc/liblto_plugin.so: error loading plugin: /home/aldyh/bld/t/./gcc/liblto_plugin.so: wrong ELF class: ELFCLASS32 collect2: error: ld returned 1 exit status make[3]: *** [Makefile:995: libgcc_s.so] Error 1 make[3]: Leaving directory '/opt/notnfs/aldyh/bld/t/i686-linux/libgcc' make[2]: *** [Makefile:19008: all-stage2-target-libgcc] Error 2 make[2]: Leaving directory '/opt/notnfs/aldyh/bld/t' make[1]: *** [Makefile:23280: stage2-bubble] Error 2 Is there a way to reproduce this on an x86-64 system?