#8754: :set +s always says space usage is 0 bytes ---------------------------------+------------------------------------ Reporter: George | Owner: Type: bug | Status: new Priority: high | Milestone: Component: GHCi | Version: 7.8.1-rc1 Resolution: | Keywords: Operating System: MacOS X | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------+------------------------------------ Comment (by darchon): It is probably related to the fact that ghci is now dynamically linked: 7.8-RC1: {{{ GHCi, version 7.8.20140130: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Prelude> :set +s Prelude> sum [1,2,3,4] 10 (0.03 secs, 0 bytes) }}} Statically linked HEAD (`DYNAMIC_BY_DEFAULT = NO; DYNAMIC_GHC_PROGRAMS=NO; GhcLibWays = v p`): {{{ GHCi, version 7.9.20140207: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Prelude> :set +s Prelude> sum [1,2,3,4] 10 (0.05 secs, 8283104 bytes) }}} AFAIK, we can't have dynamic linking and profiling at the same time; so I don't know if this can be resolved before the release of 7.8.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler