#8825: ghc can't determine gcc version on ru_RU locale -------------------------------------+------------------------------------- Reporter: slyfox | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.4 Component: Compiler | Version: 7.8.1-rc1 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D185 -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"753c5b24304fa1dd1af774be268794baef820f75/ghc" 753c5b24/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="753c5b24304fa1dd1af774be268794baef820f75" Simplify readProcessEnvWithExitCode + set LANGUAGE=C `readProcessEnvWithExitCode` was added in 4d4d07704ee78221607a18b8118294b0aea1bac4, to start an external process after making some modifications to the environment. Since then, the `process` library has exposed `readCreateProcessWithExitCode`, which allows for the refactoring we do here. Also change "en" to "C", as suggested in ticket:8825#comment:11. Reviewed by: trofi Differential Revision: https://phabricator.haskell.org/D2332 GHC Trac Issues: #8825 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8825#comment:13> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler