http://bugs.winehq.org/show_bug.cgi?id=20951
--- Comment #2 from Artem S. Tashkinov t.artem@mailcity.com 2009-12-08 06:08:36 --- I was asked to profile an application, I decided to use gprof, because e.g. valgring is unusable.
Anyway wine built with -pg is unusable at all
$ wine any_application.exe Segmentation fault
$ gprof /opt/wine/bin/wine any_application.exe gprof: out of memory allocating 3502696144 bytes after a total of 0 bytes
Feel free to close this bug, if everyone thinks that -pg is not a proper way to profile wine.