* [Buildroot] [PATCH 1/1] package/libudfread: needs __sync_*_4 or threads
@ 2022-04-12 20:30 Fabrice Fontaine
2022-04-21 17:57 ` Arnout Vandecappelle
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-04-12 20:30 UTC (permalink / raw)
To: buildroot; +Cc: Bernd Kuhls, Fabrice Fontaine
libudfread needs __sync_*_4 or threads since its addition in commit
c477885e3f3c31d3922af1fc0e47e6f5f35b1645 and
https://code.videolan.org/videolan/libudfread/-/commit/06c3cb9223a3cb5ab048e42ab353958f422a8f57
to avoid the following build failure:
src/udfread.c:108:3: error: #error no atomic operation support
108 | # error no atomic operation support
| ^~~~~
Fixes:
- http://autobuild.buildroot.org/results/f76d475f49d525095ac0054224b50b9e612691d6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/libudfread/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/libudfread/Config.in b/package/libudfread/Config.in
index 8d42570500..c1f3f23af9 100644
--- a/package/libudfread/Config.in
+++ b/package/libudfread/Config.in
@@ -1,6 +1,10 @@
config BR2_PACKAGE_LIBUDFREAD
bool "libudfread"
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
help
UDF reader
https://code.videolan.org/videolan/libudfread
+
+comment "libudfread needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libudfread: needs __sync_*_4 or threads
2022-04-12 20:30 [Buildroot] [PATCH 1/1] package/libudfread: needs __sync_*_4 or threads Fabrice Fontaine
@ 2022-04-21 17:57 ` Arnout Vandecappelle
0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2022-04-21 17:57 UTC (permalink / raw)
To: Fabrice Fontaine, buildroot; +Cc: Bernd Kuhls
On 12/04/2022 22:30, Fabrice Fontaine wrote:
> libudfread needs __sync_*_4 or threads since its addition in commit
> c477885e3f3c31d3922af1fc0e47e6f5f35b1645 and
> https://code.videolan.org/videolan/libudfread/-/commit/06c3cb9223a3cb5ab048e42ab353958f422a8f57
> to avoid the following build failure:
>
> src/udfread.c:108:3: error: #error no atomic operation support
> 108 | # error no atomic operation support
> | ^~~~~
>
> Fixes:
> - http://autobuild.buildroot.org/results/f76d475f49d525095ac0054224b50b9e612691d6
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/libudfread/Config.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/package/libudfread/Config.in b/package/libudfread/Config.in
> index 8d42570500..c1f3f23af9 100644
> --- a/package/libudfread/Config.in
> +++ b/package/libudfread/Config.in
> @@ -1,6 +1,10 @@
> config BR2_PACKAGE_LIBUDFREAD
> bool "libudfread"
> + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_THREADS
> help
> UDF reader
>
> https://code.videolan.org/videolan/libudfread
> +
> +comment "libudfread needs a toolchain w/ threads"
> + depends on !BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_TOOLCHAIN_HAS_THREADS
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-21 17:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12 20:30 [Buildroot] [PATCH 1/1] package/libudfread: needs __sync_*_4 or threads Fabrice Fontaine
2022-04-21 17:57 ` Arnout Vandecappelle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.