> I've been unable to build ada on my fedora box since:

Yes, Jakub mentioned it yesterday and I've sent him a potential patch, I
was waiting for his feedback.

I've now committed it blindly (can't make things worse), let me know if the
problem is fully solved or if not, what output you are now getting.

--
commit 452321a9514a0ab4c01c0aba2a37de794cf69ef8
Author: Arnaud Charlet <char...@adacore.com>
Date:   Wed Jun 16 03:55:17 2021 -0400

    [Ada] Use runtime from base compiler during stage1 (continued)

    gcc/ada/

        * gcc-interface/Make-lang.in: Use libgnat.so if libgnat.a cannot
        be found.

diff --git a/gcc/ada/gcc-interface/Make-lang.in 
b/gcc/ada/gcc-interface/Make-lang.in
index 896e760..b68081e 100644
--- a/gcc/ada/gcc-interface/Make-lang.in
+++ b/gcc/ada/gcc-interface/Make-lang.in
@@ -87,7 +87,8 @@ endif

 ifeq ($(STAGE1),True)
   ADA_INCLUDES=$(COMMON_ADA_INCLUDES)
-  GNATLIB=$(dir $(shell $(CC) -print-libgcc-file-name))adalib/libgnat.a 
$(STAGE1_LIBS)
+  adalib=$(dir $(shell $(CC) -print-libgcc-file-name))adalib
+  GNATLIB=$(adalib)/$(if $(wildcard $(adalib)/libgnat.a),libgnat.a,libgnat.so) 
$(STAGE1_LIBS)
 else
   ADA_INCLUDES=-nostdinc $(COMMON_ADA_INCLUDES) -Iada/libgnat 
-I$(srcdir)/ada/libgnat -Iada/gcc-interface -I$(srcdir)/ada/gcc-interface
 endif

Reply via email to