Displaying 2 results from an estimated 2 matches for "46d29985bfd6".
2020 Mar 27
1
[PATCH v2 4/5] Kbuild: Add "-fcommon" for clang builds
...errors because of
duplicate symbols in the BSS section.
Signed-off-by: Bill Wendling <morbo at google.com>
---
usr/klibc/arch/x86_64/MCONFIG | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/klibc/arch/x86_64/MCONFIG b/usr/klibc/arch/x86_64/MCONFIG
index a6ba7c85c68b..46d29985bfd6 100644
--- a/usr/klibc/arch/x86_64/MCONFIG
+++ b/usr/klibc/arch/x86_64/MCONFIG
@@ -27,7 +27,7 @@ ifneq ($(cc-name),clang)
# so we can't use a cc-option test to filter them.
KLIBCOPTFLAGS += -falign-functions=1 -falign-jumps=1 -falign-loops=1
else
-KLIBCOPTFLAGS += -fno-builtin-bcmp
+...
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: