logo       

[GHC] #861: -prof without profiling libraries fails without explanation: msg#00086

lang.haskell.glasgow.bugs

Subject: [GHC] #861: -prof without profiling libraries fails without explanation

#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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise