Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Seiderer <ps.report@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] libdrm: fix libatomic_ops linking
Date: Tue, 6 Feb 2018 22:23:57 +0100	[thread overview]
Message-ID: <20180206222357.77acdd1a@gmx.net> (raw)
In-Reply-To: <20180102214520.53169c7b@windsurf.lan>

Hello Thomas,

On Tue, 2 Jan 2018 21:45:20 +0100, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> Hello,
> 
> On Mon, 18 Dec 2017 19:55:31 +0100, Peter Seiderer wrote:
> > Add patch 0003-configure-Makefile.am-use-pkg-config-to-discover-lib.patch
> > provided by Thomas Petazzoni handling libatomic_ops linking when needed.
> > 
> > Fixes [1]:
> > 
> >     CCLD     etnaviv_cmd_stream_test
> >   ../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `AO_store_full_emulation'
> >   ../../etnaviv/.libs/libdrm_etnaviv.so: undefined reference to `AO_fetch_compare_and_swap_emulation'
> >   collect2: error: ld returned 1 exit status
> > 
> > [1] http://autobuild.buildroot.net/results/92e074c49417261843eef95872ff935a56077c98
> > 
> > Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> > ---
> > Changes v1 -> v2:
> >   - use patch provided by Thomas Petazzoni instead of forced
> >     libatomic_ops linking.
> > ---
> >  ...akefile.am-use-pkg-config-to-discover-lib.patch | 160 +++++++++++++++++++++
> >  package/libdrm/libdrm.mk                           |   8 +-
> >  2 files changed, 167 insertions(+), 1 deletion(-)
> >  create mode 100644 package/libdrm/0003-configure-Makefile.am-use-pkg-config-to-discover-lib.patch  
> 
> Applied to master, thanks. Could you submit the patch upstream to the
> libdrm project ?

Patch finally submitted upstream, see [2]...

Regards,
Peter

[2] https://lists.freedesktop.org/archives/dri-devel/2018-February/164908.html

> 
> Thanks a lot!
> 
> Thomas

      reply	other threads:[~2018-02-06 21:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 18:55 [Buildroot] [PATCH v2] libdrm: fix libatomic_ops linking Peter Seiderer
2018-01-02 20:45 ` Thomas Petazzoni
2018-02-06 21:23   ` Peter Seiderer [this message]

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=20180206222357.77acdd1a@gmx.net \
    --to=ps.report@gmx.net \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox