[GHC] #9673: aarch64 7.8.4, 7.10, 7.11: lib/ghc/bin/ghc-pkg --version does not output from subprocess

GHC ghc-devs at haskell.org
Mon Apr 20 02:34:14 UTC 2015


#9673: aarch64 7.8.4, 7.10, 7.11: lib/ghc/bin/ghc-pkg --version does not output
from subprocess
-------------------------------------+-------------------------------------
        Reporter:  juhpetersen       |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  high              |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Linux             |            Architecture:  aarch64
 Type of failure:  Installing GHC    |               Test Case:
  failed                             |                Blocking:
      Blocked By:                    |  Differential Revisions:
 Related Tickets:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 Simple test program compiled with the stage2 compiler (with `-O2
 -dyanmic`):

 {{{
 import System.Environment
 import System.IO
 main :: IO ()
 main = do
     args <- getArgs
     putStrLn "GHC package manager version 1.2.3"
     if null args
         then return ()
         else hFlush stdout
 }}}

 Running as `./testprog > a.txt ; cat a.txt` produces the expected and
 correct output whereas `./testprog X > a.txt ; cat a.txt` produces
 nothing.

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


More information about the ghc-tickets mailing list