search for: 411d7ea9bea6

Displaying 4 results from an estimated 4 matches for "411d7ea9bea6".

2020 Mar 27
3
[PATCH v2 3/5] Kbuild: use "libc.a" with clang
...o prevent clang 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)...
2020 Mar 28
0
[PATCH v2 3/5] Kbuild: use "libc.a" with clang
...ed for KLIBCLIBGCC_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) $...
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:
2020 Mar 27
2
[PATCH v2 1/5] Kbuild: add support for clang builds
...C) -v 2>&1 | grep -q "clang version" && echo clang || echo gcc) + # cc-version # Usage gcc-ver := $(call cc-version) cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC)) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index afc9a546feca..411d7ea9bea6 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -107,8 +107,15 @@ KLIBCOBJCOPY := $(OBJCOPY) KLIBCOBJDUMP := $(OBJDUMP) # klibc include paths -KLIBCCPPFLAGS := -nostdinc -iwithprefix include \ - -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \ +ifeq ($(cc-name),clang) +# cla...