Skip to contentSkip to conversation

package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples

PATCH New Heiko Thiery 3 participants 3 messages May 20, 2021 – May 23, 2021 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples

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

---
 package/freescale-imx/imx-gpu-viv/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/freescale-imx/imx-gpu-viv/Config.in +6 -0
index 6668ee8bb5..ca46c5036f 100644
@@ -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
Signature · 1 line
2.30.0
#1 lore raw

PATCH 1/1 package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples

Heiko, All,

On 2021-05-20 08:54 +0200, Heiko Thiery spake thusly:

Quoted 6 lines

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

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 33 lines
---
 package/freescale-imx/imx-gpu-viv/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/freescale-imx/imx-gpu-viv/Config.in +6 -0
index 6668ee8bb5..ca46c5036f 100644
@@ -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
Signature · 6 lines
2.30.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/imx-gpu-viv: add dependency to BR2_INSTALL_LIBSTDCPP to examples

In reply to Heiko Thiery
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Heiko" == Heiko Thiery <[email protected]> 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

Committed to 2021.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard