Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2377 closed bug (fixed)

Building ghc-api with profiling fails during install

Reported by: bos Owned by:
Priority: normal Milestone: 6.10.1
Component: Compiler Version: 6.8.3
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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.

Change History (4)

comment:1 Changed 9 years ago by igloo

difficulty: Unknown
Milestone: 6.10.1

comment:2 Changed 9 years ago by igloo

Resolution: fixed
Status: newclosed

Thanks for the report; I can reproduce this with 6.8.3, but it's fixed in the 6.10 branch.

You need

echo "GhcLibProfiled=YES" >> mk/build.mk

instead in 6.10, though.

comment:3 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:4 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.