GHCi + profiling doesn't work
Main.hs:
module Main where
main = putStrLn "Hi!"
Compile this with profiling turned on:
> ghc -prof -auto-all -o hello --make Main.hs
ghc-5.00: chasing modules from: Main.hs
Compiling Main ( Main.hs, ./Main.o )
ghc: linking ...
Try to load the file with GHCi:
> ghci Main
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version
5.00, For Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package std ... linking ... done.
Skipping Main ( Main.hs, ./Main.o )
ghc-5.00: fatal error: do_Elf32_Rel_relocations:
./Main.o: unknown symbol `CC_LIST'
Edited by Simon Marlow