From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Martin Jansa <martin.jansa@gmail.com>,
openembedded-core@lists.openembedded.org,
"Maxin B. John" <maxin.john@intel.com>
Cc: openembedded-commits@lists.openembedded.org
Subject: Re: [oe-commits] [openembedded-core] 01/51: piglit: fix build failure with gold linker
Date: Wed, 10 Aug 2016 11:42:34 +0100 [thread overview]
Message-ID: <1470825754.18638.3.camel@linuxfoundation.org> (raw)
In-Reply-To: <20160810095921.fzwuugxh525z5e4u@jama>
On Wed, 2016-08-10 at 11:59 +0200, Martin Jansa wrote:
> On Wed, Aug 10, 2016 at 09:47:26AM +0000, git@git.openembedded.org wr
> ote:
> > rpurdie pushed a commit to branch master
> > in repository openembedded-core.
> >
> > commit 79005ff905f8c82a8766af5a927b9a0f8929e24f
> > Author: Maxin B. John <maxin.john@intel.com>
> > AuthorDate: Mon Aug 1 18:34:49 2016 +0300
> >
> > piglit: fix build failure with gold linker
> >
> > When we use gold linker while DISTRO set to "nodistro", piglit
> > build
> > fails with the following error:
> >
> > | ../../../../lib/libpiglitutil_gl.so.0: error: undefined
> > reference to
> > 'dlsym'
> > | ../../../../lib/libpiglitutil_gl.so.0: error: undefined
> > reference to
> > 'dlerror'
> > | ../../../../lib/libpiglitutil_gl.so.0: error: undefined
> > reference to
> > 'dlopen'
> > | collect2: error: ld returned 1 exit status
> >
> > Fix it by providing '-ldl' to LDFLAGS.
> >
> > [YOCTO #9851]
> >
> > Signed-off-by: Maxin B. John <maxin.john@intel.com>
> > Signed-off-by: Ross Burton <ross.burton@intel.com>
> > ---
> > meta/recipes-graphics/piglit/piglit_git.bb | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/meta/recipes-graphics/piglit/piglit_git.bb
> > b/meta/recipes-graphics/piglit/piglit_git.bb
> > index 811f7af..df90c4d 100644
> > --- a/meta/recipes-graphics/piglit/piglit_git.bb
> > +++ b/meta/recipes-graphics/piglit/piglit_git.bb
> > @@ -30,6 +30,8 @@ do_compile[dirs] =+ "${B}/temp/"
> > PACKAGECONFIG ??= ""
> > PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,
> > -DPIGLIT_USE_GLUT=0,freeglut,"
> >
> > +LDFLAGS_append = " ${@bb.utils.contains('DISTRO_FEATURES', 'ld-is
> > -gold', '-ldl', '', d)}"
>
> There was request to fix it properly in piglit code, why was this
> version merged instead?
Accidentally. It made it into mut and I'd assumed this was a v2. Sadly
I don't keep all patch context in my head. I can revert it.
Cheers,
Richard
next prev parent reply other threads:[~2016-08-10 10:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160810094725.20395.91512@opal.openembedded.org>
[not found] ` <20160810094727.589E850200@opal.openembedded.org>
2016-08-10 9:59 ` [oe-commits] [openembedded-core] 01/51: piglit: fix build failure with gold linker Martin Jansa
2016-08-10 10:42 ` Richard Purdie [this message]
2016-08-10 12:12 ` Martin Jansa
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=1470825754.18638.3.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=martin.jansa@gmail.com \
--cc=maxin.john@intel.com \
--cc=openembedded-commits@lists.openembedded.org \
--cc=openembedded-core@lists.openembedded.org \
/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.