public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "alexei_sylver1 at mail dot ru" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/110684] New: unknown spec function ‘dumps’ error, C compiler cannot create executables
Date: Sun, 16 Jul 2023 15:09:37 +0000	[thread overview]
Message-ID: <bug-110684-4@http.gcc.gnu.org/bugzilla/> (raw)

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?

             reply	other threads:[~2023-07-16 15:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-16 15:09 alexei_sylver1 at mail dot ru [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-110684-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).