Skip to contentSkip to conversation

package/mono: needs C++

PATCH New Fabrice Fontaine 3 participants 3 messages May 12, 2019 – May 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mono: needs C++

mono needs a working C++ compiler to get the exact type of size_t since version 5.16.0.179 and
https://github.com/mono/mono/commit/d8af77551de1f59803a46946786e0f9a5eb5cb9d

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

---
 package/mono/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/mono/Config.in +4 -2
index a375a98448..0d555bfa82 100644
@@ -12,6 +12,7 @@ config BR2_PACKAGE_MONO_ARCH_SUPPORTS
 config BR2_PACKAGE_MONO
 	bool "mono"
 	depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
+	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_STATIC_LIBS
 	help
@@ -20,6 +21,7 @@ config BR2_PACKAGE_MONO
 
 	  http://download.mono-project.com/sources/mono/
 
-comment "mono needs a toolchain w/ threads, dynamic library"
+comment "mono needs a toolchain w/ C++, threads, dynamic library"
 	depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+	depends on !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/mono: needs C++

Quoted 9 lines · Fabrice Fontaine

mono needs a working C++ compiler to get the exact type of size_t since version 5.16.0.179 and
https://github.com/mono/mono/commit/d8af77551de1f59803a46946786e0f9a5eb5cb9d

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

Reviewed-by Angelo Compagnucci <[email protected]>

Quoted 33 lines
---
 package/mono/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/mono/Config.in +4 -3
index a375a98448..0d555bfa82 100644
@@ -12,6 +12,7 @@ config BR2_PACKAGE_MONO_ARCH_SUPPORTS
 config BR2_PACKAGE_MONO
        bool "mono"
        depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
+       depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_STATIC_LIBS
        help
@@ -20,6 +21,7 @@ config BR2_PACKAGE_MONO
 
          http://download.mono-project.com/sources/mono/
 
-comment "mono needs a toolchain w/ threads, dynamic library"
+comment "mono needs a toolchain w/ C++, threads, dynamic library"
        depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+       depends on !BR2_INSTALL_LIBSTDCPP || \
+               !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
--

2.20.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#2 lore raw

PATCH 1/1 package/mono: needs C++

In reply to Fabrice Fontaine
Quoted 11 lines · On Sun, 12 May 2019 12:45:42 +0200 Fabrice Fontaine…

mono needs a working C++ compiler to get the exact type of size_t since version 5.16.0.179 and
https://github.com/mono/mono/commit/d8af77551de1f59803a46946786e0f9a5eb5cb9d

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

---
 package/mono/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com