Skip to content

`-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 by Ben Gamari
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information