Displaying 3 results from an estimated 3 matches for "ba3f389626b3".
2020 Mar 27
3
[PATCH v2 3/5] Kbuild: use "libc.a" with clang
...g
from calling a function that doesn't exist.
Signed-off-by: Bill Wendling <morbo at google.com>
---
scripts/Kbuild.klibc | 2 ++
usr/klibc/arch/x86_64/MCONFIG | 2 ++
2 files changed, 4 insertions(+)
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index 411d7ea9bea6..ba3f389626b3 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -141,6 +141,8 @@ KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note
# Don't attempt to set it if we are using clang.
ifneq ($(cc-name),clang)
KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-libgcc)
+else
+KLIBCLI...
2020 Mar 28
0
[PATCH v2 3/5] Kbuild: use "libc.a" with clang
...BGCC_DEF?
> Signed-off-by: Bill Wendling <morbo at google.com>
> ---
> scripts/Kbuild.klibc | 2 ++
> usr/klibc/arch/x86_64/MCONFIG | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
> index 411d7ea9bea6..ba3f389626b3 100644
> --- a/scripts/Kbuild.klibc
> +++ b/scripts/Kbuild.klibc
> @@ -141,6 +141,8 @@ KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note
> # Don't attempt to set it if we are using clang.
> ifneq ($(cc-name),clang)
> KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS)...
2020 Mar 27
12
[PATCH 0/5] Clang compatibility patches
This is a series of patches for clang compatibility:
- Using flags needed flags and removing unsupported flags.
- Adding support for clang's LLD linker.
- Removing a variety of warnings.
Bill Wendling (3):
[klibc] Kbuild: use "libc.a" with clang
[klibc] Kbuild: Add "-fcommon" for clang builds
[klibc] Clean up clang warnings
Michael Davidson (1):
[klibc] Kbuild: