Skip to contentSkip to conversation

package/glibmm: needs BR2_TOOLCHAIN_HAS_SYNC_4

PATCH In review Giulio Benetti 2 participants 3 messages Dec 29, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/glibmm: needs BR2_TOOLCHAIN_HAS_SYNC_4

Add BR2_TOOLCHAIN_HAS_SYNC_4 and restyle the with "|| \" form.

Fixes:
http://autobuild.buildroot.net/results/6a2/6a2709956fbb16ac3cbf676acb242c88f83fcdae/

---
 package/glibmm/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/glibmm/Config.in +4 -2
index 2dfc861817..1b27f8cbb1 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_GLIBMM
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on BR2_USE_MMU # libglib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBSIGC
@@ -14,5 +15,6 @@ config BR2_PACKAGE_GLIBMM
 
 comment "glibmm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
-		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR || \
+		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_TOOLCHAIN_HAS_SYNC_4
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Giulio,

Quoted 15 lines · On Wed, 29 Dec 2021 10:56:00 +0100 Giulio Benetti…

Add BR2_TOOLCHAIN_HAS_SYNC_4 and restyle the with "|| \" form.

Fixes:
http://autobuild.buildroot.net/results/6a2/6a2709956fbb16ac3cbf676acb242c88f83fcdae/

---
 package/glibmm/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/glibmm/Config.in +0 -0
index 2dfc861817..1b27f8cbb1 100644

package/glibmm/Config.in config BR2_PACKAGE_GLIBMM · line 7

Quoted 4 lines
package/glibmm/Config.in +1 -0
@@ -4,6 +4,7 @@ config BR2_PACKAGE_GLIBMM
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4

Not the correct fix: you're confusing the sync built-ins with the atomic built-ins. Fabrice sent the correct fix a few minutes before yours :-)

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 15 lines · Thomas Petazzoni

Hello Giulio,

Quoted 10 lines · On Wed, 29 Dec 2021 10:56:00 +0100 Giulio Benetti…

Add BR2_TOOLCHAIN_HAS_SYNC_4 and restyle the with "|| \" form.

Fixes:
http://autobuild.buildroot.net/results/6a2/6a2709956fbb16ac3cbf676acb242c88f83fcdae/

---
  package/glibmm/Config.in | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)
Quoted 12 lines

package/glibmm/Config.in config BR2_PACKAGE_GLIBMM · line 7

Quoted 9 lines
package/glibmm/Config.in +1 -0
index 2dfc861817..1b27f8cbb1 100644
@@ -4,6 +4,7 @@ config BR2_PACKAGE_GLIBMM
  	depends on BR2_INSTALL_LIBSTDCPP
  	depends on BR2_USE_WCHAR # libglib2
  	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4

Not the correct fix: you're confusing the sync built-ins with the atomic built-ins.

Yes, this is new to me.

Quoted 1 line

Fabrice sent the correct fix a few minutes before yours :-)

Yes, I've seen and replied to him already.
At least I've learnt one new thing :-)

Best regards

Signature · 6 lines
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot