public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/110684] New: unknown spec function ‘dumps’ error, C compiler cannot create executables
@ 2023-07-16 15:09 alexei_sylver1 at mail dot ru
  2023-07-16 15:11 ` [Bug other/110684] " alexei_sylver1 at mail dot ru
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-16 15:09 UTC (permalink / raw)
  To: gcc-bugs

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?

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-07-28 23:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-16 15:09 [Bug other/110684] New: unknown spec function ‘dumps’ error, C compiler cannot create executables alexei_sylver1 at mail dot ru
2023-07-16 15:11 ` [Bug other/110684] " alexei_sylver1 at mail dot ru
2023-07-16 15:14 ` alexei_sylver1 at mail dot ru
2023-07-16 15:16 ` alexei_sylver1 at mail dot ru
2023-07-16 15:18 ` alexei_sylver1 at mail dot ru
2023-07-16 17:08 ` pinskia at gcc dot gnu.org
2023-07-17 11:51 ` [Bug bootstrap/110684] " alexei_sylver1 at mail dot ru
2023-07-22  7:57 ` alexei_sylver1 at mail dot ru
2023-07-22  8:02 ` alexei_sylver1 at mail dot ru
2023-07-22  8:03 ` alexei_sylver1 at mail dot ru
2023-07-22  8:11 ` alexei_sylver1 at mail dot ru
2023-07-22  8:11 ` alexei_sylver1 at mail dot ru
2023-07-22  8:14 ` alexei_sylver1 at mail dot ru
2023-07-22  8:15 ` alexei_sylver1 at mail dot ru
2023-07-22  8:22 ` alexei_sylver1 at mail dot ru
2023-07-22  8:27 ` alexei_sylver1 at mail dot ru
2023-07-28 16:47 ` alexei_sylver1 at mail dot ru
2023-07-28 23:52 ` alexei_sylver1 at mail dot ru

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).