Hello,
Are some profiling options incompatible? Here are problems I've run into:
$ ghc -Wall -prof -auto-all -caf-all --make sparse-test.hs sparse_lib.o -lm -lc
-lstdc++
[10 of 10] Compiling Main ( sparse-test.hs, sparse-test.o )
sparse-test.hs:18:0:
Warning: Definition but no type signature for `main'
/tmp/ghc4721_0/ghc4721_0.s: Assembler messages:
/tmp/ghc4721_0/ghc4721_0.s:4185:0:
Error: symbol `Mainmain_CAF_cc_ccs' is already defined
=> '-auto-all' and '-caf-all' can't be used together?
$ ghc -Wall -prof -auto-all -debug --make sparse-test.hs sparse_lib.o -lm -lc
-lstdc++
Linking sparse-test ...
/usr/bin/ld: cannot find -lHSrts_debug_p
collect2: ld returned 1 exit status
=> '-prof' and '-debug' can't be used together?
(I have installed the ghc6-prof Debian package)
If these pairs of options are incompatible then an error message from
GHC would be helpful.
Many thanks,
Frederik
--
http://ofb.net/~frederik/
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs