Re: 12-STABLE try to init thead-using libraries before threads and program crashes

2020-12-03 Thread Lev Serebryakov
On 27.11.2020 20:03, Konstantin Belousov wrote: libthr is cleanly linked too early, it should come after all consumers. Anyway, try this. diff --git a/lib/libthr/thread/thr_mutex.c b/lib/libthr/thread/thr_mutex.c index 57984ef6d0e..303386db7fe 100644 --- a/lib/libthr/thread/thr_mutex.c +++

Re: 12-STABLE try to init thead-using libraries before threads and program crashes

2020-11-30 Thread Lev Serebryakov
On 27.11.2020 20:03, Konstantin Belousov wrote: On Fri, Nov 27, 2020 at 06:03:13PM +0300, Lev Serebryakov wrote: I have locally-built net/samba413 port on 12-STABLE (r367937) which crashes in library initialization code due to wrong library initialization order: (No debugging symbols found

Re: 12-STABLE try to init thead-using libraries before threads and program crashes

2020-11-27 Thread Konstantin Belousov
On Fri, Nov 27, 2020 at 06:03:13PM +0300, Lev Serebryakov wrote: > > I have locally-built net/samba413 port on 12-STABLE (r367937) which crashes > in library initialization code due to wrong library initialization order: > > (No debugging symbols found in /usr/local/bin/testparm) > (gdb) b

12-STABLE try to init thead-using libraries before threads and program crashes

2020-11-27 Thread Lev Serebryakov
I have locally-built net/samba413 port on 12-STABLE (r367937) which crashes in library initialization code due to wrong library initialization order: (No debugging symbols found in /usr/local/bin/testparm) (gdb) b _libpthread_init Function "_libpthread_init" not defined. Make breakpoint