Skip to contentSkip to conversation

package/jitterentropy-library: needs threads

PATCH In review Fabrice Fontaine 2 participants 2 messages Jan 6, 2022 – Jan 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/jitterentropy-library: needs threads

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

---
 package/jitterentropy-library/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/jitterentropy-library/Config.in +4 -0
index 02f8ff6164..f9ae1bac5a 100644
@@ -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
Signature · 6 lines
2.34.1

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

"Fabrice" == Fabrice Fontaine <[email protected]> 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>

Quoted 6 lines
      |          ^~~~~~~~~~~

Fixes:
- http://autobuild.buildroot.org/results/7b01eca8f1442318dd35282605fc8815e6afb0d0

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot