|
-fno-implicit-prelude -prof bug on x86: msg#00042lang.haskell.glasgow.bugs
GHC 6.0 fails to compile this on x86 Linux with -fno-implicit-prelude -prof: module M where {} $ ghc -fno-implicit-prelude -prof -c M.hs /tmp/ghc4124.hc:5: `NULL' undeclared here (not in a function) /tmp/ghc4124.hc:5: initializer element is not constant /tmp/ghc4124.hc:5: (near initialization for `M_CAFs_cc_ccs[0].prevStack') /tmp/ghc4124.hc:5: `NULL' undeclared here (not in a function) /tmp/ghc4124.hc:5: initializer element is not constant /tmp/ghc4124.hc:5: (near initialization for `M_CAFs_cc_ccs[0].indexTable') It successfully compiles if either -prof or -fno-implicit-prelude is removed. It successfully compiles on MacOS X. $ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.0 $ uname -a Linux rollright 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686 GNU/Linux -- Ashley Yakeley, Seattle WA
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | stack overflow triggered by profiling in ghc 6, Mark Alexander Wotton |
|---|---|
| Next by Date: | [ ghc-Bugs-764602 ] ghc failed to build ghc, SourceForge.net |
| Previous by Thread: | stack overflow triggered by profiling in ghc 6, Mark Alexander Wotton |
| Next by Thread: | Re: -fno-implicit-prelude -prof bug on x86, Ashley Yakeley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |