Skip to content

Hadrian prof flavour doesn't build a compiler which you can profile

After building a compiler with the prof flavour. I tried to use it with the -xc option.

./hadrian/build.sh --flavour=prof
_build/stage1/bin/ghc A.hs +RTS -xc

But apparently

ghc: the flag -xc requires the program to be built with -prof

So it seems that the prof flavour is broken.

Trac metadata
Trac field Value
Version 8.6.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System (Hadrian)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information