
#14862: Switching to Cabal 2.2 makes ghc unusable -------------------------------------+------------------------------------- Reporter: alpmestan | Owner: (none) Type: bug | Status: new Priority: high | Milestone: Component: None | Version: 8.4.1-alpha3 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- When bumping Cabal to 2.2 as done [https://phabricator.haskell.org/D4453 here], we end up with a stage 1 GHC that seemingly cannot build a non- segfaulting program. For instance, if one builds the following trivial program with a stage 1 built from the ghc-8.4 branch + the patch above... {{{#!hs import System.Exit main = exitSuccess }}} Then... {{{#!sh $ ./foo Segmentation fault }}} So of course, when we proceed and build stage 2, and then build things with stage 2, all the stage2 commands crash. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14862 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler