problem compiling with profiling
Frederik Eaton
frederik at a5.repetae.net
Wed Jan 11 19:06:48 EST 2006
When I compile my code with profiling turned on, I get an "unknown
symbol" error which is not present during a normal compilation.
Frederik
$ rm -f *.o
$ ghc -fignore-asserts -fth --make vec-test-1.hs -o vec-test-1
Chasing modules from: vec-test-1.hs
Compiling Fu.Prepose ( ./Fu/Prepose.hs, ./Fu/Prepose.o )
Compiling Fu.GenUtil ( ./Fu/GenUtil.hs, ./Fu/GenUtil.o )
Compiling Fu.Vector ( ./Fu/Vector.hs, ./Fu/Vector.o )
Compiling Main ( vec-test-1.hs, vec-test-1.o )
Loading package base-1.0 ... linking ... done.
Loading package haskell98-1.0 ... linking ... done.
Loading package mtl-1.0 ... linking ... done.
Loading package template-haskell-1.0 ... linking ... done.
Linking ...
$ rm -f *.o
$ ghc -auto-all -prof -fignore-asserts -fth --make vec-test-1.hs -o vec-test-1 && time ./vec-test-1 +RTS -P -xc
Chasing modules from: vec-test-1.hs
Compiling Fu.Prepose ( ./Fu/Prepose.hs, ./Fu/Prepose.o )
Compiling Fu.GenUtil ( ./Fu/GenUtil.hs, ./Fu/GenUtil.o )
Compiling Fu.Vector ( ./Fu/Vector.hs, ./Fu/Vector.o )
Compiling Main ( vec-test-1.hs, vec-test-1.o )
Loading package base-1.0 ... linking ... done.
Loading package haskell98-1.0 ... linking ... done.
Loading package mtl-1.0 ... linking ... done.
Loading package template-haskell-1.0 ... linking ... done.
ghc-6.4.1: ./Fu/Vector.o: unknown symbol `era'
More information about the Glasgow-haskell-bugs
mailing list