Skip to content

dyn way and INTEGER_LIBRARY=integer-simple

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.

Trac metadata
Trac field Value
Version 7.7
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information