Skip to contentSkip to conversation

connman: disable for sparc

PATCH New Waldemar Brodkorb 2 participants 2 messages Dec 3, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 connman: disable for sparc

Connman uses __sync_fetch_and_add, which is not available for sparc.

---
 package/connman/Config.in |    1 +
 1 file changed, 1 insertion(+)
package/connman/Config.in +1 -0
index ba238af..687d903 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_CONNMAN
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus, libglib2
 	depends on !BR2_STATIC_LIBS # needs dlopen()
+	depends on !BR2_sparc # needs atomic operation __sync_fetch_and_add
 	help
 	  The Connection Manager (ConnMan) project provides a daemon
 	  for managing internet connections within embedded devices
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 connman: disable for sparc

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Waldemar" == Waldemar Brodkorb <[email protected]> writes:

Connman uses __sync_fetch_and_add, which is not available for sparc.

You forgot to add references to the autobuilder failures.

Quoted 9 lines
---
 package/connman/Config.in |    1 +
 1 file changed, 1 insertion(+)
package/connman/Config.in +0 -0
index ba238af..687d903 100644

package/connman/Config.in config BR2_PACKAGE_CONNMAN · line 13

Quoted 7 lines
package/connman/Config.in +1 -0
@@ -7,6 +7,7 @@ config BR2_PACKAGE_CONNMAN
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus, libglib2
 	depends on !BR2_STATIC_LIBS # needs dlopen()
+	depends on !BR2_sparc # needs atomic operation __sync_fetch_and_add
 	help
 	  The Connection Manager (ConnMan) project provides a daemon
 	  for managing internet connections within embedded devices

We should also hide the toolchain comment on sparc.

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard