[commit: ghc] master: Revert "Make the linker API thread-safe" (4b51194)

git at git.haskell.org git at git.haskell.org
Tue Dec 2 10:22:13 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/4b51194df4090d984f02c12128e868077660fb8b/ghc

>---------------------------------------------------------------

commit 4b51194df4090d984f02c12128e868077660fb8b
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Dec 2 10:05:49 2014 +0000

    Revert "Make the linker API thread-safe"
    
    This reverts commit b5e8b3b162b3ff15ae6caf1afc659565365f54a8.
    
    I reverted it because one of these two patches
      9e6e4796437a7fc23e83605a45db9b2663570123 Add purgeObj()
      b5e8b3b162b3ff15ae6caf1afc659565365f54a8 Make the linker API thread-safe
    
    causes a seg-fault on Windows.  The seg-fault happens immediately
    the linker is invoked, in ghci or in Template Haskell.
    
    I believe that it is the "linker API thread-safe" commit that causes
    the seg-fault; it happens even if the "purgeObj" commit alone is
    reverted.  But since the two patches mess with the same code, to
    revert the "linker API" patch I had revert both.


>---------------------------------------------------------------

4b51194df4090d984f02c12128e868077660fb8b
 docs/users_guide/7.10.1-notes.xml |   6 +--
 rts/CheckUnload.c                 |   4 --
 rts/Linker.c                      | 105 +++++++++++++-------------------------
 rts/LinkerInternals.h             |   4 --
 testsuite/tests/rts/Makefile      |   8 +--
 testsuite/tests/rts/T2615.hs      |   1 -
 testsuite/tests/rts/rdynamic.hs   |   2 -
 7 files changed, 41 insertions(+), 89 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 4b51194df4090d984f02c12128e868077660fb8b


More information about the ghc-commits mailing list