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

Ben Hutchings ben at decadent.org.uk
Sat Jul 25 09:47:26 PDT 2020


On Sun, 2020-03-29 at 04:38 -0700, Bill Wendling wrote:
> - 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.

I'm just going to apply this series now, and we can worry about
cleaning up the FLAGS variable definitions later.

Thanks for your patience,

Ben.

> 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(-)
> 
-- 
Ben Hutchings
Anthony's Law of Force: Don't force it, get a larger hammer.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zytor.com/archives/klibc/attachments/20200725/71e3c041/attachment.sig>


More information about the klibc mailing list