https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104363
--- Comment #11 from dave.anglin at bell dot net --- On 2022-02-22 4:15 a.m., mathieu.malaterre at gmail dot com wrote: > [...] > libkcapi-1.3.1/apps/kcapi-rng.c:302: undefined reference to > `kcapi_rng_generate' > /usr/lib/gcc-cross/hppa-linux-gnu/10/../../../../hppa-linux-gnu/bin/ld: > libkcapi-1.3.1/apps/kcapi-rng.c:328: undefined reference to > `kcapi_memset_secure' > [...] As I tried to say previously, the problem was with the asm used in libkcapi.