The latest patch provided Thu 16 Jul I still
have problems with profiling and optimization:
at the link-stage. (See also my report from Thu, 26 Jun).
After:
ghc -o ModuleMain -H40M -K4M -recomp -v \
-fglasgow-exts -cpp -hi-diffs -ansi -syslib ghc \
-fshow-import-specs -O2 -fvia-C -O2-for-C -prof -auto \
[object files snipped]
I get the following error:
Undefined first referenced
symbol in file
CC_mkZubalancedZ92Z92Z92Zq_struct Module1.o
CC_DICTs_struct Module2.o
CC_mkZubalancedZ92Zq_struct Module3.o
CC_nubZ92Zq_struct Module4.o
ld: fatal: Symbol referencing errors. No output written to ModuleMain
Compiling without profiling and -O2 or compiling with -O2 but without
profiling produces no errors.
Regards,
Marc van Dongen