https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684
Bug ID: 110684 Summary: unknown spec function ‘dumps’ error, C compiler cannot create executables Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: alexei_sylver1 at mail dot ru Target Milestone: --- Created attachment 55553 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55553&action=edit dumps error description In short: install -v -d mybuild && cd mybuild ../configure --prefix=/tools/gcc-12.2.0 --without-build-config LD=ld --enable-libssp --enable-bootstrap --enable-lto --with-isl=/usr/local --with-mpc=/usr/local --with-mpfr=/usr/local --with-gmp=/usr/local --with-system-zlib --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-gcov --enable-languages=c,c++,fortran,objc,obj-c++,jit,go --enable-host-shared --disable-multilib --enable-shared after some time I have got error g++: fatal error: unknown spec function ‘dumps’ compilation terminated. (file 1 attached) I have found nothing about fixing 'dumps' err After that I found at stackoverflow, that if to unset global variables, it can help to continue (https://stackoverflow.com/questions/75548412/without-unset-compiling-gcc-on-crostini-fails-with-unknown-spec-function-dumps) so I ran unset LIBRARY_PATH CPATH C_INCLUDE_PATH PKG_CONFIG_PATH CPLUS_INCLUDE_PATH INCLUDE LD_LIBRARY_PATH make and compilation was going sufficient time, stage was completed mybuild/config.log attached), but suddenly I have got error configure:2630: error: in `/home/alexei/build/gcc-12.2.0/mybuild/intl': configure:2632: error: C compiler cannot create executables config.log from mybuild/intl attached also very many variables in this file are empty How to help compiler fine xgcc and continue?