From: "Khem Raj" <raj.khem@gmail.com>
To: Ross Burton <ross@burtonini.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH] glibc: package the stub .a libaries into glibc-dev
Date: Tue, 17 Aug 2021 17:40:15 -0700 [thread overview]
Message-ID: <CAMKF1soAhzSgaYfuJarzoj6VEkAwcm1+51ymGprGwB=Sn53XZw@mail.gmail.com> (raw)
In-Reply-To: <CAMKF1sp83v6TkKLAAMdDExij9ZceOaCGpSrp=cLPJEkQUCB-pQ@mail.gmail.com>
hmm I am seeing pseudo build failures on master-next on all arches see
[1]. I wonder if this is related
https://errors.yoctoproject.org/Errors/Details/601473/
On Tue, Aug 17, 2021 at 4:46 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Tue, Aug 17, 2021 at 3:29 PM Ross Burton <ross@burtonini.com> wrote:
> >
> > In glibc 2.34, the libraries libpthread, libdl, libutil, libanl have
> > been integrated into libc. To retain compatibility with old binaries the
> > shared libaries are still shipped but are empty, and to keep software
> > building there are empty static libraries.
> >
> > However, these static libraries get packaged into glibc-staticdev (as
> > they should be), but by this design they should be in glibc-dev.
> >
> > https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
> >
>
> this patch is ok.
>
> > Signed-off-by: Ross Burton <ross.burton@arm.com>
> > ---
> > meta/recipes-core/glibc/glibc-package.inc | 3 ++-
> > 1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/meta/recipes-core/glibc/glibc-package.inc b/meta/recipes-core/glibc/glibc-package.inc
> > index 3026aec9b6f..56fbf8b08ce 100644
> > --- a/meta/recipes-core/glibc/glibc-package.inc
> > +++ b/meta/recipes-core/glibc/glibc-package.inc
> > @@ -22,6 +22,7 @@ ARCH_DYNAMIC_LOADER = ""
> > ARCH_DYNAMIC_LOADER:aarch64 = "ld-linux-${TARGET_ARCH}.so.1"
> > libc_baselibs:append = " ${@oe.utils.conditional('ARCH_DYNAMIC_LOADER', '', '', '${root_prefix}/lib/${ARCH_DYNAMIC_LOADER}', d)}"
> > INSANE_SKIP:${PN}:append:aarch64 = " libdir"
> > +INSANE_SKIP:${PN}-dev += "staticdev"
> >
> > FILES:${PN} = "${libc_baselibs} ${libexecdir}/* ${sysconfdir}/ld.so.conf"
> > RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'ldconfig', '${MLPREFIX}ldconfig', '', d)}"
> > @@ -38,7 +39,7 @@ FILES:sln = "${base_sbindir}/sln"
> > FILES:${PN}-pic = "${libdir}/*_pic.a ${libdir}/*_pic.map ${libdir}/libc_pic/*.o"
> > FILES:libsotruss = "${libdir}/audit/sotruss-lib.so"
> > FILES_SOLIBSDEV = "${libdir}/lib*${SOLIBSDEV}"
> > -FILES:${PN}-dev += "${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal"
> > +FILES:${PN}-dev += "${libdir}/libpthread.a ${libdir}/libdl.a ${libdir}/libutil.a ${libdir}/libanl.a ${libdir}/*_nonshared.a ${base_libdir}/*_nonshared.a ${base_libdir}/*.o ${datadir}/aclocal"
> > RDEPENDS:${PN}-dev = "linux-libc-headers-dev"
> > FILES:${PN}-staticdev += "${libdir}/*.a ${base_libdir}/*.a"
> > FILES:nscd = "${sbindir}/nscd* ${sysconfdir}/init.d/nscd ${systemd_unitdir}/system/nscd* ${sysconfdir}/tmpfiles.d/nscd.conf \
> > --
> > 2.32.0
> >
> >
> >
> >
next prev parent reply other threads:[~2021-08-18 0:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-17 22:29 [PATCH] glibc: package the stub .a libaries into glibc-dev Ross Burton
2021-08-17 23:46 ` [OE-core] " Khem Raj
2021-08-18 0:40 ` Khem Raj [this message]
2021-08-18 7:00 ` Richard Purdie
2021-08-18 13:42 ` Khem Raj
2021-08-18 17:16 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMKF1soAhzSgaYfuJarzoj6VEkAwcm1+51ymGprGwB=Sn53XZw@mail.gmail.com' \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross@burtonini.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.