[Sorry, my english is not very good] In my case the problem is even worst, as the code compiles without problem, but the program gets linked with libpthread20 library instead of the libc6 pthread implemenation.
The problem is that libpthread20 is buggy (? at least it seems!) and threads aren't executed in parallel, but sequentially. Only a single thread is executed at time, and that thread must finish (or call sleep(), even I/O functions don't cause thread switching) before any other thread starts executing. Obviouslly this will make many applications to fail. I also think both packages must be incompatible. (btw, libc6 has an incompatibility with libpthread0, maybe it is a typo. Shouldn't be libpthread20?) -- compilation problem libc + libpthread20 https://bugs.launchpad.net/bugs/116542 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs