[GHC] #861: -prof without profiling libraries fails without
explanation
GHC
trac at galois.com
Fri Aug 11 05:27:53 EDT 2006
#861: -prof without profiling libraries fails without explanation
-------------------------------+--------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.2
Severity: normal | Keywords: prof profile libraries
Os: Linux | Difficulty: Unknown
Architecture: x86_64 (amd64) |
-------------------------------+--------------------------------------------
Compiling with -prof caused ghc to fail on the first import, claiming that
the module to be imported could not be found (it worked perfectly without
-prof).
Initialliy I thought the -prof was just plain buggy.
After a while I realised the real reason was that the profiling library
package was not installed.
The bug here is a lack of error report by the compiler. Something like
"Profile libraries not found". Instead, the way it fails is totally
unrelated to the cause.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/861>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list