[OE-core] [PATCH] libunwind: Enable building static archive on musl

Khem Raj raj.khem at gmail.com
Thu Dec 6 15:45:13 UTC 2018


Yes, they are. But for musl libunwind static lib is required for rust
runtime to build all the time static or not

On Thu, Dec 6, 2018 at 3:49 AM Burton, Ross <ross.burton at intel.com> wrote:

> Presumably static archives are disabled by the no-static-libs include.
> So is this really musl-specific?
>
> Ross
> On Thu, 6 Dec 2018 at 00:08, Khem Raj <raj.khem at gmail.com> wrote:
> >
> > This ensures that we have .a for libunwind on musl targets, this is used
> > for stack unwinding infra e.g. in rust
> >
> > Help compiling rust compiler and standard library from meta-rust
> >
> > Signed-off-by: Khem Raj <raj.khem at gmail.com>
> > ---
> >  meta/recipes-support/libunwind/libunwind_1.2.1.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-support/libunwind/libunwind_1.2.1.bb
> b/meta/recipes-support/libunwind/libunwind_1.2.1.bb
> > index e7fb2b2190..c9239b695e 100644
> > --- a/meta/recipes-support/libunwind/libunwind_1.2.1.bb
> > +++ b/meta/recipes-support/libunwind/libunwind_1.2.1.bb
> > @@ -14,7 +14,7 @@ SRC_URI = "
> http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV
> >             "
> >
> >  SRC_URI_append_libc-musl = " file://musl-header-conflict.patch"
> > -EXTRA_OECONF_append_libc-musl = " --disable-documentation
> --disable-tests "
> > +EXTRA_OECONF_append_libc-musl = " --disable-documentation
> --disable-tests --enable-static"
> >
> >  # http://errors.yoctoproject.org/Errors/Details/20487/
> >  ARM_INSTRUCTION_SET_armv4 = "arm"
> > --
> > 2.19.2
> >
> > --
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181206/4d9d0a0c/attachment.html>


More information about the Openembedded-core mailing list