External Core front-end in GHC 5.03

Sigbjorn Finne sof at galois.com
Wed May 8 10:18:17 EDT 2002


Hi,

I'm unable to reproduce this here (with a 2002-05-07 HEAD build.)
Make sure no interface files from earlier GHC builds are in scope;
the -dshow-passes output you give hints that this _might_ be the cause.

--sigbjorn

----- Original Message -----
From: "Kirsten Chevalier" <krc at uclink.berkeley.edu>
To: <glasgow-haskell-bugs at haskell.org>
Sent: Friday, May 03, 2002 15:39
Subject: External Core front-end in GHC 5.03


> 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.inpla
ce
>
> ==================== Packages ====================
> <package stuff snipped>
>
> Hsc static
flags: -static -fignore-interface-pragmas -fomit-interface-pragmas -fdo-lamb
da-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 * krc at uclink.berkeley.edu * Often in error, never in
doubt





More information about the Glasgow-haskell-bugs mailing list