Re: [Mingw-w64-public] x64 MSVC import librries

2015-03-18 Thread Vadim Chugunov
vanboxem.ru...@gmail.com: 2015-03-18 16:28 GMT+01:00 Derek Buitenhuis derek.buitenh...@gmail.com : On 3/17/2015 11:27 PM, Vadim Chugunov wrote: I think I am bumping into the issue described here: https://sourceware.org/bugzilla/show_bug.cgi?id=16598. The bug also has a patch attached

[Mingw-w64-public] x64 MSVC import librries

2015-03-17 Thread Vadim Chugunov
Hi, I think I am bumping into the issue described here: https://sourceware.org/bugzilla/show_bug.cgi?id=16598. The bug also has a patch attached. What would it take to get someone to merge it? Vadim -- Dive into the

[Mingw-w64-public] Link-time dead code elimination

2015-02-23 Thread Vadim Chugunov
Hi, Is link-time dead code elimination via --function-sections + -Wl,--gc-sections known to work on mingw? -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your

Re: [Mingw-w64-public] Slow pseudo-relocations

2014-10-24 Thread Vadim Chugunov
I've tried both patches (fixed conditions in Kai's) and both eliminate extraneous calls to VirtualProtect. However Kai's patch did not seem to affect startup performance at all. DW's patch, on the other hand, also gets rid of VirtualQuery', and that cuts down the startup time of my test example

Re: [Mingw-w64-public] Slow pseudo-relocations

2014-08-19 Thread Vadim Chugunov
this, but you have the setup to test it anyway. Also, this code snippet only fixes 2 of the 3 places that use PAGE_EXECUTE_WRITECOPY. Remember to change the comparison in mark_section_writable() as well. FWIW, dw On 8/15/2014 8:17 PM, Vadim Chugunov wrote: Okay, I was wrong about

[Mingw-w64-public] Slow pseudo-relocations

2014-08-15 Thread Vadim Chugunov
Hi, I am trying to figure out the cause of a slow application startup, and the evidence I have so far, points to mingw's _pei386_runtime_relocator() routine as the culprit. When I start my app under debugger, I see this function calling VirtualProtect() about a zillion times in a row. Looking