All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/vlc: disable on riscv32
@ 2021-05-28  5:34 Fabrice Fontaine
  2021-06-01 20:48 ` Arnout Vandecappelle
  2021-06-10  8:47 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-05-28  5:34 UTC (permalink / raw)
  To: buildroot

vlc unconditionally uses __NR_futex resulting in the following build
failure on riscv32:

linux/thread.c:53:20: error: '__NR_futex' undeclared (first use in this function)
   53 |     return syscall(__NR_futex, addr, op, val, to, addr2, val3);
      |                    ^~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/be0f2243919d7a052b33118d8a901c922f8d88e7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/vlc/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/vlc/Config.in b/package/vlc/Config.in
index 96ff8f2fcb..964b7660af 100644
--- a/package/vlc/Config.in
+++ b/package/vlc/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_VLC
 	bool "vlc"
+	depends on !BR2_RISCV_32
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_STATIC_LIBS
@@ -23,6 +24,7 @@ config BR2_PACKAGE_VLC_OPENCV3_BACKEND
 	select BR2_PACKAGE_OPENCV3_LIB_OBJDETECT
 
 comment "vlc needs a toolchain w/ C++, dynamic library, wchar, threads, gcc >= 4.9, headers >= 3.7"
+	depends on !BR2_RISCV_32
 	depends on BR2_USE_MMU
 	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
 		|| !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
-- 
2.30.2

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

* [Buildroot] [PATCH 1/1] package/vlc: disable on riscv32
  2021-05-28  5:34 [Buildroot] [PATCH 1/1] package/vlc: disable on riscv32 Fabrice Fontaine
@ 2021-06-01 20:48 ` Arnout Vandecappelle
  2021-06-10  8:47 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2021-06-01 20:48 UTC (permalink / raw)
  To: buildroot



On 28/05/2021 07:34, Fabrice Fontaine wrote:
> vlc unconditionally uses __NR_futex resulting in the following build
> failure on riscv32:
> 
> linux/thread.c:53:20: error: '__NR_futex' undeclared (first use in this function)
>    53 |     return syscall(__NR_futex, addr, op, val, to, addr2, val3);
>       |                    ^~~~~~~~~~
> 

 I added a comment that the upstream patch is rejected and applied to master,
thanks.

 Regards,
 Arnout

> Fixes:
>  - http://autobuild.buildroot.org/results/be0f2243919d7a052b33118d8a901c922f8d88e7
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/vlc/Config.in | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/vlc/Config.in b/package/vlc/Config.in
> index 96ff8f2fcb..964b7660af 100644
> --- a/package/vlc/Config.in
> +++ b/package/vlc/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_VLC
>  	bool "vlc"
> +	depends on !BR2_RISCV_32
>  	depends on BR2_USE_MMU # fork()
>  	depends on BR2_INSTALL_LIBSTDCPP
>  	depends on !BR2_STATIC_LIBS
> @@ -23,6 +24,7 @@ config BR2_PACKAGE_VLC_OPENCV3_BACKEND
>  	select BR2_PACKAGE_OPENCV3_LIB_OBJDETECT
>  
>  comment "vlc needs a toolchain w/ C++, dynamic library, wchar, threads, gcc >= 4.9, headers >= 3.7"
> +	depends on !BR2_RISCV_32
>  	depends on BR2_USE_MMU
>  	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
>  		|| !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
> 

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

* [Buildroot] [PATCH 1/1] package/vlc: disable on riscv32
  2021-05-28  5:34 [Buildroot] [PATCH 1/1] package/vlc: disable on riscv32 Fabrice Fontaine
  2021-06-01 20:48 ` Arnout Vandecappelle
@ 2021-06-10  8:47 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-06-10  8:47 UTC (permalink / raw)
  To: buildroot

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

 > vlc unconditionally uses __NR_futex resulting in the following build
 > failure on riscv32:

 > linux/thread.c:53:20: error: '__NR_futex' undeclared (first use in this function)
 >    53 |     return syscall(__NR_futex, addr, op, val, to, addr2, val3);
 >       |                    ^~~~~~~~~~

 > Fixes:
 >  - http://autobuild.buildroot.org/results/be0f2243919d7a052b33118d8a901c922f8d88e7

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2021.02.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2021-06-10  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28  5:34 [Buildroot] [PATCH 1/1] package/vlc: disable on riscv32 Fabrice Fontaine
2021-06-01 20:48 ` Arnout Vandecappelle
2021-06-10  8:47 ` 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.