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

* [Bug other/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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 ` alexei_sylver1 at mail dot ru
  2023-07-16 15:14 ` alexei_sylver1 at mail dot ru
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-16 15:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #1 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55554
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55554&action=edit
stage1 success config.log

mybuild/config.log at successful stage1

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

* [Bug other/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-16 15:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #2 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55555
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55555&action=edit
C cannot find libraries from stage1 (they are in prev-  folders)

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

* [Bug other/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-16 15:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #3 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55556
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55556&action=edit
My system - Linux Mint

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

* [Bug other/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (2 preceding siblings ...)
  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
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-16 15:18 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #4 from AlexK <alexei_sylver1 at mail dot ru> ---
where in Makefile gcc copies compiled libs from prev-* stage1 to lib* in stage2
?

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

* [Bug other/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (3 preceding siblings ...)
  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
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-16 17:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>--enable-host-shared

Why are you using that option?

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (4 preceding siblings ...)
  2023-07-16 17:08 ` pinskia at gcc dot gnu.org
@ 2023-07-17 11:51 ` alexei_sylver1 at mail dot ru
  2023-07-22  7:57 ` alexei_sylver1 at mail dot ru
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-17 11:51 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #6 from AlexK <alexei_sylver1 at mail dot ru> ---
I don't know, I copied it from somewhere
I want to compile gcc on x86_64 Linux Mint

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (5 preceding siblings ...)
  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
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  7:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #7 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55601
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55601&action=edit
applyed patch for Makefile.in to configure with --enable-shared and without
--enable-static options

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (6 preceding siblings ...)
  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
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  8:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #8 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55602
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55602&action=edit
applyed patch for libgcc/Makefile.in to make shared library

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (7 preceding siblings ...)
  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
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  8:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #9 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55603
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55603&action=edit
applyed patch for libiberty/Makefile.in to make shared library

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (8 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  8:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #10 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55604
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55604&action=edit
applyed patch for libdecnumber/Makefile.in to make shared library

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (9 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  8:11 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #11 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55605
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55605&action=edit
applyed patch for libcody/Makefile.in to make shared library

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (10 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  8:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #12 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55606
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55606&action=edit
applyed patch for libbacktrace/Makefile.in to make shared library

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (11 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  8:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #13 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55607
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55607&action=edit
applyed patch for libcpp/Makefile.in to make shared library

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (12 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  8:22 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #14 from AlexK <alexei_sylver1 at mail dot ru> ---
Created attachment 55608
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55608&action=edit
applyed patch for gcc/Makefile.in to make shared library

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (13 preceding siblings ...)
  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
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-22  8:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #15 from AlexK <alexei_sylver1 at mail dot ru> ---
I have attached all patches I have made to several Makefile.in in different
folders (I created them with `diff` tool)
after that I made building directory:

installdir=/tools/gcc-12.2.0
install -v -d mybuild
cd mybuild
../configure --prefix="$installdir"  --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

a few changes to Makefile:
sed -i 's/^\(@endif bfd\)$/#\1/' Makefile
sed -i 's/^\(@endif opcodes\)$/#\1/' Makefile


# !!!
https://stackru.com/questions/63879492/bez-sbrosa-kompilyatsiya-gcc-na-crostini-zavershaetsya-s-oshibkoj-s-neizvestnoj
unset LIBRARY_PATH CPATH C_INCLUDE_PATH PKG_CONFIG_PATH CPLUS_INCLUDE_PATH
INCLUDE LD_LIBRARY_PATH

make

....

stage1 was successfully finished

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (14 preceding siblings ...)
  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
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-28 16:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #16 from AlexK <alexei_sylver1 at mail dot ru> ---
I have copied already compileed shared libs into new directories:
cp -v prev-libcpp/libcpp.so libcpp/
cp -v prev-libbacktrace/libbacktrace.so libbacktrace/
cp -v prev-libdecnumber/libdecnumber.so libdecnumber/

and continue: make

Configuring stage 2 in ./gcc
configure: loading cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking whether to place generated files in the source directory... no
checking whether a default linker was specified... no
checking whether a default dsymutil was specified... no
checking whether a default assembler was specified... no
checking for x86_64-pc-linux-gnu-gcc... 
/home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/xgcc
-B/home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/bin/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/bin/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/lib/ -isystem
/tools/gcc-12.2.0/x86_64-pc-linux-gnu/include -isystem
/tools/gcc-12.2.0/x86_64-pc-linux-gnu/sys-include   -fno-checking
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether  /home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/xgcc
-B/home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/bin/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/bin/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/lib/ -isystem
/tools/gcc-12.2.0/x86_64-pc-linux-gnu/include -isystem
/tools/gcc-12.2.0/x86_64-pc-linux-gnu/sys-include   -fno-checking accepts -g...
yes
checking for  /home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/xgcc
-B/home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/bin/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/bin/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/lib/ -isystem
/tools/gcc-12.2.0/x86_64-pc-linux-gnu/include -isystem
/tools/gcc-12.2.0/x86_64-pc-linux-gnu/sys-include   -fno-checking option to
accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... no
checking whether  /home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/xg++
-B/home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/bin/ -nostdinc++
-B/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu

-I/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
 -I/home/alexei/build/gcc-12.2.0/libstdc++-v3/libsupc++
-L/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
accepts -g... no
checking for x86_64-pc-linux-gnu-gnatbind...
/home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/gnatbind
checking for x86_64-pc-linux-gnu-gnatmake... gnatmake
checking whether compiler driver understands Ada... no
checking for x86_64-pc-linux-gnu-gdc...
/home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/gdc
-B/home/alexei/build/gcc-12.2.0/mybuild/./prev-gcc/
-B/tools/gcc-12.2.0/x86_64-pc-linux-gnu/bin/ -O2 -g
-B/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libphobos/libdruntime/gcc
-B/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libphobos/src
-B/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libphobos/src/.libs
-I/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libphobos/libdruntime
-I/home/alexei/build/gcc-12.2.0/libphobos/libdruntime
-L/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libphobos/src/.libs
-B/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/home/alexei/build/gcc-12.2.0/mybuild/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
checking whether the D compiler works... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/home/alexei/build/gcc-12.2.0/mybuild/gcc':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
make[2]: *** [Makefile:4693: configure-stage2-gcc] Ошибка 1
make[2]: выход из каталога «/mnt/Git/apt-build/build/gcc-12.2.0/mybuild»
make[1]: *** [Makefile:27162: stage2-bubble] Ошибка 2
make[1]: выход из каталога «/mnt/Git/apt-build/build/gcc-12.2.0/mybuild»
make: *** [Makefile:1072: all] Error 2

I have GNAT in /opt/GNAT/2021
and
LD_LIBRARY_PATH=/opt/GNAT/2021/lib64:/home/alexei/build/gcc-12.2.0/mybuild/prev-gcc:/usr/local/lib:/usr/local/lib/x86_64-linux-gnu:/home/alexei/.local/lib:/usr/lib:/usr/lib/x86_64-linux-gnu

there is no gdc in compiled prev-gcc directory
I didn't define ada in lang list, and why compiler doesn't understands Ada

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

* [Bug bootstrap/110684] unknown spec function ‘dumps’ error, C compiler cannot create executables
  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
                   ` (15 preceding siblings ...)
  2023-07-28 16:47 ` alexei_sylver1 at mail dot ru
@ 2023-07-28 23:52 ` alexei_sylver1 at mail dot ru
  16 siblings, 0 replies; 18+ messages in thread
From: alexei_sylver1 at mail dot ru @ 2023-07-28 23:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110684

--- Comment #17 from AlexK <alexei_sylver1 at mail dot ru> ---
to continue I should add line
cp -v prev-libcody/libcody.so libccody/

but why there are so many static libs in prev- directories ?
my patches didn't cancel all them ...

^ 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).