[Buildroot] [PATCH 1/1] package/rng-tools: fix musl build

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Dec 28 20:44:17 UTC 2021


On Tue, 28 Dec 2021 14:39:59 +0100
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> Fix the following musl build failure raised since bump to version 6.14
> in commit 5292d1cf9ad0605cc264fedc75c1b9a169aa183b:
> 
> /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: rngd-rngd_jitter.o: in function `rngd_notime_start':
> rngd_jitter.c:(.text+0xdc2): undefined reference to `pthread_attr_setaffinity_np'
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/3ec7df86856aa9bee2f18a8faa44fd58bc8a6657
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
>  ...ct-non-posix-extensions-for-pthreads.patch | 43 ++++++++++++++++
>  ...-either-pthread-affinity-set-methods.patch | 49 +++++++++++++++++++
>  2 files changed, 92 insertions(+)
>  create mode 100644 package/rng-tools/0001-Adding-ability-to-detect-non-posix-extensions-for-pthreads.patch
>  create mode 100644 package/rng-tools/0002-Allow-for-use-of-either-pthread-affinity-set-methods.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list