[oe] [meta-clang][PATCH] clang: Fix sigsegv of llvm-config on the target

Khem Raj raj.khem at gmail.com
Wed May 30 15:13:43 UTC 2018


On Wed, May 30, 2018 at 1:51 AM Ricardo Ribalda Delgado <
ricardo.ribalda at gmail.com> wrote:

> Sorry for the spam. The SOB is missing this this patch. Shall I resend?


It would be good if you sent a pull request on GitHub

>
> On Wed, May 30, 2018 at 10:49 AM Ricardo Ribalda Delgado <
> ricardo.ribalda at gmail.com> wrote:
>
> > llvm-config is, by default, broken by the SSTATE_SCAN_CMD. This patch
> > removes llvm-config from SSTATE_SCAN_FILES.
> > ---
> >   recipes-devtools/clang/clang_git.bb | 3 +++
> >   1 file changed, 3 insertions(+)
>
> > diff --git a/recipes-devtools/clang/clang_git.bb
> b/recipes-devtools/clang/
> clang_git.bb
> > index 5730b9b..3e2d2c7 100644
> > --- a/recipes-devtools/clang/clang_git.bb
> > +++ b/recipes-devtools/clang/clang_git.bb
> > @@ -158,3 +158,6 @@ FILES_${PN}-dev += "\
>
> >   INSANE_SKIP_${PN} += "already-stripped"
> >   INSANE_SKIP_${PN}-dev += "dev-elf"
> > +
> > +#Avoid SSTATE_SCAN_COMMAND running sed over llvm-config.
> > +SSTATE_SCAN_FILES_remove = "*-config"
> > --
> > 2.17.0
>
>
>
> --
> Ricardo Ribalda
>



More information about the Openembedded-devel mailing list