package/hiawatha: depends on BR2_TOOLCHAIN_HAS_SYNC_4
PATCH 1/1 package/hiawatha: depends on BR2_TOOLCHAIN_HAS_SYNC_4
hiawatha uses __sync_add_and_fetch_ 4 and __sync_sub_and_fetch_4
Fixes:
- http://autobuild.buildroot.org/results/396f3ec849229eea9298215fbb1e1aac9f48c677
--- package/hiawatha/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/hiawatha/Config.in +2 -0
@@ -1,11 +1,13 @@ comment "hiawatha needs a toolchain w/ threads, dynamic library" depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS config BR2_PACKAGE_HIAWATHA bool "hiawatha" # needs fork() depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS select BR2_PACKAGE_ZLIB
Signature · 1 line
2.20.1
PATCH 1/1 package/hiawatha: depends on BR2_TOOLCHAIN_HAS_SYNC_4
Hello Fabrice,
Quoted 6 lines · On Thu, 18 Jul 2019 00:02:15 +0200 Fabrice Fontaine…
hiawatha uses
__sync_add_and_fetch_4 and__sync_sub_and_fetch_4Fixes:
- http://autobuild.buildroot.org/results/396f3ec849229eea9298215fbb1e1aac9f48c677Signed-off-by Fabrice Fontaine <[email protected]>
It would be nice to have more context about why the problem is suddenly happening. In this case, it's due to the bump to v10.9.
So I've added more details in the commit log and applied. But generally speaking, when there is a build failure, it is always good to see since when it happens, and not just to fix the immediate problem, but to see if there is a reason for suddenly having build failures that were not occurring in the past.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com