This issue affects the PMDK project - https://github.com/pmem/issues/issues/806
Minimal reproduction: $ cat test.c #include <libkmod.h> int foo() { kmod_ref((void *)0); return 0; } cat main.c void foo (void); int main () { foo(); return 0; } $ gcc -fPIC -c -o test.o test.c $ gcc -shared -fPIC -o libfoo.so test.o -lc -lkmod $ gcc -L. -o main.o main.c -lfoo -pthread $ LD_LIBRARY_PATH=. ./main.o ./main.o: Relink `/lib/x86_64-linux-gnu/libkmod.so.2' with `/lib/x86_64-linux-gnu/libpthread.so.0' for IFUNC symbol `system' ** Bug watch added: github.com/pmem/issues/issues #806 https://github.com/pmem/issues/issues/806 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to kmod in Ubuntu. https://bugs.launchpad.net/bugs/1723042 Title: libkmod2.0-udeb is not linked with pthreads Status in kmod package in Ubuntu: Confirmed Bug description: libkmod2.0-udeb is not linked with pthreads When running udevadm in d-i the following happens: udevadm: Relink `/lib/libkmod.so.2' with `/lib/libpthread.so.0' for IFUNC symbol `system' Maybe libkmod2.0 needs a rebuild and/or fix up? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kmod/+bug/1723042/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp