Ticket #2377 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

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: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

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

Changed 5 years ago by igloo

  • difficulty set to Unknown
  • milestone set to 6.10.1

Changed 5 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

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.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.