Skip to contentSkip to conversation

fio: depends on BR2_TOOLCHAIN_HAS_SYNC_4

PATCH New Gustavo Zacarias 2 participants 2 messages Feb 7, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fio: depends on BR2_TOOLCHAIN_HAS_SYNC_4

It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/692/692fe7999efb63a2bffee02f84b9f636afcfe5f4/

---
 package/fio/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/fio/Config.in +2 -0
index b1f9045..89f54f9 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_FIO
 	bool "fio"
 	depends on BR2_USE_MMU # fork()
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# fio uses posix_madvise(), which is not part of any official
 	# release of uClibc, but is part of uClibc Git, and backported
@@ -20,5 +21,6 @@ config BR2_PACKAGE_FIO
 
 comment "fio needs a toolchain w/ dynamic library, threads"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on !BR2_nios2
 	depends on BR2_USE_MMU
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 fio: depends on BR2_TOOLCHAIN_HAS_SYNC_4

Dear Gustavo Zacarias,

Quoted 7 lines · Gustavo Zacarias

It uses __sync_fetch_and_add_4() and other 32-bit atomics, fixes:
http://autobuild.buildroot.net/results/692/692fe7999efb63a2bffee02f84b9f636afcfe5f4/

---
 package/fio/Config.in | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks. This patch had patchwork ID #580000 :-)

Thomas

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