Compiling readline 1.0.1.0 on GHC 6.10.3 causes panic
Compiling readline 1.0.1.0 from source using GHC 6.10.3 causes the following output:
geordi@debianserv:~/haskell/readline-1.0.1.0$ runhaskell Setup.hs configure
Setup.hs:3:0:
Warning: In the use of `defaultUserHooks' (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Warning: defaultUserHooks in Setup script is deprecated. Configuring readline-1.0.1.0... checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for GNUreadline.framework... checking for readline... no checking for tputs in -lncurses... yes checking for readline in -lreadline... yes checking for rl_readline_version... yes checking for rl_begin_undo_group... yes checking for rl_erase_empty_line... yes checking for rl_free_undo_list... yes checking for rl_completion_word_break_hook in -lreadline... yes configure: creating ./config.status config.status: creating config.mk config.status: creating readline.buildinfo config.status: creating include/HsReadlineConfig.h config.status: include/HsReadlineConfig.h is unchanged geordi@debianserv:~/haskell/readline-1.0.1.0$ runhaskell Setup.hs build
Setup.hs:3:0: Warning: In the use of `defaultUserHooks'
(imported from Distribution.Simple):
Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2
compatibility in which case you must stick with defaultUserHooks"
Preprocessing library readline-1.0.1.0... Building readline-1.0.1.0... Binary: Int64 truncated to fit in 32 bit Int ghc: panic! (the 'impossible' happened)
(GHC version 6.10.3 for i386-unknown-linux):
Prelude.chr: bad argument
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
geordi@debianserv:~/haskell/readline-1.0.1.0$
Package was downloaded from: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/readline
GHC is the latest version from Debian/Unstable.
Trac metadata
Trac field | Value |
---|---|
Version | 6.10.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |