Profiling libraries are not installed
When building GHC from source, profiling libraries are created as requested, but are not installed.
I followed the README's instructions, doing "sh boot; ./configure; make; make install". No custom build.mk was used.
Attempting to compile programs with the "-prof" option fails, with a message like:
Could not find module
System.Random': Perhaps you haven't installed the profiling libraries for package random-22.214.171.124'?
Use -v to see a list of the files searched for.
When using the inplace/bin/ghc-stage2 compiler, instead of the installed version, profiled applications can be built without error.
Running "make show VALUE=GhcLibWays" in the build directory confirms that it is set to "v p". Inspection of the library directory confirms that "_p.a" library files exist.
|Operating system||MacOS X|