[oe-commits] [meta-openembedded] 01/05: klibc: Apply -no-integrated-as on mips/clang

git at git.openembedded.org git at git.openembedded.org
Sun Dec 15 05:10:34 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 69bc6ff2fb3226c28cef532ffdc79d93581fcb6b
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Fri Dec 13 22:56:35 2019 -0800

    klibc: Apply -no-integrated-as on mips/clang
    
    Fixes build error
    
    | /mnt/b/yoe/build/tmp/work/mips32r2-yoe-linux-musl/klibc/2.0.7-r0/klibc-2.0.7/usr/klibc/syscalls.pl: usr/klib
    c/syscalls/typesize.bin: magic number not found
    
    ...
    
    | usr/klibc/sigsuspend.c:8:10: fatal error: 'klibc/havesyscall.h' file not found
    | #include <klibc/havesyscall.h>
    |          ^~~~~~~~~~~~~~~~~~~~~
    | 1 error generated.
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Cc: Andrea Adami <andrea.adami at gmail.com>
---
 meta-initramfs/recipes-devtools/klibc/klibc.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-initramfs/recipes-devtools/klibc/klibc.inc b/meta-initramfs/recipes-devtools/klibc/klibc.inc
index e1afe7f..289288d 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc.inc
+++ b/meta-initramfs/recipes-devtools/klibc/klibc.inc
@@ -37,6 +37,7 @@ S = "${WORKDIR}/klibc-${PV}"
 
 OPTFLAGS = "${TUNE_CCARGS} -Os"
 OPTFLAGS_append_toolchain-clang = " -fno-builtin-bcmp"
+OPTFLAGS_append_toolchain-clang_mipsarch = " -no-integrated-as"
 
 PARALLEL_MAKE = ""
 EXTRA_OEMAKE = "'KLIBCARCH=${KLIBC_ARCH}' \

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list