Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,867
    • Issues 4,867
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 457
    • Merge requests 457
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #10053
Closed
Open
Created 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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking