Skip to content

Building ghc-api with profiling fails during install

I tried to build GHC-as-a-library using profiling, per http://www.haskell.org/haskellwiki/GHC/As_a_library - unfortunately, it stumbled on one of the last steps.

This is what I added to mk/build/mk:

echo "GhcCompilerWays=p" >> mk/build.mk

And this is what happened during make install:

rm -f package.conf.inplace
rm -f ../driver/stamp-pkg-conf-ghc
make ../driver/stamp-pkg-conf-ghc
make[3]: *** No rule to make target `../driver/stamp-pkg-conf-ghc'.  Stop.
make[2]: *** [stage2/ghc_p-6.8.3] Error 2
make[1]: *** [install] Error 1
make: *** [install] Error 1

Please let me know if you need more details.

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