
#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 juhpetersen): Replying to [comment:18 erikd]:
Using the test program from comment 6 and a basic "Hello world" program, I can reproduce this problem by compiling the "Hello world" program with `-O2 -dynamic` and running it with the above test program runner.
I can reproduce with dynamic helloworld too with -O1 and above: {{{ $ cat > test.hs main = putStrLn "hi" $ rm -f test.o test.hi; ghc -dynamic -O1 test.hs ; echo $(./test) [1 of 1] Compiling Main ( test.hs, test.o ) Linking test ... $ }}} It doesn't happen with -O0. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9673#comment:23 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler