[GHC] #11758: Drop x86_64 binutils <2.17 hack
GHC
ghc-devs at haskell.org
Fri Aug 19 08:10:57 UTC 2016
#11758: Drop x86_64 binutils <2.17 hack
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: avd
Type: task | Status: closed
Priority: normal | Milestone: 8.2.1
Component: Compiler (NCG) | Version: 8.0.1-rc2
Resolution: fixed | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: 12433 | Differential Rev(s): Phab:D2426
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
This patch made the ghc-stage2 compiler seg-fault, on 64-bit Windos. It
seg-faults when doing anything -- compiling `HelloWorld.hs` or even `ghc
--version`.
It took me a full day of bisection to find this. Very painful. It would
be so great if we had continuous-integration on Windows going. I hate
playing the role of Windows test engine.
Anyway, here's the revert patch. Would someone like to work out what is
going on, and re-apply when fixed?
{{{
commit b2c5e4ce5c44a7be7c2b81c2600cae40c5b225ad
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date: Thu Aug 18 18:16:01 2016 +0100
Revert "codeGen: Remove binutils<2.17 hack, fixes T11758"
This reverts commit e3e2e49a8f6952e1c8a19321c729c17b294d8c92.
I'm reverting because it makes ghc-stage2 seg-fault on
64-bit Windows machines. Even ghc-stage2 --version seg-faults.
compiler/nativeGen/X86/CodeGen.hs | 15 ++++++++++++++-
compiler/nativeGen/X86/Ppr.hs | 23 +++++++++++++++++++++--
includes/rts/storage/InfoTables.h | 11 +++++++++++
3 files changed, 46 insertions(+), 3 deletions(-)
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11758#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list