http://bugs.winehq.org/show_bug.cgi?id=32823
--- Comment #24 from Henri Verbeet hverbeet@gmail.com 2013-02-15 04:01:04 CST --- (In reply to comment #23)
Could you build mesa with debug symbols? At least you should use "--enable-debug" in configure ...
You don't actually want that in general because it adds -O0 as well. It's probably better to just add -g and -DDEBUG to CFLAGS and CXXFLAGS.