[GHC] #13093: Runtime linker chokes on object files created by MSVC++
GHC
ghc-devs at haskell.org
Sat Aug 19 07:31:57 UTC 2017
#13093: Runtime linker chokes on object files created by MSVC++
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: Phyx-
Type: bug | Status: new
Priority: normal | Milestone: 8.4.1
Component: Runtime System | Version: 8.0.1
(Linker) |
Resolution: | Keywords:
Operating System: Windows | Architecture:
| Unknown/Multiple
Type of failure: GHCi crash | Test Case:
Blocked By: | Blocking:
Related Tickets: #13103 | Differential Rev(s): Phab:D3026
Wiki Page: | Phab:D3027 Phab:D3082 Phab:D3028
-------------------------------------+-------------------------------------
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/13093#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list