All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC PATCH 1/1] libffi: v3.2.1 doesn't support riscv targets yet
@ 2018-10-23 21:44 Ferdinand van Aartsen
  2018-10-24  0:24 ` Arnout Vandecappelle
  0 siblings, 1 reply; 8+ messages in thread
From: Ferdinand van Aartsen @ 2018-10-23 21:44 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.org/?reason=libffi-3.2.1&arch=riscv64
---

The upcoming version 3.3.0 will support riscv [1], so this patch would
be temporary. Do we wait for that release, or should we explicitly
disable libffi for riscv in the meantime?

[1] https://github.com/libffi/libffi/commit/3840d49aaa831d649b1597518a2903dfed0d57f3

---
 package/libffi/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libffi/Config.in b/package/libffi/Config.in
index 6edf570baf..26255bb4a4 100644
--- a/package/libffi/Config.in
+++ b/package/libffi/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBFFI
 	bool "libffi"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_riscv
 	help
 	  The libffi library provides a portable, high level
 	  programming interface to various calling conventions. This
@@ -11,3 +12,5 @@ config BR2_PACKAGE_LIBFFI
 
 comment "libffi needs a toolchain w/ threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "libffi is not supported on RISCV."
+	depends on BR2_riscv
-- 
2.19.0

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

end of thread, other threads:[~2018-10-25 10:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-23 21:44 [Buildroot] [RFC PATCH 1/1] libffi: v3.2.1 doesn't support riscv targets yet Ferdinand van Aartsen
2018-10-24  0:24 ` Arnout Vandecappelle
2018-10-24  0:26   ` Arnout Vandecappelle
2018-10-24  8:36   ` Thomas Petazzoni
2018-10-24  8:41     ` Mark Corbin
2018-10-25 10:45       ` Alistair Francis
2018-10-24 13:16     ` Arnout Vandecappelle
2018-10-24 10:10   ` Ferdinand van Aartsen

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.