here is a test case:

#include <pthread.h>

int main()
{
  pthread_mutex_t mutex;
  pthread_mutex_init(&mutex, NULL);
  return 0;
}

I compile with that command:

suncc -c -o test_pthread.o test_pthread.c -pthread

then: nm -C test_pthread.o |grep mcount

mcount appears as UNDEF

Vincent Torri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/tools-compilers/attachments/20090819/0db20ebc/attachment.html>

Reply via email to