[GHC] #10053: problem in ghci calling main after loading compiled code

#10053: problem in ghci calling main after loading compiled code -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Keywords: | Operating System: MacOS X Architecture: x86_64 | Type of failure: Incorrect result (amd64) | at runtime Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- ghci GHCi, version 7.10.0.20150123: http://www.haskell.org/ghc/ :? for help Prelude> :load rsa Ok, modules loaded: Main. Prelude Main> :show modules Main ( rsa.hs, rsa.o ) Prelude Main> main Too late for parseStaticFlags: call it before runGhc or runGhcT *** Exception: ExitFailure 1 Prelude Main> note, there is no failure if I load interpreted code -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: problem in ghci calling main after loading compiled code -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Description changed by George: Old description:
ghci GHCi, version 7.10.0.20150123: http://www.haskell.org/ghc/ :? for help Prelude> :load rsa Ok, modules loaded: Main. Prelude Main> :show modules Main ( rsa.hs, rsa.o ) Prelude Main> main Too late for parseStaticFlags: call it before runGhc or runGhcT *** Exception: ExitFailure 1 Prelude Main>
note, there is no failure if I load interpreted code
New description: ghci GHCi, version 7.10.0.20150123: http://www.haskell.org/ghc/ :? for help Prelude> :load rsa Ok, modules loaded: Main. Prelude Main> :show modules Main ( rsa.hs, rsa.o ) Prelude Main> main Too late for parseStaticFlags: call it before runGhc or runGhcT Exception: ExitFailure 1 Prelude Main> note, there is no failure if I load interpreted code -- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by rwbarton): I assume you have `-fobject-code` set in your `.ghci`? Anything else relevant? And I assume that `rsa.hs` doesn't do anything unusual (e.g. import GHCi modules)? I can't reproduce it here, but I'm on Linux, so it may be a Mac-only problem. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by George): I can reproduce it with -fobject-code set in .ghci But I can also do it no .ghci and just loading object code I now have a file mainbug.hs that consists of {{{ main = print "hello" }}} I can reproduce it as follows: {{{ ghc -dynamic mainbug.hs [1 of 1] Compiling Main ( mainbug.hs, mainbug.o ) Linking mainbug ... bash-3.2$ ghci GHCi, version 7.10.0.20150123: http://www.haskell.org/ghc/ :? for help Prelude> :load mainbug Ok, modules loaded: Main. Prelude Main> :show modules Main ( mainbug.hs, mainbug.o ) Prelude Main> main Too late for parseStaticFlags: call it before runGhc or runGhcT *** Exception: ExitFailure 1 }}} Loading it interpreted works fine: {{{ rm mainbug.o bash-3.2$ ghci GHCi, version 7.10.0.20150123: http://www.haskell.org/ghc/ :? for help Prelude> :load mainbug [1 of 1] Compiling Main ( mainbug.hs, interpreted ) Ok, modules loaded: Main. *Main> main "hello" }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by rwbarton): OK, now I can reproduce your output exactly except for the error itself, so it seems to indeed be a Mac-specific bug. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by hesselink): I can reproduce this on a Mac (OS X 10.9.5, GHC 7.10.0.20150123). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code, regression -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code, regression -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by George): The workaround is to move the body of main into another function, say f, have main simply call f, and in ghci call f rather than main -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code, regression -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by George): * milestone: => 7.10.2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Too late for parseStaticFlags, error in ghci calling main after loading compiled code, regression on MacOS platform -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.2 Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by thomie): Replying to [comment:9 George]:
As this is an annoying regression and should be simple to fix I've changed the milestone to 7.10.2
It requires someone with a Mac to start fixing OS X specific GHC bugs. Currently there is no such person. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: 7.10.3 => 8.0.1 Old description:
ghci GHCi, version 7.10.0.20150123: http://www.haskell.org/ghc/ :? for help Prelude> :load rsa Ok, modules loaded: Main. Prelude Main> :show modules Main ( rsa.hs, rsa.o ) Prelude Main> main Too late for parseStaticFlags: call it before runGhc or runGhcT Exception: ExitFailure 1 Prelude Main>
note, there is no failure if I load interpreted code
New description: {{{ $ ghci GHCi, version 7.10.0.20150123: http://www.haskell.org/ghc/ :? for help Prelude> :load rsa Ok, modules loaded: Main. Prelude Main> :show modules Main ( rsa.hs, rsa.o ) Prelude Main> main Too late for parseStaticFlags: call it before runGhc or runGhcT Exception: ExitFailure 1 Prelude Main> }}} note, there is no failure if I load interpreted code -- Comment: This isn't going to be fixed for 7.10.3. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:14 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: ak3n Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by ak3n): * owner: => ak3n Comment: The problem is that "main" which is called in ghci is from ghc/Main.hs. Any ideas? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:16 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: ak3n Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): ak3n, could you elaborate? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:17 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: ak3n Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by ak3n): Replying to [comment:17 bgamari]:
ak3n, could you elaborate?
This error is raised in [https://github.com/ghc/ghc/blob/master/compiler/main/StaticFlags.hs#L80 compiler/main/Staticflags.hs], when parseStaticFlags is called in [https://github.com/ghc/ghc/blob/master/ghc/Main.hs#L113 ghc/Main.hs]. So, this code is called two times: on ghci start and on "main" input statement. It looks like, linker replaces "main" from the loaded module with "main" of ghc. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:18 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: ak3n Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by ak3n): This error occurs only if the name of module is "Main". E.g. this code works fine: {{{ module Bug where main = print "hello" }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:19 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by ak3n): * owner: ak3n => -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:20 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: new Priority: low | Milestone: Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by George): * priority: normal => low Comment: given that it only fails with module Main or no module statement I'm changing the priority to low. It is still a regression and a confusing error so it would be nice to have it fixed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:21 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: Type: bug | Status: patch Priority: low | Milestone: 8.2.1 Component: GHCi | Version: 7.10.1-rc2 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2839 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D2839 * milestone: => 8.2.1 Comment: I suspect this will actually be fixed by Phab:D2839. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:22 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: (none) Type: bug | Status: closed Priority: low | Milestone: 8.2.1 Component: GHCi | Version: 7.10.1-rc2 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2839 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed Comment: I'm 99% certain this was resolved by bbd3c399939311ec3e308721ab87ca6b9443f358. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:23 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: (none) Type: bug | Status: closed Priority: low | Milestone: 8.2.1 Component: GHCi | Version: 7.10.1-rc2 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by ak3n): I decided to check it. {{{ ⋊> ghc on master ⨯ cat bug.hs main = print "hello" ⋊> ghc on master ⨯ ./inplace/bin/ghc-stage2 -dynamic bug.hs [1 of 1] Compiling Main ( bug.hs, bug.o ) Linking bug ... ⋊> ghc on master ⨯ ./inplace/bin/ghc-stage2 --interactive GHCi, version 8.3.20170310: http://www.haskell.org/ghc/ :? for help Prelude> :l bug Ok, modules loaded: Main (bug.o). Prelude Main> main <interactive>: missing -B<dir> option *** Exception: ExitFailure 1 Prelude Main> }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:24 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: (none) Type: bug | Status: closed Priority: low | Milestone: 8.2.1 Component: GHCi | Version: 7.10.1-rc2 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by George): The error message that you're getting is different than the one I got although the test case is the same. Not sure if we should reopen this bug or file a new one. I don't have access to a system built from head so I can't try to duplicate what you found. Thanks for testing and bringing this up! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:25 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: (none) Type: bug | Status: closed Priority: low | Milestone: 8.2.1 Component: GHCi | Version: 7.10.1-rc2 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by George): From my testing this is fixed in 8.0.2-rc1 (8.2.0.20170404) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:26 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: (none) Type: bug | Status: closed Priority: low | Milestone: 8.2.1 Component: GHCi | Version: 7.10.1-rc2 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by bgamari): Surely you mean 8.2.1-rc1 ;) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:27 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10053: Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..." -------------------------------------+------------------------------------- Reporter: George | Owner: (none) Type: bug | Status: closed Priority: low | Milestone: 8.2.1 Component: GHCi | Version: 7.10.1-rc2 Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: x86_64 Type of failure: Incorrect result | (amd64) at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2839 Wiki Page: | -------------------------------------+------------------------------------- Comment (by George): Sorry, yes I mean 8.2.1-rc1 ((8.2.0.20170404)) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10053#comment:28 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC