[klibc] [kvm-unit-tests PATCH v3 0/4] Update patch set

Bill Wendling morbo at google.com
Sun Mar 29 04:38:29 PDT 2020


- Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT.
- Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc.
- Remove "dash" warning fixes which have been upstreamed.
- Conditionalize the inclusion of compiler flags by using the proper
  compiler name or "cc-option".
- Added "-Werror" to "cc-option" to catch flags that cause warnings.
- Retain "-nostdinc -iwithprefix include" and use the proper clang flag
  to get the path to find "stdarg.h".
- Move "-fno-builtin-bcmp" to KLIBCREQFLAGS in scripts/Kbuild.klibc.

Bill Wendling (4):
  [klibc] Kbuild: add support for clang builds
  [klibc] Kbuild: support clang's lld
  [klibc] Kbuild: Add "-fcommon" for clang builds
  [klibc] Clean up clang warnings

 Makefile                       |  3 +++
 scripts/Kbuild.include         |  8 ++++++--
 scripts/Kbuild.klibc           | 14 ++++++++++----
 usr/kinit/initrd.c             |  2 +-
 usr/kinit/ramdisk_load.c       |  2 +-
 usr/klibc/Kbuild               |  4 ++--
 usr/klibc/arch/i386/MCONFIG    |  2 +-
 usr/klibc/arch/mips64/MCONFIG  |  5 +++--
 usr/klibc/arch/ppc/MCONFIG     |  2 +-
 usr/klibc/arch/ppc64/MCONFIG   |  2 +-
 usr/klibc/arch/riscv64/MCONFIG |  2 +-
 usr/klibc/arch/sparc64/MCONFIG |  2 +-
 usr/klibc/arch/x86_64/MCONFIG  |  8 +++++---
 13 files changed, 36 insertions(+), 20 deletions(-)

-- 
2.26.0.rc2.310.g2932bb562d-goog



More information about the klibc mailing list