On Tue, Nov 26, 2019 at 03:18:03PM +0100, Manuel Bouyer wrote: > trying to profile a c++ program which uses dlopen and pthreads (opencpn, FWIW), I'm not surprised at all. -pg will only work reliable with -static. Joerg