Hi,
I just downloaded and built the latest version of GHC from the CVS repository
yesterday and tried to use it to compile an external Core file, which caused
the compiler to crash:

$ ghc -fext-core -fno-code hello.hs
$ ghc hello.hcr
Segmentation fault

I know that the external Core feature is still a work in progress, but is
there something I should be doing differently or is it totally broken? Here
are the relevant details:

$ uname -a
Linux puma 2.4.7-10smp #1 SMP Thu Sep 6 17:09:31 EDT 2001 i686 unknown

$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)

and the results of compiling with -v:
$ ghc -v hello.hcr
Glasgow Haskell Compiler, Version 5.03, for Haskell 98, compiled by GHC version 5.02.1
Using package config file: 
/home/crete/lumberjacks3/krc/ghc/fptools-build/ghc/driver/package.conf.inplace

==================== Packages ====================
<package stuff snipped>

Hsc static flags: -static -fignore-interface-pragmas -fomit-interface-pragmas 
-fdo-lambda-eta-expansion -flet-no-escape
*** Checking old interface for hs = Just "hello.hcr", hspp = Just "hello.hcr":
*** Renamer:
Segmentation fault

The program I'm trying to compile is just:

main = putStr "Hello world!"

Thanks,
Kirsten

-- 
Kirsten Chevalier * [EMAIL PROTECTED] * Often in error, never in doubt
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to