diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-10-24 22:27:34 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-10-26 07:11:25 -0700 |
commit | 957864d3ad15456ab9eb474c43a0e6add8e0df70 (patch) | |
tree | e3c02608b88f6f36fba8e95101f6166b59350b2f /conf | |
parent | f765d4bfdd0e5f820d48c3c8e0b02c5dc7b62f53 (diff) | |
download | meta-clang-957864d3ad15456ab9eb474c43a0e6add8e0df70.tar.gz |
mybw: Use libgcc to link on x86_64
Fixes
x86_64-yoe-linux-ld: /usr/src/debug/glibc/2.36-r0/stdio-common/printf_fphex.c:198: undefined reference to `__letf2'
since compiler-rt does not provide the 'tf' functions
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/nonclangable.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index a088a13..62ce7f6 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -264,6 +264,7 @@ COMPILER_RT:pn-libc-bench:libc-glibc:toolchain-clang:x86 = "-rtlib=libgcc --unwi | |||
264 | COMPILER_RT:pn-fmt:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | 264 | COMPILER_RT:pn-fmt:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" |
265 | COMPILER_RT:pn-fmt:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | 265 | COMPILER_RT:pn-fmt:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" |
266 | COMPILER_RT:pn-mybw:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | 266 | COMPILER_RT:pn-mybw:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" |
267 | COMPILER_RT:pn-mybw:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
267 | COMPILER_RT:pn-libc-bench:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | 268 | COMPILER_RT:pn-libc-bench:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" |
268 | COMPILER_RT:pn-mpich:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | 269 | COMPILER_RT:pn-mpich:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" |
269 | COMPILER_RT:pn-aufs-util:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | 270 | COMPILER_RT:pn-aufs-util:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" |
@@ -312,6 +313,7 @@ OBJCOPY:pn-gosu:mips:toolchain-clang = "${HOST_PREFIX}objcopy" | |||
312 | # mips-yoe-linux-llvm-objcopy: error: Link field value 42 in section .rel.dyn is not a symbol table | 313 | # mips-yoe-linux-llvm-objcopy: error: Link field value 42 in section .rel.dyn is not a symbol table |
313 | OBJCOPY:pn-mybw:mips:toolchain-clang = "${HOST_PREFIX}objcopy" | 314 | OBJCOPY:pn-mybw:mips:toolchain-clang = "${HOST_PREFIX}objcopy" |
314 | OBJCOPY:pn-mybw:x86:toolchain-clang = "${HOST_PREFIX}objcopy" | 315 | OBJCOPY:pn-mybw:x86:toolchain-clang = "${HOST_PREFIX}objcopy" |
316 | OBJCOPY:pn-mybw:x86-64:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
315 | 317 | ||
316 | # Fails with llvm strip | 318 | # Fails with llvm strip |
317 | # i686-yoe-linux-llvm-strip: error: SHT_STRTAB string table section [index 9] is non-null terminated | 319 | # i686-yoe-linux-llvm-strip: error: SHT_STRTAB string table section [index 9] is non-null terminated |