mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
libhugetlbfs: Always use ligcc for compiler runtime with clang on x86
glibc objects here expect libgcc to be linked in sadly compiler-rt does not provide all the needed function implementations e.g. __unordtf2 __letf2, __multf3, __addtf3 needed for 128 bit data types Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
ee88180afe
commit
458b297233
|
|
@ -44,6 +44,9 @@ CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0
|
|||
export HUGETLB_LDSCRIPT_PATH = "${S}/ldscripts"
|
||||
|
||||
LDFLAGS += "-B${S}"
|
||||
# glibc objects have missing symbols from libgcc that compiler-rt does not provide
|
||||
# /usr/src/debug/glibc/2.41+git/stdio-common/../stdio-common/printf_fphex.c:123:(.text+0x77): undefined reference to `__unordtf2'
|
||||
LDFLAGS:append:libc-glibc:toolchain-clang:x86 = " --rtlib=libgcc --unwindlib=libgcc"
|
||||
|
||||
inherit autotools-brokensep
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user