Question about threading implementation

Joerg Sonnenberger joerg at britannica.bec.de
Mon Mar 7 06:16:23 PST 2005


On Sat, Mar 05, 2005 at 11:00:26PM +0000, Jonathon McKitrick wrote:
> When I use -lc_r, I get this:
> 
> Fatal error 'Failed to initialise garbage collector mutex or condvar' at
> line ? in file /usr/src/lib/libc_r/uthread/uthread_init.c (errno = ?)
> zsh: abort (core dumped)  app
> 
> What am I doing wrong?

You are not using -pthread. You cannot link both libc and libc_r into one
program.

Joerg





More information about the Users mailing list