|
compiler crash under MacOS X: msg#00073lang.haskell.glasgow.bugs
hi, my very first tries with ghc, using the 'program' module Fact where fact :: Integer -> Integer fact n = product [1..n] gave the following compiler crash under MacOS X 10.4.7 (ghc installed from source via DarwinPorts): Compiling Fact ( fact.hs, interpreted ) ghc-6.4.2: internal error: scavenge_stack: weird activation record found on stack: 463 Please report this as a compiler bug. See: http://www.haskell.org/ghc/reportabug more irritating, this error was _not_ reproducible. a second try did run through: `ghc -c fact.hs' yielded a file `fact.o' but `ghc -o fact fact.o' yielded: /usr/bin/ld: Undefined symbols: _ZCMain_main_closure ___stginit_ZCMain collect2: ld returned 1 exit status and `ghc -v --make fact' yielded Glasgow Haskell Compiler, Version 6.4.2, for Haskell 98, compiled by GHC version 6.4.2 Using package config file: /opt/local/lib/ghc-6.4.2/package.conf Using package config file: /Users/vdh/.ghc/powerpc-darwin-6.4.2/package.conf Hsc static flags: -static *** Chasing dependencies: Chasing modules from: fact Stable modules: *** Compiling Fact ( fact.hs, fact.o ): compile: input file fact.hs *** Checking old interface for Fact: Skipping Fact ( fact.hs, fact.o ) *** Deleting temp files Deleting: /tmp/ghc18926.s Warning: deleting non-existent /tmp/ghc18926.s Upsweep completely successful. *** Deleting temp files Deleting: link(batch): upsweep (partially) failed OR Main.main not exported; not linking. *** Deleting temp files Deleting: what I got where two files `fact.o' and `fact.hi' (attached). hope this helps in one way or the other all the best joerg van den hoff
fact :: Integer -> Integer fact n = product [1..n]
Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Bug in users manual, 6.4.2, section on pattern guards, Matthew Cox |
|---|---|
| Next by Date: | Re: compiler crash under MacOS X, Gregory Wright |
| Previous by Thread: | Bug in users manual, 6.4.2, section on pattern guards, Matthew Cox |
| Next by Thread: | Re: compiler crash under MacOS X, Gregory Wright |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |