[GHC] #8754: :set +s always says space usage is 0 bytes

#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 Keywords: | Operating System: MacOS X Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+--------------------------------- :set +s always says space usage is 0 bytes {{{ ghci GHCi, version 7.8.20140130:... ... sumOfPrimes2 40000000 25 1677366278943 it :: Int (14.84 secs, 0 bytes) }}} setting to high as this is a regression -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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 carter): i've also had this problem with my independent mac build. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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 hvr): Replying to [ticket:8754 George]:
setting to high as this is a regression
...are you saying, this worked in 7.6.3? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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 George): Right, a regression from 7.6.3 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#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 hvr): I wonder what's different on OSX, as on Linux `:set +s` works even with dynamic (non-profiling) libs -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8754: :set +s always says space usage is 0 bytes ---------------------------------+------------------------------------ Reporter: George | Owner: Type: bug | Status: new Priority: high | Milestone: 7.8.1 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: ---------------------------------+------------------------------------ Changes (by thoughtpolice): * milestone: => 7.8.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8754: :set +s always says space usage is 0 bytes
---------------------------------+------------------------------------
Reporter: George | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
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 Austin Seipp

#8754: :set +s always says space usage is 0 bytes ---------------------------------+------------------------------------ Reporter: George | Owner: Type: bug | Status: merge Priority: high | Milestone: 7.8.1 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: ---------------------------------+------------------------------------ Changes (by thoughtpolice): * status: new => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8754: :set +s always says space usage is 0 bytes
---------------------------------+------------------------------------
Reporter: George | Owner:
Type: bug | Status: merge
Priority: high | Milestone: 7.8.1
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 Austin Seipp

#8754: :set +s always says space usage is 0 bytes ---------------------------------+------------------------------------ Reporter: George | Owner: Type: bug | Status: closed Priority: high | Milestone: 7.8.1 Component: GHCi | Version: 7.8.1-rc1 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------+------------------------------------ Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Merged. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8754: :set +s always says space usage is 0 bytes
---------------------------------+------------------------------------
Reporter: George | Owner:
Type: bug | Status: closed
Priority: high | Milestone: 7.8.1
Component: GHCi | Version: 7.8.1-rc1
Resolution: fixed | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
---------------------------------+------------------------------------
Comment (by Austin Seipp

#8754: :set +s always says space usage is 0 bytes
---------------------------------+------------------------------------
Reporter: George | Owner:
Type: bug | Status: closed
Priority: high | Milestone: 7.8.1
Component: GHCi | Version: 7.8.1-rc1
Resolution: fixed | Keywords:
Operating System: MacOS X | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
---------------------------------+------------------------------------
Comment (by Austin Seipp

#8754: :set +s always says space usage is 0 bytes ---------------------------------+------------------------------------ Reporter: George | Owner: Type: bug | Status: new Priority: high | Milestone: 7.8.1 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: ---------------------------------+------------------------------------ Changes (by hvr): * status: closed => new * resolution: fixed => Comment: re-opened (see also [http://permalink.gmane.org/gmane.comp.lang.haskell.ghc.devel/3761 ghc-dev post]) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8754: :set +s always says space usage is 0 bytes
---------------------------------+------------------------------------
Reporter: George | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.8.1
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 Austin Seipp

#8754: :set +s always says space usage is 0 bytes ---------------------------------+------------------------------------ Reporter: George | Owner: Type: bug | Status: merge Priority: high | Milestone: 7.8.1 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: ---------------------------------+------------------------------------ Changes (by thoughtpolice): * status: new => merge Comment: Fixed in HEAD and in 7.8. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8754: :set +s always says space usage is 0 bytes ---------------------------------+------------------------------------ Reporter: George | Owner: Type: bug | Status: closed Priority: high | Milestone: 7.8.1 Component: GHCi | Version: 7.8.1-rc1 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------+------------------------------------ Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8754#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC