coreboot-kgpe-d16/util/crossgcc/patches
Masanori Ogino 33f64b5d78 crossgcc: Fix libcpp to address -Wformat-security
On some systems where the system compiler enables `-Wformat-security
-Werror=format-security` options by default, building libcpp fails
because the code passes a variable directly as a format string.

This change addresses this problem by patching the affected code.

Tested with the default compiler of Nixpkgs unstable, GCC 9.3.0 with the
options described above enabled by default.

Signed-off-by: Masanori Ogino <mogino@acm.org>
Change-Id: Ibf3c9e79ce10cd400c9f7ea40dd6de1ab81b50e2
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45311
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2020-09-14 07:11:59 +00:00
..
acpica-unix2-20200717_iasl.patch crossgcc: Upgrade IASL to version 20200717 2020-08-17 07:07:33 +00:00
binutils-2.35_as-ipxe.patch crossgcc: Upgrade binutils to version 2.35 2020-08-17 07:05:11 +00:00
binutils-2.35_mips-gold.patch crossgcc: Upgrade binutils to version 2.35 2020-08-17 07:05:11 +00:00
binutils-2.35_no-bfd-doc.patch crossgcc: Upgrade binutils to version 2.35 2020-08-17 07:05:11 +00:00
binutils-2.35_no-makeinfo.patch crossgcc: Upgrade binutils to version 2.35 2020-08-17 07:05:11 +00:00
gcc-8.3.0_ada-musl_workaround.patch
gcc-8.3.0_asan_shadow_offset_callback.patch crossgcc: Enable GCC to get asan shadow offset at runtime 2020-08-17 09:03:19 +00:00
gcc-8.3.0_gnat-bad_constant.patch
gcc-8.3.0_gnat.patch
gcc-8.3.0_gnat_eh.patch
gcc-8.3.0_libcpp.patch crossgcc: Fix libcpp to address -Wformat-security 2020-09-14 07:11:59 +00:00
gcc-8.3.0_libgcc.patch
gcc-8.3.0_nds32_ite.patch
gdb-9.2_amd64.patch crossgcc: Upgrade GDB to version 9.2 2020-06-17 16:32:05 +00:00
gdb-9.2_no-doc.patch crossgcc: Upgrade GDB to version 9.2 2020-06-17 16:32:05 +00:00
gdb-9.2_pythonhome.patch crossgcc: Upgrade GDB to version 9.2 2020-06-17 16:32:05 +00:00
gmp-6.2.0_generic-build.patch crossgcc: Ensure that GMP is built for a generic CPU on x86 2020-09-03 18:47:09 +00:00