From f9b5665d280faa35c6b41fe0c48a9e9e1afd634b Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sun, 5 Jun 2022 17:07:09 +0200 Subject: crossgcc/gnat.patch: Add additional gnatlib object files Newer host versions of gnatbind miss these when building the cross gnat1 and gnatbind. Tested with the following host compilers with and without bootstrapping that the resulting coreboot images of three boards stay the same: * GCC 4.9.2 (Debian) * GCC 6.3 (Debian) * GCC 7.4 (Debian) * GCC 8.3 (Debian) * GCC 9.4 (Debian) * GCC 10.2 (Debian) * GCC 12.1 (ArchLinux) Change-Id: I09c6b3cc7b15f1c505acd3ec2c1959b101d6dfb7 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/65000 Reviewed-by: Paul Menzel Reviewed-by: Elyes Haouas Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- util/crossgcc/patches/gcc-11.2.0_gnat.patch | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'util/crossgcc') diff --git a/util/crossgcc/patches/gcc-11.2.0_gnat.patch b/util/crossgcc/patches/gcc-11.2.0_gnat.patch index d249e32f8d..c22cec45d0 100644 --- a/util/crossgcc/patches/gcc-11.2.0_gnat.patch +++ b/util/crossgcc/patches/gcc-11.2.0_gnat.patch @@ -9,3 +9,33 @@ ifeq ($(TREECHECKING),) CHECKING_ADAFLAGS= else +diff -Nurp gcc-11.2.0/gcc/ada/gcc-interface/Make-lang.in gcc-11.2.0.new/gcc/ada/gcc-interface/Make-lang.in +--- gcc-11.2.0/gcc/ada/gcc-interface/Make-lang.in 2022-06-03 00:31:57.993273717 +0200 ++++ gcc-11.2.0.new/gcc/ada/gcc-interface/Make-lang.in 2022-06-03 00:30:50.214166847 +0200 +@@ -334,6 +334,7 @@ GNAT_ADA_OBJS = \ + ada/hostparm.o \ + ada/impunit.o \ + ada/inline.o \ ++ ada/libgnat/i-c.o \ + ada/libgnat/interfac.o \ + ada/itypes.o \ + ada/krunch.o \ +@@ -364,7 +365,10 @@ GNAT_ADA_OBJS = \ + ada/rtsfind.o \ + ada/libgnat/s-addope.o \ + ada/libgnat/s-addima.o \ ++ ada/libgnat/s-aotase.o \ + ada/libgnat/s-assert.o \ ++ ada/libgnat/s-atoope.o \ ++ ada/libgnat/s-atopri.o \ + ada/libgnat/s-bitops.o \ + ada/libgnat/s-carun8.o \ + ada/libgnat/s-casuti.o \ +@@ -548,6 +552,7 @@ GNATBIND_OBJS = \ + ada/hostparm.o \ + ada/init.o \ + ada/initialize.o \ ++ ada/libgnat/i-c.o \ + ada/libgnat/interfac.o \ + ada/krunch.o \ + ada/lib.o \ -- cgit v1.2.3