https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100074
Bug ID: 100074 Summary: build fails for libgcc with --without-headers and --with-newlib Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- cannot compute suffix of object files: cannot compile ../../gcc/configure --disable-nls --disable-bootstrap --disable-hosted-libstdcxx --disable-werror --with-newlib --target=x86_64-elf --prefix=$PREFIX --without-headers --disable-libstdcxx-verbose --enable-languages=c,c++ --disable-libquadmath --disable-libssp --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-elf --with-newlib --disable-shared checking for x86_64-elf-gcc... /home/unlvs/gcc_elf_freestanding/gcc/./gcc/xgcc -B/home/unlvs/gcc_elf_freestanding/gcc/./gcc/ -B/d/cross_toolchains/x86_64-elf/x86_64-elf/bin/ -B/d/cross_toolchains/x86_64-elf/x86_64-elf/lib/ -isystem /d/cross_toolchains/x86_64-elf/x86_64-elf/include -isystem /d/cross_toolchains/x86_64-elf/x86_64-elf/sys-include checking for suffix of object files... configure: error: in `/home/unlvs/gcc_elf_freestanding/gcc/x86_64-elf/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details make[1]: *** [Makefile:14336: configure-target-libgcc] Error 1 make[1]: Leaving directory '/home/unlvs/gcc_elf_freestanding/gcc' make: *** [Makefile:979: all] Error 2