I don't have access rights to apply.

If you have ready patch that enables __MINGW_CTOR_LIST__ only when building with clang it will be the best solution before release of ver. 5. If not, please revert this commit -- you have the access rights.

Mateusz

W dniu 2016-03-01 o 21:31, Martell Malone pisze:
You have my go ahead to apply.

There is a header setting for when building gcc or rather libgcc to specify that ctors and dtors are provided by the c runtime.
This is usually enabled for some embedded targets.

Alternatively I could only enable that when we build the crt with clang and not gcc. This would then mean that we can't use compiler-rt with mingw-w64 crt built with gcc and that we can't use libgcc with a clang built mingw-w64 crt.
I can probably live with that.

The correct fix would be to upstream a patch into libgcc to assume it is external from now on.
Might be hard to get that merged because of legacy support though.

I will provide a follow up patch to enable this only when building with clang

On Tue, Mar 1, 2016 at 12:25 PM, Mateusz <[email protected] <mailto:[email protected]>> wrote:

    Hi,

    I think we should revert commit [ca451a] Handle __CTOR_LIST__
    internally within mingw-w64

    It is not ready yet and makes serious problems for GCC.

    Mateusz


    
------------------------------------------------------------------------------
    Site24x7 APM Insight: Get Deep Visibility into Application Performance
    APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
    Monitor end-to-end web transactions and take corrective actions now
    Troubleshoot faster and improve end-user experience. Signup Now!
    http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
    _______________________________________________
    Mingw-w64-public mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/mingw-w64-public




------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to