Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,323
    • Issues 4,323
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 385
    • Merge Requests 385
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #10053

Closed
Open
Opened Jan 31, 2015 by george.colpitts@trac-george.colpitts

Regression on MacOS platform, error in ghci calling main after loading compiled code: "Too late for parseStaticFlags..."

$ 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

Edited Mar 10, 2019 by Ben Gamari
Assignee
Assign to
8.2.1
Milestone
8.2.1 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#10053