coreboot-kgpe-d16/util/crossgcc
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
..
patches crossgcc: Fix libcpp to address -Wformat-security 2020-09-14 07:11:59 +00:00
sum crossgcc: Upgrade MPC to version 1.2.0 2020-08-24 09:13:44 +00:00
Dockerfile
Makefile crossgcc: Remove "Make" 2020-06-17 11:20:30 +00:00
Makefile.inc crossgcc: Remove "Make" 2020-06-17 11:20:30 +00:00
README Remove MIPS architecture 2019-11-20 10:10:48 +00:00
buildgcc crossgcc: Upgrade MPC to version 1.2.0 2020-08-24 09:13:44 +00:00
description.md
edk2tools.txt
getopt.c Add the BSD-licensed getopt tool to crossgcc, to use 2010-01-29 17:40:52 +00:00

README

README
------

This is a cross toolchain builder for -elf toolchains (ie. no libc support)

known working:
  i386-elf
  x86_64-elf
  powerpc-elf
  arm-elf
  armv7a-eabi
  aarch64-elf

known broken:
  alpha-elf
  powerpc64-elf