|
Profiling + External Core = trouble: msg#00054lang.haskell.glasgow.bugs
I'm using the latest version of GHC and gcc 2.96 on a Linux machine, and I get the following weird behavior when trying to compile programs for profiling and generate external Core: $ ghc -fglasgow-exts -fno-code -fext-core -prof -auto-all hello.hs $ ghc -o hello -prof -auto-all hello.hcr /tmp/ghc24088.hc:6: `NULL' undeclared here (not in a function) /tmp/ghc24088.hc:6: initializer element is not constant /tmp/ghc24088.hc:6: (near initialization for `Main_CAFs_cc_ccs[0].prevStack') /tmp/ghc24088.hc:6: `NULL' undeclared here (not in a function) /tmp/ghc24088.hc:6: initializer element is not constant /tmp/ghc24088.hc:6: (near initialization for `Main_CAFs_cc_ccs[0].indexTable') /tmp/ghc24088.hc:15: `NULL' undeclared here (not in a function) /tmp/ghc24088.hc:15: initializer element is not constant /tmp/ghc24088.hc:15: (near initialization for `Main_main_closure.header.prof.hp\.rs') /tmp/ghc24088.hc:63: `NULL' undeclared here (not in a function) /tmp/ghc24088.hc:63: initializer element is not constant /tmp/ghc24088.hc:63: (near initialization for `Main_zdmain_closure.header.prof.\hp.rs') This happens no matter what program I try to compile, and it doesn't happen if I don't use -prof -auto-all. -- Kirsten Chevalier * krc@xxxxxxxxxxxxxxxxxxx * Often in error, never in doubt
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-707763 ] Link fails when trying to generate a profiling executable, SourceForge.net |
|---|---|
| Next by Date: | Re: Re: GLUT copyright violation, Sven Panne |
| Previous by Thread: | [ ghc-Bugs-707763 ] Link fails when trying to generate a profiling executable, SourceForge.net |
| Next by Thread: | unused import not always reported, Christian Maeder |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |