While running ghc with a very full disk, I got the following error
message.

/home/reid/local/bin/ghc-5.00 -i. -i./.. -fglasgow-exts  -syslib data -syslib text 
-fasm-x86 \
              -c ../GenOutfile.hs -o ../GenOutfile.o
ghc-5.00: panic! (the `impossible' happened, GHC version 5.00):
        Failed to open or write code output file /tmp/ghc16986.s

Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.


make: *** [../GenOutfile.o] Error 1
make: Leaving directory `/home/reid/src/knit/compiler/ghc'
bash-2.05$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda3              2387688   2266296       104 100% /


Rerunning with -v doesn't add much to the story.

(btw You're doing better that Linux: that call to "df" never completed and
couldn't be killed.)


/home/reid/local/bin/ghc-5.00 -i. -i./.. -fglasgow-exts  -syslib data
 -syslib text -fasm-x86  -c ../GenOutfile.hs -o ../GenOutfile.o -v
Glasgow Haskell Compiler, Version 5.00, for Haskell 98, compiled by GHC version 
5.00
Using package config file: /home/reid/local/lib/ghc-5.00/package.conf
Hsc static flags: -static -fignore-interface-pragmas -fomit-interface-pragmas -f
do-lambda-eta-expansion -flet-no-escape
ghc-5.00: file `../GenOutfile.hs' does not exist
bash-2.05$ cd ghc/
bash-2.05$ /home/reid/local/bin/ghc-5.00 -i. -i./.. -fglasgow-exts  -syslib data
 -syslib text -fasm-x86  -c ../GenOutfile.hs -o ../GenOutfile.o -v
Glasgow Haskell Compiler, Version 5.00, for Haskell 98, compiled by GHC version 
5.00
Using package config file: /home/reid/local/lib/ghc-5.00/package.conf
Hsc static flags: -static -fignore-interface-pragmas -fomit-interface-pragmas -f
do-lambda-eta-expansion -flet-no-escape
*** Ineffective C pre-processor
echo '{-# LINE 1 "../GenOutfile.hs" #-}' > /tmp/ghc17010.hspp && cat ../GenOutfi
le.hs >> /tmp/ghc17010.hspp

*** Checking old interface for hs = Just "../GenOutfile.hs", hspp = Just "/tmp/g
hc17010.hspp":
Compiling GenOutfile       ( ../GenOutfile.hs, ../GenOutfile.o )
*** Parser:
*** Renamer:
*** Typechecker:
*** Desugar:
    Result size = 1277
*** Simplify:
    Result size = 1400
    Result size = 1183
    Result size = 1071
*** Tidy Core:
    Result size = 1071
*** CorePrep:
    Result size = 1361
*** Stg2Stg:
*** CodeGen:
*** CodeOutput:
Removing: /tmp/ghc17010.s
Removing: /tmp/ghc17010.hspp
ghc-5.00: panic! (the `impossible' happened, GHC version 5.00):
        Failed to open or write code output file /tmp/ghc17010.s

Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.




-- 
Alastair Reid        [EMAIL PROTECTED]        http://www.cs.utah.edu/~reid/

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to