* [Buildroot] [PATCH] package/glibmm: needs BR2_TOOLCHAIN_HAS_SYNC_4
@ 2021-12-29 9:56 Giulio Benetti
2021-12-29 10:20 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Giulio Benetti @ 2021-12-29 9:56 UTC (permalink / raw)
To: buildroot; +Cc: Giulio Benetti, James Knight
Add BR2_TOOLCHAIN_HAS_SYNC_4 and restyle the with "|| \" form.
Fixes:
http://autobuild.buildroot.net/results/6a2/6a2709956fbb16ac3cbf676acb242c88f83fcdae/
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
package/glibmm/Config.in | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/glibmm/Config.in b/package/glibmm/Config.in
index 2dfc861817..1b27f8cbb1 100644
--- a/package/glibmm/Config.in
+++ b/package/glibmm/Config.in
@@ -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
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/glibmm: needs BR2_TOOLCHAIN_HAS_SYNC_4
2021-12-29 9:56 [Buildroot] [PATCH] package/glibmm: needs BR2_TOOLCHAIN_HAS_SYNC_4 Giulio Benetti
@ 2021-12-29 10:20 ` Thomas Petazzoni
2021-12-29 12:45 ` Giulio Benetti
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2021-12-29 10:20 UTC (permalink / raw)
To: Giulio Benetti; +Cc: James Knight, buildroot
Hello Giulio,
On Wed, 29 Dec 2021 10:56:00 +0100
Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
> Add BR2_TOOLCHAIN_HAS_SYNC_4 and restyle the with "|| \" form.
>
> Fixes:
> http://autobuild.buildroot.net/results/6a2/6a2709956fbb16ac3cbf676acb242c88f83fcdae/
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> package/glibmm/Config.in | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/package/glibmm/Config.in b/package/glibmm/Config.in
> index 2dfc861817..1b27f8cbb1 100644
> --- a/package/glibmm/Config.in
> +++ b/package/glibmm/Config.in
> @@ -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
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/glibmm: needs BR2_TOOLCHAIN_HAS_SYNC_4
2021-12-29 10:20 ` Thomas Petazzoni
@ 2021-12-29 12:45 ` Giulio Benetti
0 siblings, 0 replies; 3+ messages in thread
From: Giulio Benetti @ 2021-12-29 12:45 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: James Knight, buildroot
On 29/12/21 11:20, Thomas Petazzoni wrote:
> Hello Giulio,
>
> On Wed, 29 Dec 2021 10:56:00 +0100
> Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
>
>> Add BR2_TOOLCHAIN_HAS_SYNC_4 and restyle the with "|| \" form.
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/6a2/6a2709956fbb16ac3cbf676acb242c88f83fcdae/
>>
>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>> ---
>> package/glibmm/Config.in | 6 ++++--
>> 1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/package/glibmm/Config.in b/package/glibmm/Config.in
>> index 2dfc861817..1b27f8cbb1 100644
>> --- a/package/glibmm/Config.in
>> +++ b/package/glibmm/Config.in
>> @@ -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.
> 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
--
Giulio Benetti
Benetti Engineering sas
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-29 12:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-29 9:56 [Buildroot] [PATCH] package/glibmm: needs BR2_TOOLCHAIN_HAS_SYNC_4 Giulio Benetti
2021-12-29 10:20 ` Thomas Petazzoni
2021-12-29 12:45 ` Giulio Benetti
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox