[GHC] #13815: Support Windows big-obj format

GHC ghc-devs at haskell.org
Sat Aug 19 07:31:57 UTC 2017


#13815: Support Windows big-obj format
-------------------------------------+-------------------------------------
        Reporter:  Phyx-             |                Owner:  Phyx-
            Type:  feature request   |               Status:  closed
        Priority:  normal            |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.0.1
      Resolution:  fixed             |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D3523
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Tamar Christina <tamar@…>):

 In [changeset:"ee2e9ece388e75ac433097ac726a555a07ae0830/ghc" ee2e9ec/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="ee2e9ece388e75ac433097ac726a555a07ae0830"
 Correct incorrect free in PE linker

 Summary:
 The big-obj support (D3523) had introduced an early free on
 the info structure. Because the pointer is not NULL'd
 and the default of all the utility functions was to the
 standard object format, it all kept working.

 The one big-obj test that exists was subjected to a timing issue.
 usually the test ran quickly enough that the allocator hasn't
 had time to reclaim the memory yet, so it still passed.

 This corrects it. Also as it so happens, static LLVM libraries
 from mingw-w64 are compiled using big-obj.

 Test Plan: ./validate

 Reviewers: austin, bgamari, erikd, simonmar

 Reviewed By: bgamari

 Subscribers: rwbarton, thomie

 GHC Trac Issues: #13815, #13093

 Differential Revision: https://phabricator.haskell.org/D3862
 }}}

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13815#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list