public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/110668] New: gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5
@ 2023-07-14 16:09 dclarke at blastwave dot org
2023-07-14 17:07 ` [Bug ada/110668] " mikpelinux at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: dclarke at blastwave dot org @ 2023-07-14 16:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668
Bug ID: 110668
Summary: gcc/ada/gcc-interface/Make-lang.in:1012:
ada/b_gnat1.adb] Error 5
Product: gcc
Version: 10.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
Assignee: unassigned at gcc dot gnu.org
Reporter: dclarke at blastwave dot org
CC: dkm at gcc dot gnu.org
Target Milestone: ---
Not sure where this arrived from however here are the particulars :
System is very off the shelf devuan/debian with a lean kernel :
d# uname -a
Linux dev 6.4.2-genunix #1 SMP PREEMPT_DYNAMIC Fri Jul 7 18:41:16 UTC 2023
x86_64 GNU/Linux
d#
Compiler used for the bootstrap :
d# which gcc
/opt/bw/gcc13/bin/gcc
d#
d# gcc --version
gcc (GENUNIX Mon Jun 26 19:37:30 UTC 2023) 13.1.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
see https://gcc.gnu.org/pipermail/gcc-testresults/2023-June/788747.html
So I suspect that compiler to be good stuff. With gnat in there also :
d# ls /opt/bw/gcc13/bin/
c++ gfortran gnatprep
cpp gnat lto-dump
g++ gnatbind x86_64-pc-linux-gnu-c++
gcc gnatchop x86_64-pc-linux-gnu-g++
gcc-ar gnatclean x86_64-pc-linux-gnu-gcc
gcc-nm gnatkr x86_64-pc-linux-gnu-gcc-13.1.0
gcc-ranlib gnatlink x86_64-pc-linux-gnu-gcc-ar
gcov gnatls x86_64-pc-linux-gnu-gcc-nm
gcov-dump gnatmake x86_64-pc-linux-gnu-gcc-ranlib
gcov-tool gnatname x86_64-pc-linux-gnu-gfortran
d#
So imagine my total surprise when configure looks so nice and the whole
compile/bootstrap takes off nicely but then falls over quickly :
d#
d# pwd
/opt/bw/build/gcc-10.5.0_linux-6.4.2_x86_64.001
d# date -u
Fri Jul 14 14:14:46 UTC 2023
d# ../gcc-10.5.0/configure --prefix=/opt/imed/gcc10 \
> --enable-languages=c,ada,c++,fortran,objc,obj-c++ \
> --enable-shared --without-included-gettext \
> --enable-threads=posix --enable-bootstrap --with-system-zlib \
> --enable-checking=misc --disable-multilib --disable-nls \
> --enable-__cxa_atexit --enable-tls \
> --with-pkgversion='GENUNIX Fri Jul 14 14:14:46 UTC 2023' 2>&1 | tee ../gcc-10.5.0_linux-6.4.2_x86_64.001.config.log
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 for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for gawk... no
checking for mawk... mawk
checking for libatomic support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for libvtv support... yes
checking for libhsail-rt support... yes
checking for libphobos support... yes
checking for gcc... /opt/bw/gcc13/bin/gcc
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 /opt/bw/gcc13/bin/gcc accepts -g... yes
checking for /opt/bw/gcc13/bin/gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether /opt/bw/gcc13/bin/g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f2
checking for objdir... .libs
configure: WARNING: using in-tree isl, disabling version check
The following languages will be built: c,ada,c++,fortran,lto,objc,obj-c++
*** This configuration is not supported in the following subdirectories:
zlib gotools target-libhsail-rt target-libphobos target-zlib target-libgo
target-libffi target-liboffloadmic
(Any other directories should still work fine.)
checking for default BUILD_CONFIG... bootstrap-debug
checking for --enable-vtable-verify... no
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for ar... ar
checking for as... as
checking for dlltool... no
checking for dsymutil... no
checking for ld... ld
checking for lipo... no
checking for nm... nm
checking for ranlib... ranlib
checking for strip... strip
checking for windres... no
checking for windmc... no
checking for objcopy... objcopy
checking for objdump... objdump
checking for otool... no
checking for readelf... readelf
checking for cc... cc
checking for c++... c++
checking for gcc... gcc
checking for gfortran... gfortran
checking for gccgo... no
checking for gdc... no
checking for ar... no
checking for ar... ar
checking for as... no
checking for as... as
checking for dlltool... no
checking for dlltool... no
checking for dsymutil... no
checking for dsymutil... no
checking for ld... no
checking for ld... ld
checking for lipo... no
checking for lipo... no
checking for nm... no
checking for nm... nm
checking for objcopy... no
checking for objcopy... objcopy
checking for objdump... no
checking for objdump... objdump
checking for otool... no
checking for otool... no
checking for ranlib... no
checking for ranlib... ranlib
checking for readelf... no
checking for readelf... readelf
checking for strip... no
checking for strip... strip
checking for windres... no
checking for windres... no
checking for windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target dsymutil... host tool
checking where to find the target gcc... just compiled
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... host tool
checking where to find the target gdc... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objcopy... host tool
checking where to find the target objdump... host tool
checking where to find the target otool... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
d#
The bootstrap ( make -j1 ) was going just fine until :
.
.
.
/opt/bw/gcc13/bin/gcc -c -g -gnatpg -gnatwns -W -Wall -nostdinc -I- -I.
-Iada/generated -Iada -I../../gcc-10.5.0/gcc/ada
-I../../gcc-10.5.0/gcc/ada/gcc-interface -Iada/libgnat
-I../../gcc-10.5.0/gcc/ada/libgnat ../../gcc-10.5.0/gcc/ada/back_end.adb -o
ada/back_end.o
mkdir -p ada/
/opt/bw/gcc13/bin/gcc -c -g -gnatpg -gnatwns -W -Wall -nostdinc -I- -I.
-Iada/generated -Iada -I../../gcc-10.5.0/gcc/ada
-I../../gcc-10.5.0/gcc/ada/gcc-interface -Iada/libgnat
-I../../gcc-10.5.0/gcc/ada/libgnat ../../gcc-10.5.0/gcc/ada/gnat1drv.adb -o
ada/gnat1drv.o
gnatbind -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-10.5.0/gcc/ada
-I../../gcc-10.5.0/gcc/ada/gcc-interface -Iada/libgnat
-I../../gcc-10.5.0/gcc/ada/libgnat -o b_gnat1.adb -n ada/gnat1drv.ali
error: "s-aotase.adb" must be recompiled ("interfac.ads" has been modified)
error: "s-atoope.ads" must be recompiled ("system.ads" has been modified)
error: "s-atopri.adb" must be recompiled ("interfac.ads" has been modified)
error: "i-c.adb" must be recompiled ("a-except.ads" has been modified)
make[3]: *** [../../gcc-10.5.0/gcc/ada/gcc-interface/Make-lang.in:1012:
ada/b_gnat1.adb] Error 5
make[3]: Leaving directory
'/opt/bw/build/gcc-10.5.0_linux-6.4.2_x86_64.001/gcc'
make[2]: *** [Makefile:4764: all-stage1-gcc] Error 2
make[2]: Leaving directory '/opt/bw/build/gcc-10.5.0_linux-6.4.2_x86_64.001'
make[1]: *** [Makefile:27859: stage1-bubble] Error 2
make[1]: Leaving directory '/opt/bw/build/gcc-10.5.0_linux-6.4.2_x86_64.001'
make: *** [Makefile:28472: bootstrap4] Error 2
So, did not even get into stage 1 very far before something blew up.
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/110668] gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5
2023-07-14 16:09 [Bug ada/110668] New: gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5 dclarke at blastwave dot org
@ 2023-07-14 17:07 ` mikpelinux at gmail dot com
2023-07-14 17:16 ` dclarke at blastwave dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: mikpelinux at gmail dot com @ 2023-07-14 17:07 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668
Mikael Pettersson <mikpelinux at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mikpelinux at gmail dot com
--- Comment #1 from Mikael Pettersson <mikpelinux at gmail dot com> ---
Ada only supports being built by the same or older releases, while you're
trying to bootstrap gcc-10.5 using gcc-13.1. That won't work in general. (For
Canadian crosses it must be the exact same version.)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/110668] gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5
2023-07-14 16:09 [Bug ada/110668] New: gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5 dclarke at blastwave dot org
2023-07-14 17:07 ` [Bug ada/110668] " mikpelinux at gmail dot com
@ 2023-07-14 17:16 ` dclarke at blastwave dot org
2023-07-14 17:57 ` mikpelinux at gmail dot com
2023-07-14 18:16 ` dclarke at blastwave dot org
3 siblings, 0 replies; 5+ messages in thread
From: dclarke at blastwave dot org @ 2023-07-14 17:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668
--- Comment #2 from Dennis Clarke <dclarke at blastwave dot org> ---
Oh darn. Is this documented anywhere in the build instructions?
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/110668] gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5
2023-07-14 16:09 [Bug ada/110668] New: gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5 dclarke at blastwave dot org
2023-07-14 17:07 ` [Bug ada/110668] " mikpelinux at gmail dot com
2023-07-14 17:16 ` dclarke at blastwave dot org
@ 2023-07-14 17:57 ` mikpelinux at gmail dot com
2023-07-14 18:16 ` dclarke at blastwave dot org
3 siblings, 0 replies; 5+ messages in thread
From: mikpelinux at gmail dot com @ 2023-07-14 17:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668
--- Comment #3 from Mikael Pettersson <mikpelinux at gmail dot com> ---
https://gcc.gnu.org/install/prerequisites.html, GNAT section, 4th paragraph.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug ada/110668] gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5
2023-07-14 16:09 [Bug ada/110668] New: gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5 dclarke at blastwave dot org
` (2 preceding siblings ...)
2023-07-14 17:57 ` mikpelinux at gmail dot com
@ 2023-07-14 18:16 ` dclarke at blastwave dot org
3 siblings, 0 replies; 5+ messages in thread
From: dclarke at blastwave dot org @ 2023-07-14 18:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110668
Dennis Clarke <dclarke at blastwave dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Dennis Clarke <dclarke at blastwave dot org> ---
Lets call this invalid !
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-07-14 18:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-14 16:09 [Bug ada/110668] New: gcc/ada/gcc-interface/Make-lang.in:1012: ada/b_gnat1.adb] Error 5 dclarke at blastwave dot org
2023-07-14 17:07 ` [Bug ada/110668] " mikpelinux at gmail dot com
2023-07-14 17:16 ` dclarke at blastwave dot org
2023-07-14 17:57 ` mikpelinux at gmail dot com
2023-07-14 18:16 ` dclarke at blastwave dot org
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).