On 07/17/13 01:12, dw wrote:
>
>> Please review the new patch
>
> Well, we got your good news and your bad news.
>
> On the plus side, this patch fixes the problem I was seeing with -Os.
> On the downside, my "release" build script also uses
> -fwhole-program. This is giving me a link error:
>
> /undefined reference to `[email protected]'/
>
> I'm using 4.8.1. The minimal set of compile switches to see this
> problems seems to be: -Os -fwhole-program
>
> Examining the object files with a hex editor, I see that -O1 (which
> works) has symbols for both _InterlockedExchange@8 and
> __imp__InterlockedExchange@8. -Os has
> [email protected] and
> [email protected].
>
> Something is getting tangled here, but I'm not quite sure what.
I can't reproduce it here. It looks like a GCC bug, but I'm not familiar
with those constprop symbols. Maybe Kai will have some idea.
Jacek
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public