#2230: ghci crashes with .o mismatches
----------------------+-----------------------------------------------------
 Reporter:  guest     |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  normal    |      Milestone:         
Component:  Compiler  |        Version:  6.8.2  
 Severity:  normal    |     Resolution:         
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  Unknown
       Os:  Unknown   |  
----------------------+-----------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> Basic recipe is:
>
> 1) have multi-file program, compile with ghc --make (this creates some .o
> files in course of compilation)
>
> 2) edit some files and then run ghci and attempt to load main file with
> :l file.hs
>
> 3) ghci tries to load some of the compiled .o files, and crashes.
>
> Workaround is to delete the .o's before running ghci.
>

>
> Loading package binary-0.4.2 ... linking ... done.
> <interactive>: internal error: loadObj: can't map `Records.o'
>     (GHC version 6.8.2 for i386_unknown_linux)
>     Please report this as a GHC bug:
> http://www.haskell.org/ghc/reportabug
> Aborted (core dumped)

New description:

 Basic recipe is:

 1) have multi-file program, compile with ghc --make (this creates some .o
 files in course of compilation)

 2) edit some files and then run ghci and attempt to load main file with :l
 file.hs

 3) ghci tries to load some of the compiled .o files, and crashes.

 Workaround is to delete the .o's before running ghci.


 {{{
 Loading package binary-0.4.2 ... linking ... done.
 <interactive>: internal error: loadObj: can't map `Records.o'
     (GHC version 6.8.2 for i386_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted (core dumped)
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2230#comment:1>
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