All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/mpd: fix build on sparc
@ 2019-08-17 21:19 Fabrice Fontaine
  2019-08-18 11:25 ` Bernd Kuhls
  2019-08-19 20:55 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2019-08-17 21:19 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/8d757c4390facade75dd6cef808ea6ead9798c12

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...build-add-atomic-dependency-for-spar.patch | 39 +++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch

diff --git a/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch b/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch
new file mode 100644
index 0000000000..81bd981d65
--- /dev/null
+++ b/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch
@@ -0,0 +1,39 @@
+From cb190801706da046823c74f89472af83ff947ce1 Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Sat, 17 Aug 2019 22:25:06 +0200
+Subject: [PATCH] src/event/meson.build: add atomic dependency for sparc
+
+Linking with libatomic is needed on sparc otherwise build fails on:
+/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/event/libevent.a(MaskMonitor.cxx.o): undefined reference to symbol '__atomic_fetch_or_4@@LIBATOMIC_1.0'
+
+Fixes:
+ - http://autobuild.buildroot.org/results/7a9fdb7e323892fb6ed85a2441054303e889c089
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: not sent (the same kind of patch for ncmpc was
+refused: https://github.com/MusicPlayerDaemon/ncmpc/pull/45)]
+---
+ src/event/meson.build | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/event/meson.build b/src/event/meson.build
+index bc13bbcd2..88370c03a 100644
+--- a/src/event/meson.build
++++ b/src/event/meson.build
+@@ -21,9 +21,13 @@ event = static_library(
+   ],
+ )
+ 
++# Needed on sparc
++atomic_dep = c_compiler.find_library('atomic', required: false)
++
+ event_dep = declare_dependency(
+   link_with: event,
+   dependencies: [
++    atomic_dep,
+     thread_dep,
+     system_dep,
+     boost_dep,
+-- 
+2.20.1
+
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/mpd: fix build on sparc
  2019-08-17 21:19 [Buildroot] [PATCH 1/1] package/mpd: fix build on sparc Fabrice Fontaine
@ 2019-08-18 11:25 ` Bernd Kuhls
  2019-08-19 20:55 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2019-08-18 11:25 UTC (permalink / raw)
  To: buildroot

Am Sat, 17 Aug 2019 23:19:36 +0200 schrieb Fabrice Fontaine:

> Fixes:
>  -
>  http://autobuild.buildroot.org/results/
8d757c4390facade75dd6cef808ea6ead9798c12
> 
> Signed-off-by: Fabrice Fontaine
> <fontaine.fabrice@gmail.com>

Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
(build-tested using http://autobuild.buildroot.net/results/
849/849cc2b41fbdf4eacf9e229214ae0ab98d20fb98/ )

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] package/mpd: fix build on sparc
  2019-08-17 21:19 [Buildroot] [PATCH 1/1] package/mpd: fix build on sparc Fabrice Fontaine
  2019-08-18 11:25 ` Bernd Kuhls
@ 2019-08-19 20:55 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2019-08-19 20:55 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > Fixes:
 >  - http://autobuild.buildroot.org/results/8d757c4390facade75dd6cef808ea6ead9798c12

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 > ---
 >  ...build-add-atomic-dependency-for-spar.patch | 39 +++++++++++++++++++
 >  1 file changed, 39 insertions(+)
 >  create mode 100644 package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch

 > diff --git
 > a/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch
 > b/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch
 > new file mode 100644
 > index 0000000000..81bd981d65
 > --- /dev/null
 > +++ b/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch
 > @@ -0,0 +1,39 @@
 > +From cb190801706da046823c74f89472af83ff947ce1 Mon Sep 17 00:00:00 2001
 > +From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 > +Date: Sat, 17 Aug 2019 22:25:06 +0200
 > +Subject: [PATCH] src/event/meson.build: add atomic dependency for sparc
 > +
 > +Linking with libatomic is needed on sparc otherwise build fails on:
 > +/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld:
 > src/event/libevent.a(MaskMonitor.cxx.o): undefined reference to symbol
 > '__atomic_fetch_or_4@@LIBATOMIC_1.0'
 > +
 > +Fixes:
 > + - http://autobuild.buildroot.org/results/7a9fdb7e323892fb6ed85a2441054303e889c089
 > +
 > +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 > +[Upstream status: not sent (the same kind of patch for ncmpc was
 > +refused: https://github.com/MusicPlayerDaemon/ncmpc/pull/45)]

:/

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-19 20:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-17 21:19 [Buildroot] [PATCH 1/1] package/mpd: fix build on sparc Fabrice Fontaine
2019-08-18 11:25 ` Bernd Kuhls
2019-08-19 20:55 ` Peter Korsgaard

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.