[Bug 1723042] Re: libkmod2.0-udeb is not linked with pthreads
lplewa
1723042 at bugs.launchpad.net
Fri Feb 16 17:01:55 UTC 2018
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
Foundations Bugs, 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
More information about the foundations-bugs
mailing list