Hey again, Am 26.08.2014 23:14, schrieb Dominik Schmidt:> Hey,
We finally have a working Breakpad for MinGW! [1]
Btw: It's been developed and tested on mingw-w64 (if someone finds this list via $searchEngine). Probably noone tested it on mingw.org so far. [...] You can see my progress in this repo: https://build.opensuse.org/project/show/home:pansenmann:mingw-breakpad Specifically:
- Apply the patch set to our binutils
It turned out they don't apply to 2.24 without much effort. I'm a slug and simply went for the 2.24.51 snapshot. Kai Tietz says binutils are moving slow and usually quite stable.
- Enable a configure option of GCC that automatically adds --build-id to all ld calls
Done.
- Add the Breakpad symbol dumper to the windows:mingw repository
Done. I've wasted a lot of time today, trying to use the vanilla build system of Breakpad, which isn't up for compiling host tools on Linux for Windows at all. After I had it working, I decided against simply using Wine but gave compiling the dump_syms tool natively a shot. ... I used CMake as that's what I'm familiar with, if anyone feels that's overkill, feel free to replace it by something simpler. Took about 30 min ... should have done that right from the start :-( Right now it's still inside a mingw32-cross-breakpad-tools package as I planned to use the cross compiled tool with wine, but as that's not needed anymore, no need to prefix it with 32 anymore. Any suggestions what to use? It's still a cross tool but i686 and x86_64 version should be the same.
- Call it from mingw32/64-find-debuginfo.sh and add .dll.sym/.exe.sym files to the debug packages
Done. I'm basically happy with my implementation, please let me know if I you're ok with putting this into the main repo! :-) Yes, Fridrich, I'm talking to you :-P Best regards, Dominik P.S.: Yes of course I will port to mingw64. -- To unsubscribe, e-mail: opensuse-mingw+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-mingw+owner@opensuse.org