[llvm-dev] conflicting builtins in clang with musl (stddef.h)
David Demelier via llvm-dev
llvm-dev at lists.llvm.org
Wed Aug 7 04:43:23 PDT 2019
Le 03/08/2019 à 17:06, Khem Raj a écrit :
> you might want to look at the patches we have for webkit
>
> https://git.openembedded.org/openembedded-core/tree/meta/recipes-sato/webkit/webkitgtk
>
> especially
> https://git.openembedded.org/openembedded-core/tree/meta/recipes-sato/webkit/webkitgtk/0001-Fix-build-with-musl.patch
> https://git.openembedded.org/openembedded-core/tree/meta/recipes-sato/webkit/webkitgtk/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
Thanks, the second patch helped but there were still some -isystem here
and there. I've updated the patch to change all I've found in the tree.
http://hg.malikania.fr/vanilla/file/tip/www/webkitgtk/patch-isystem.patch
> the second patch will help solve your current problem, but there will
> be more down the line :)
>
> We have a layer for Yocto/OE which builds a linux distribution in a
> cross environment using clang + clang-runtime + musl as you are using.
> It might be useful for you
> in what you are doing. See
>
> https://github.com/kraj/meta-clang
Thanks! Very interesting.
Regards,
--
David
More information about the llvm-dev
mailing list