[GHC] #3385: Compiling readline 1.0.1.0 on GHC 6.10.3 causes panic
GHC
trac at galois.com
Sun Jul 19 16:40:27 EDT 2009
#3385: Compiling readline 1.0.1.0 on GHC 6.10.3 causes panic
-------------------------------------+--------------------------------------
Reporter: gparent | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.10.3 | Severity: normal
Keywords: readline panic truncated | Testcase:
Os: Linux | Architecture: x86
-------------------------------------+--------------------------------------
Compiling readline 1.0.1.0 from source using GHC 6.10.3 causes the
following output:
geordi at 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 at 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 at 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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3385>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list