* [Buildroot] [PATCH 1/1] package/jitterentropy-library: needs threads
@ 2022-01-06 22:30 Fabrice Fontaine
2022-01-07 17:15 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-01-06 22:30 UTC (permalink / raw)
To: buildroot; +Cc: Matt Weber, Fabrice Fontaine
Fix the following build failure raised since bump to version 3.3.1 in
commit 3965f09cb427af411055a783cd14b501b2b28285 and
https://github.com/smuellerDD/jitterentropy-library/commit/1e94512db65450ffd950e04fac61408b5efb7e2d
In file included from ./jitterentropy.h:98,
from src/jitterentropy-gcd.c:22:
./jitterentropy-base-user.h:74:10: fatal error: pthread.h: No such file or directory
74 | #include <pthread.h>
| ^~~~~~~~~~~
Fixes:
- http://autobuild.buildroot.org/results/7b01eca8f1442318dd35282605fc8815e6afb0d0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/jitterentropy-library/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/jitterentropy-library/Config.in b/package/jitterentropy-library/Config.in
index 02f8ff6164..f9ae1bac5a 100644
--- a/package/jitterentropy-library/Config.in
+++ b/package/jitterentropy-library/Config.in
@@ -1,6 +1,10 @@
config BR2_PACKAGE_JITTERENTROPY_LIBRARY
bool "libjitterentropy"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
Hardware RNG based on CPU timing jitter.
https://github.com/smuellerDD/jitterentropy-library
+
+comment "libjitterentropy needs a toolchain w/ threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--
2.34.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/jitterentropy-library: needs threads
2022-01-06 22:30 [Buildroot] [PATCH 1/1] package/jitterentropy-library: needs threads Fabrice Fontaine
@ 2022-01-07 17:15 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2022-01-07 17:15 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Matt Weber, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure raised since bump to version 3.3.1 in
> commit 3965f09cb427af411055a783cd14b501b2b28285 and
> https://github.com/smuellerDD/jitterentropy-library/commit/1e94512db65450ffd950e04fac61408b5efb7e2d
> In file included from ./jitterentropy.h:98,
> from src/jitterentropy-gcd.c:22:
> ./jitterentropy-base-user.h:74:10: fatal error: pthread.h: No such file or directory
> 74 | #include <pthread.h>
> | ^~~~~~~~~~~
> Fixes:
> - http://autobuild.buildroot.org/results/7b01eca8f1442318dd35282605fc8815e6afb0d0
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
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-01-07 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 22:30 [Buildroot] [PATCH 1/1] package/jitterentropy-library: needs threads Fabrice Fontaine
2022-01-07 17:15 ` Peter Korsgaard
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.