
#8123: GHCi warns about -eventlog even though it's sometimes necessary -------------------------------------+------------------------------------- Reporter: akio | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.6.3 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 Type of failure: Incorrect | (amd64) warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by akio): * status: infoneeded => new Comment: Here is a test session (with GHC 7.10.1): {{{ % cat Test.hs main = return () % ghc -c -eventlog Test.hs % ghci Test.hs GHCi, version 7.10.1.1: http://www.haskell.org/ghc/ :? for help [1 of 1] Compiling Main ( Test.hs, interpreted ) [flags changed] Ok, modules loaded: Main. *Main> Leaving GHCi. % ghci Test.hs -eventlog GHCi, version 7.10.1.1: http://www.haskell.org/ghc/ :? for help Warning: -debug, -threaded and -ticky are ignored by GHCi Ok, modules loaded: Main. Prelude Main> Leaving GHCi. }}} So GHCi decides to re-use the object file only when it's given `-eventlog`. Perhaps the recompilation checker should ignore this flag, if the flag doesn't actually affect how a module is compiled? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8123#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler