Skip to content

hadrian doesn't understand that debug rts includes eventlog

Building a debugged ghc fails with:

Linking /home/doug/code/ghc-master/hadrian/dist-newstyle/build/x86_64-linux/ghc-8.10.7/hadrian-0.1.0.0/x/hadrian/build/hadrian/hadrian ...
Error, rule finished running but did not produce file:
  _build/stage1/lib/x86_64-linux-ghc-9.3.20211218/libHSrts-1.0.2_debug_l-ghc9.3.20211218.so
Build failed.

I belive this is because the debug way automatically includes the eventlog way, and so the correct library name is

 _build/stage1/lib/x86_64-linux-ghc-9.3.20211218/libHSrts-1.0.2_debug-ghc9.3.20211218.so
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information