[GHC] #7834: dyn way and INTEGER_LIBRARY=integer-simple

GHC cvs-ghc at haskell.org
Sat Apr 13 23:51:50 CEST 2013


#7834: dyn way and INTEGER_LIBRARY=integer-simple
-----------------------------+----------------------------------------------
Reporter:  heisenbug         |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  7.7               |       Keywords:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
 Failure:  None/Unknown      |      Blockedby:                  
Blocking:                    |        Related:                  
-----------------------------+----------------------------------------------
 a standard bootstrap with
 {{{
 perl boot
 ./configure
 make INTEGER_LIBRARY=integer-simple
 }}}
 causes some problems:
   1. there is a panic (at least when `-j4`) "fromJust..." (which strangely
 disappears on the second attempt)
   2. `__word_encode{Float|Double}` is not found by the linker. There are
 `__int_encode{Float|Double}` symbols available, though, and changing the
 source helps for linking, but not for correctness, obviously.

 I'll add specific details (if not trivially reproducible) as soon as I am
 back at my dev machine.

 The bottom line is that since GHC HEAD now builds the 'dyn' way by
 default, this kind of bootstrap always fails. Normally not a problem on
 desktop linux, but in combination with a gmp-less embedded linux and
 cross-compiling it becomes annoying.

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



More information about the ghc-tickets mailing list