All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] libdrm: fix libatomic_ops linking
Date: Tue, 2 Jan 2018 21:45:20 +0100	[thread overview]
Message-ID: <20180102214520.53169c7b@windsurf.lan> (raw)
In-Reply-To: <20171218185531.31686-1-ps.report@gmx.net>

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 ?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2018-01-02 20:45 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 [this message]
2018-02-06 21:23   ` Peter Seiderer

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=20180102214520.53169c7b@windsurf.lan \
    --to=thomas.petazzoni@free-electrons.com \
    --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 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.