[GHC] #3799: undefined symbols and undefined references possibly related to template haskell

GHC trac at galois.com
Mon Jan 18 04:59:25 EST 2010


#3799: undefined symbols and undefined references possibly related to template
haskell
---------------------------------+------------------------------------------
  Reporter:  JeremyShaw          |          Owner:                                               
      Type:  bug                 |         Status:  closed                                       
  Priority:  normal              |      Milestone:  6.12.2                                       
 Component:  Compiler            |        Version:  6.13                                         
Resolution:  invalid             |       Keywords:  undefined symbols references template haskell
Difficulty:                      |             Os:  Unknown/Multiple                             
  Testcase:                      |   Architecture:  Unknown/Multiple                             
   Failure:  Compile-time crash  |  
---------------------------------+------------------------------------------
Changes (by simonpj):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Thank you for investigating this.  It looks as if my hypothesis was right:
 Cabal is causing you to (a) compile a module against M.hi, but then (b)
 link against an M.o that was generated by a different call of GHC. That's
 simply not supported by GHC: .hi and .o files are indissolubly bound
 together.

 So I declare this a Cabal bug.  Antoine has helpfully opened a Cabal
 ticket for it
 http://hackage.haskell.org/trac/hackage/ticket/624, so I'll close this one
 as "invalid" (ie not GHC's problem).

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3799#comment:11>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list