All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples
@ 2021-05-20  6:54 Heiko Thiery
  2021-05-20  7:14 ` Yann E. MORIN
  2021-05-23 16:32 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Heiko Thiery @ 2021-05-20  6:54 UTC (permalink / raw)
  To: buildroot

The examples require libstdc++.so.6 so add the required dependency to
the Config.in.

  ./tiger: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
---
 package/freescale-imx/imx-gpu-viv/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/freescale-imx/imx-gpu-viv/Config.in b/package/freescale-imx/imx-gpu-viv/Config.in
index 6668ee8bb5..ca46c5036f 100644
--- a/package/freescale-imx/imx-gpu-viv/Config.in
+++ b/package/freescale-imx/imx-gpu-viv/Config.in
@@ -84,11 +84,17 @@ config BR2_PACKAGE_PROVIDES_LIBOPENVG
 
 config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
 	bool "install examples"
+	# example binaries are linked against libstdc++.so.6
+	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  Copy the Vivante examples to the target.
 
 	  Warning: examples take approximately 150 MB of disk space.
 
+comment "imx-gpu-viv-examples need a toolchain w/ C++ support"
+    depends on !BR2_INSTALL_LIBSTDCPP
+
+
 config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
 	bool "install gmem_info tool"
 	help
-- 
2.30.0

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

* [Buildroot] [PATCH 1/1] package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples
  2021-05-20  6:54 [Buildroot] [PATCH 1/1] package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples Heiko Thiery
@ 2021-05-20  7:14 ` Yann E. MORIN
  2021-05-23 16:32 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2021-05-20  7:14 UTC (permalink / raw)
  To: buildroot

Heiko, All,

On 2021-05-20 08:54 +0200, Heiko Thiery spake thusly:
> The examples require libstdc++.so.6 so add the required dependency to
> the Config.in.
> 
>   ./tiger: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
> 
> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/freescale-imx/imx-gpu-viv/Config.in | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/freescale-imx/imx-gpu-viv/Config.in b/package/freescale-imx/imx-gpu-viv/Config.in
> index 6668ee8bb5..ca46c5036f 100644
> --- a/package/freescale-imx/imx-gpu-viv/Config.in
> +++ b/package/freescale-imx/imx-gpu-viv/Config.in
> @@ -84,11 +84,17 @@ config BR2_PACKAGE_PROVIDES_LIBOPENVG
>  
>  config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
>  	bool "install examples"
> +	# example binaries are linked against libstdc++.so.6
> +	depends on BR2_INSTALL_LIBSTDCPP
>  	help
>  	  Copy the Vivante examples to the target.
>  
>  	  Warning: examples take approximately 150 MB of disk space.
>  
> +comment "imx-gpu-viv-examples need a toolchain w/ C++ support"
> +    depends on !BR2_INSTALL_LIBSTDCPP
> +
> +
>  config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
>  	bool "install gmem_info tool"
>  	help
> -- 
> 2.30.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 1/1] package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples
  2021-05-20  6:54 [Buildroot] [PATCH 1/1] package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples Heiko Thiery
  2021-05-20  7:14 ` Yann E. MORIN
@ 2021-05-23 16:32 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2021-05-23 16:32 UTC (permalink / raw)
  To: buildroot

>>>>> "Heiko" == Heiko Thiery <heiko.thiery@gmail.com> writes:

 > The examples require libstdc++.so.6 so add the required dependency to
 > the Config.in.

 >   ./tiger: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

 > Signed-off-by: Heiko Thiery <heiko.thiery@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-05-23 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20  6:54 [Buildroot] [PATCH 1/1] package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples Heiko Thiery
2021-05-20  7:14 ` Yann E. MORIN
2021-05-23 16:32 ` 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.