#2015: SOE samples crash when running from ghci rather than compiling and 
running
with ghc
-------------------------+--------------------------------------------------
    Reporter:  justinhj  |       Owner:          
        Type:  bug       |      Status:  new     
    Priority:  normal    |   Milestone:          
   Component:  GHCi      |     Version:  6.8.2   
    Severity:  normal    |    Keywords:  SOE ghci
  Difficulty:  Unknown   |    Testcase:          
Architecture:  Unknown   |          Os:  Windows 
-------------------------+--------------------------------------------------
 When running the SOE samples from http://haskell.org/soe/software1.htm
 I can compile and run at the command line fine, but if I use ghci instead
 of ghc I always get this error...

 {{{

 C:\cygwin\home\Justin\haskell\SOE\src>ghci
 GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
 Loading package base ... linking ... done.
 Prelude> :load test.hs
 Ok, modules loaded: Snowflake, Main, SOE.
 Prelude Main> main
 Loading package old-locale-1.0.0.0 ... linking ... done.
 Loading package old-time-1.0.0.0 ... linking ... done.
 Loading package OpenGL-2.2.1.1 ... linking ... done.
 Loading package GLFW-0.1 ... <interactive>: Unknown PEi386 section name
 `.reloc'
  (while processing: C:\Program
 Files\Haskell\GLFW-0.1\ghc-6.8.2/HSGLFW-0.1.o)
 : panic! (the 'impossible' happened)
   (GHC version 6.8.2 for i386-unknown-mingw32):
         loadObj: failed

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2015>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to