Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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,837
    • Issues 4,837
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 452
    • Merge requests 452
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #20397

Closed
Open
Created Sep 21, 2021 by Matthew Pickering@mpickeringDeveloper

`-hisuf`, `-fno-code`, `-fwrite-interface`, absolute paths are broken

Using a command combinding all these features leads to an error about a missing dyn_o file. From initial inspection it seems that the dyn_o isn't created when using -hisuf.

https://gist.github.com/94fc74ff9fd4c2e6ba05ca99ab25ed75

[nix-shell:~/ghc-clean]$ ~/ghc-clean/_build-perf/stage1/bin/ghc /home/matt/ghc-clean/QuasiQuote.hs /home/matt/ghc-clean/QuasiExpr.hs -fno-code -fwrite-interface -hisuf hih 
[2 of 2] Compiling QuasiQuote       ( /home/matt/ghc-clean/QuasiQuote.hs, /home/matt/ghc-clean/QuasiQuote.o, /home/matt/ghc-clean/QuasiQuote.dyn_o )

<no location info>: error:
    /home/matt/ghc-clean/QuasiQuote.hs:10:12: fatal:
    cannot find object file ‘/home/matt/ghc-clean/QuasiExpr.dyn_o’
    while linking an interpreted expression
Edited Sep 21, 2021 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