Re: [GHC] #7478: setSessionDynFlags does not always work
#7478: setSessionDynFlags does not always work -+-- Reporter: edsko | Owner: simonmar Type: bug | Status: new Priority: normal| Milestone: 7.6.2 Component: Compiler | Version: 7.6.1 Keywords:| Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Changes (by simonmar): * owner: = simonmar * difficulty: = Unknown * milestone: = 7.6.2 Comment: You're getting the `DynFlags` from the cached `ModSummary`. I think there's an easy fix: we should discard the cache in `setSessionDynFlags`. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7478#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7478: setSessionDynFlags does not always work
#7478: setSessionDynFlags does not always work -+-- Reporter: edsko | Owner: simonmar Type: bug | Status: new Priority: normal| Milestone: 7.6.2 Component: Compiler | Version: 7.6.1 Keywords:| Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown |Testcase: Blockedby:|Blocking: Related:| -+-- Comment(by marlowsd@…): commit 27770ae5c5ebd16d9f6cc4574e0f75c395e12720 {{{ Author: Simon Marlow marlo...@gmail.com Date: Fri Dec 7 12:05:29 2012 + Invalidate the ModSummary cache in setSessionDynFlags (#7478) compiler/main/GHC.hs | 27 +++ 1 files changed, 27 insertions(+), 0 deletions(-) }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7478#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7478: setSessionDynFlags does not always work
#7478: setSessionDynFlags does not always work -+-- Reporter: edsko | Owner: simonmar Type: bug | Status: merge Priority: normal| Milestone: 7.6.2 Component: Compiler | Version: 7.6.1 Keywords:| Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: Unknown |Testcase: ghc-api/T7478 Blockedby:|Blocking: Related:| -+-- Changes (by simonmar): * status: new = merge * testcase: = ghc-api/T7478 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7478#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7478: setSessionDynFlags does not always work
#7478: setSessionDynFlags does not always work ---+ Reporter: edsko | Owner: simonmar Type: bug | Status: closed Priority: normal| Milestone: 7.6.2 Component: Compiler |Version: 7.6.1 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Unknown Testcase: ghc-api/T7478 | Blockedby: Blocking:|Related: ---+ Changes (by igloo): * status: merge = closed * resolution: = fixed Comment: Merged as 16ba75714cc22aeb86425679ad24b996a2b30fea -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7478#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7478: setSessionDynFlags does not always work
#7478: setSessionDynFlags does not always work -+-- Reporter: edsko | Owner: Type: bug | Status: new Priority: normal| Component: Compiler Version: 7.6.1 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking:|Related: -+-- Comment(by edsko): Trac gave a database locked error when I uploaded B.hs; when I tried uploading it again, it added B.2.hs and then B.3.hs, even though it's not showing B.hs as being uploaded -- nor can I remove any of these files. Sigh. Please rename B.2.hs to B.hs before running the test. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7478#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #7478: setSessionDynFlags does not always work
#7478: setSessionDynFlags does not always work -+-- Reporter: edsko | Owner: Type: bug | Status: new Priority: normal| Component: Compiler Version: 7.6.1 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking:|Related: -+-- Comment(by edsko): Added a version of the the test that doesn't use concurrency/channels. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7478#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs