Skip to contentSkip to conversation

package/mono: add threads dependency

PATCH New Angelo Compagnucci 3 participants 3 messages Oct 31, 2014 – Nov 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mono: add threads dependency

This patch adds a depends on BR2_TOOLCHAIN_HAS_THREADS.

---
 package/mono/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/mono/Config.in +3 -2
index f8f4895..cc015e6 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MONO
 	bool "mono"
 	depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
 	depends on BR2_INET_IPV6
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_MONO_45 if !BR2_PACKAGE_MONO_20 && !BR2_PACKAGE_MONO_40
 	help
 	  An open source, cross-platform, implementation of C#
@@ -36,5 +37,5 @@ config BR2_PACKAGE_MONO_45
 
 endif
 
-comment "mono needs a toolchain w/ IPv6"
-	depends on !BR2_INET_IPV6
+comment "mono needs a toolchain w/ IPv6, threads"
+	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.1.1
#1 lore raw

PATCH 1/1 package/mono: add threads dependency

Angelo, All,

On 2014-10-31 15:01 +0100, Angelo Compagnucci spake thusly:

Quoted 1 line

This patch adds a depends on BR2_TOOLCHAIN_HAS_THREADS.

Since this fixes autobuild failures, you should list at least a few of them (the most recent ones), like:

Fixes:

    http://autobuild.buildroot.net/results/ece/ece1051cb9238735130b29f76d90a4994058345a/
    http://autobuild.buildroot.net/results/658/65850774d4c6b875cb6ebbf461dcc48cf8208f4f/
    http://autobuild.buildroot.net/results/5d5/5d5074aa73e167099410d244a18114dbced348d1/
    ...
Quoted 1 line

I've looked at uClibc, and it looks like its implementations of LT, LT-old and NPTL do all have this, so (with the afore-mentioned autobuild references added):

Regards,
Yann E. MORIN.

Quoted 31 lines
---
 package/mono/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/mono/Config.in +3 -2
index f8f4895..cc015e6 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_MONO
 	bool "mono"
 	depends on BR2_PACKAGE_MONO_ARCH_SUPPORTS
 	depends on BR2_INET_IPV6
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_MONO_45 if !BR2_PACKAGE_MONO_20 && !BR2_PACKAGE_MONO_40
 	help
 	  An open source, cross-platform, implementation of C#
@@ -36,5 +37,5 @@ config BR2_PACKAGE_MONO_45
 
 endif
 
-comment "mono needs a toolchain w/ IPv6"
-	depends on !BR2_INET_IPV6
+comment "mono needs a toolchain w/ IPv6, threads"
+	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 6 lines
2.1.1

_______________________________________________
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 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/mono: add threads dependency

In reply to Angelo Compagnucci

Dear Angelo Compagnucci,

Quoted 6 lines · Angelo Compagnucci

This patch adds a depends on BR2_TOOLCHAIN_HAS_THREADS.

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

Thanks, applied, after adding the autobuilder references mentioned by Yann.

And thanks Angelo for looking by yourself at the mono autobuilder failures. It's much appreciated!

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com