On Thu, Sep 17, 2020 at 02:11:13PM +0100, Patrick Welche wrote: > #2 0x00007f7ff160c63d in pthread_create (thread=0x2f9d, > thread@entry=0x7f7fffffd588, attr=attr@entry=0x0, > startfunc=startfunc@entry=0x7f7fed764930 <impl_thrd_routine>, > arg=arg@entry=0x7f7ff7e9f230) at /usr/src/lib/libpthread/pthread.c:404
That is: if (__predict_false(__uselibcstub)) { pthread__errorfunc(__FILE__, __LINE__, __func__, "pthread_create() requires linking with -lpthread"); return __libc_thr_create_stub(thread, attr, startfunc, arg); } So "something" needs to be linked with -pthread but isn't. Martin