All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre McCurdy <armccurdy@gmail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 2/2] apr/apr-util: Add ptest dependency on libgcc
Date: Mon, 20 May 2019 11:57:14 -0700	[thread overview]
Message-ID: <CAJ86T=WLB8HGdDC-YEOvAp7zdB77Es-QhbQs10c0kXeHPP3v7A@mail.gmail.com> (raw)
In-Reply-To: <4744125d-7cce-3325-414b-f05c5fe01a52@gmail.com>

On Mon, May 20, 2019 at 11:43 AM Khem Raj <raj.khem@gmail.com> wrote:
> On 5/16/19 4:49 AM, Richard Purdie wrote:
> > Avoid:
> >
> > libgcc_s.so.1 must be installed for pthread_cancel to work
> >
> > when running the ptest without libgcc.
>
> this is interesting, do we get this error explicitly from running some
> tests ?
>
> I wonder why libgcc is not detected during rdep calculation time.

Other questions... why does it only affect ptest and not other use
cases? Is calling dlopen() on libgcc glibc specific? If so, perhaps a
better fix would be to add the rdep to the glibc pthreads library?

> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> >   meta/recipes-support/apr/apr-util_1.6.1.bb | 1 +
> >   meta/recipes-support/apr/apr_1.7.0.bb      | 2 ++
> >   2 files changed, 3 insertions(+)
> >
> > diff --git a/meta/recipes-support/apr/apr-util_1.6.1.bb b/meta/recipes-support/apr/apr-util_1.6.1.bb
> > index 0c90f8d2527..1f9fea25d87 100644
> > --- a/meta/recipes-support/apr/apr-util_1.6.1.bb
> > +++ b/meta/recipes-support/apr/apr-util_1.6.1.bb
> > @@ -79,6 +79,7 @@ INSANE_SKIP_${PN} += "dev-so"
> >   inherit ptest
> >
> >   RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-iso8859-1 glibc-gconv-iso8859-2 glibc-gconv-utf-7"
> > +RDEPENDS_${PN}-ptest += "libgcc"
> >
> >   do_compile_ptest() {
> >       cd ${B}/test
> > diff --git a/meta/recipes-support/apr/apr_1.7.0.bb b/meta/recipes-support/apr/apr_1.7.0.bb
> > index a58651d0774..09a65bfdd68 100644
> > --- a/meta/recipes-support/apr/apr_1.7.0.bb
> > +++ b/meta/recipes-support/apr/apr_1.7.0.bb
> > @@ -53,6 +53,8 @@ do_configure_prepend() {
> >   FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*"
> >   RDEPENDS_${PN}-dev += "bash"
> >
> > +RDEPENDS_${PN}-ptest += "libgcc"
> > +
> >   #for some reason, build/libtool.m4 handled by buildconf still be overwritten
> >   #when autoconf, so handle it again.
> >   do_configure_append() {
> >
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


  reply	other threads:[~2019-05-20 18:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-16 11:49 [PATCH 1/2] gettext/flex/m4/bzip2/gzip/parted/slang/attr: Add make to -ptest packages Richard Purdie
2019-05-16 11:49 ` [PATCH 2/2] apr/apr-util: Add ptest dependency on libgcc Richard Purdie
2019-05-20 18:43   ` Khem Raj
2019-05-20 18:57     ` Andre McCurdy [this message]
2019-05-21 12:28     ` richard.purdie
2019-05-21 17:25       ` Khem Raj

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='CAJ86T=WLB8HGdDC-YEOvAp7zdB77Es-QhbQs10c0kXeHPP3v7A@mail.gmail.com' \
    --to=armccurdy@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.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.