NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/47104: -pg -lpthread warns about xdr symbols and __findenv



On Oct 22,  8:25am, kretschm%cs.uni-bonn.de@localhost 
(kretschm%cs.uni-bonn.de@localhost) wrote:
-- Subject: toolchain/47104: -pg -lpthread warns about xdr symbols and __find

Although what you are doing should work, it is better to use:

    $ gcc -pthread -g -pg test.c

or the equivalent and less portable:

    $ gcc -g -pg test.c -lpthread_p

What's happening is that you are picking a static libc and a dynamic
libpthread which can cause sphincter issues :-), and does not profile
libpthread.

christos


Home | Main Index | Thread Index | Old Index