[GHC] #10553: powerpc: getEnvironment empty when run in GHCi

GHC ghc-devs at haskell.org
Sun Jun 21 07:50:58 UTC 2015


#10553: powerpc: getEnvironment empty when run in GHCi
-------------------------------------+-------------------------------------
              Reporter:  nomeata     |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.8.4
              Keywords:              |  Operating System:  Linux
          Architecture:  powerpc     |   Type of failure:  Incorrect result
             Test Case:              |  at runtime
              Blocking:              |        Blocked By:
Differential Revisions:              |   Related Tickets:
-------------------------------------+-------------------------------------
 Hi,

 on powerpc (only), with ghc-7.8, we have this:

 ```
 $ cat env.hs
 import System.Environment
 main = getEnvironment >>= print
 $ runhaskell env.hs
 []
 $ ./env
 [("RESET","\\e[0m")...
 ```

 This breaks the test suite of shake. Does anyone feel like investigating
 this?

 Also tracked at https://bugs.debian.org/789458

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10553>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list