2
1
Fork 0
mirror of https://git.savannah.gnu.org/git/gnuboot.git synced 2025-01-06 16:27:40 +01:00
gnuboot/resources/coreboot/fam15h_rdimm/patches
Adrien 'neox' Bourmault 0d77d99d23
coreboot/fam15h: fixing binutils not building properly
Without that fix, if we build for a fam15h target on PureOS byzantium,
we have a build failure:

	$ ./build boot roms kgpe-d16-udimm_2mb
	  [...]
	  Building MPC v1.1.0 for host ... ok
	  Building BINUTILS v2.32 for target ... failed. Check 'build-i386-elf-BINUTILS/build.log
	  make[2]: *** [Makefile:26: build_gcc] Error 1
	  make[1]: *** [Makefile:51: build-i386] Error 2
	  make: *** [util/crossgcc/Makefile.inc:48: crossgcc-i386] Error 2
	  Error: build/roms: something went wrong

Then the build log (here) in available in
coreboot/fam15h_udimm/util/crossgcc/build-i386-elf-BINUTILS/build.log
has the following:
	In file included from ../../binutils-2.32/gold/debug.h:29,
        	         from ../../binutils-2.32/gold/descriptors.cc:31:
	../../binutils-2.32/gold/errors.h:87:50: error:
	'string' in namespace 'std' does not name a type
	   87 |   undefined_symbol(const Symbol* sym, const std::string& location);
	      |                                                  ^~~~~~
	../../binutils-2.32/gold/errors.h:29:1: note: 'std::string'
	is defined in header '<string>'; did you forget to '#include <string>'?
	   28 | #include "gold-threads.h"
	  +++ |+#include <string>
	   29 |

Signed-off-by: Adrien Bourmault <neox@a-lec.org>
GNUtoo: commit message but not its title
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-08-22 21:14:49 +02:00
..
0003-Tweak-cmos-defaults-for-KCMA-D8-for-a-little-speed-b.patch libreboot! 2021-05-18 13:56:12 +01:00
0004-Do-not-use-microcode-updates-on-AMD-platforms.patch libreboot! 2021-05-18 13:56:12 +01:00
0006-asus-kgpe-d16-enable-lc_cache_partitioning-and-exper.patch libreboot! 2021-05-18 13:56:12 +01:00
0008-crossgcc-patch-binutils-2.32-for-newer-hostcc.patch coreboot/fam15h: fixing binutils not building properly 2023-08-22 21:14:49 +02:00
0010-coreboot-fam15h-use-new-upstream-for-acpica.patch coreboot/default, coreboot/fam15h: use GNU mirror for acpica 2023-08-22 21:14:24 +02:00