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

GHC ghc-devs at haskell.org
Sun Jun 21 07:53:30 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
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  powerpc
 Type of failure:  Incorrect result  |               Test Case:
  at runtime                         |                Blocking:
      Blocked By:                    |  Differential Revisions:
 Related Tickets:                    |
-------------------------------------+-------------------------------------
Description changed by nomeata:

Old description:

> 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

New description:

 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#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list