[GHC] #898: GHC compiles against Apple's readline, giving error
GHC
trac at galois.com
Thu Sep 14 20:38:26 EDT 2006
#898: GHC compiles against Apple's readline, giving error
-----------------------------+----------------------------------------------
Reporter: doaitse | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 6.5
Severity: normal | Keywords:
Os: MacOS X | Difficulty: Unknown
Architecture: x86 |
-----------------------------+----------------------------------------------
rl_reset_terminal returns void in Apple's readline, giving the following:
{{{
../compiler/ghc-inplace -H16m -O -istage2/utils -istage2/basicTypes
-istage2/types -istage2/hsSyn -istage2/prelude -istage2/rename
-istage2/typecheck -istage2/deSugar -istage2/coreSyn
-istage2/specialise -istage2/simplCore -istage2/stranal -istage2/stgSyn
-istage2/simplStg -istage2/codeGen -istage2/main -istage2/profiling
-istage2/parser -istage2/cprAnalysis -istage2/ndpFlatten -istage2/iface
-istage2/cmm -istage2/nativeGen -istage2/ghci -Istage2 -DGHCI
-DBREAKPOINT -package template-haskell -threaded -package readline
-DUSE_READLINE -cpp -fglasgow-exts -fno-generics -Rghc-timing -I. -Iparser
-package unix -package Cabal -package regex-compat -ignore-package lang
-recomp -Rghc-timing -H16M '-#include "cutils.h"' -package-name ghc-6.5
-fgenerics -fno-cse -c ghci/InteractiveUI.hs -o
stage2/ghci/InteractiveUI.o -ohi stage2/ghci/InteractiveUI.hi
/tmp/ghc28340_0/ghc28340_0.hc: In function 'slM3_ret':
/tmp/ghc28340_0/ghc28340_0.hc:43149:0:
error: void value not ignored as it ought to be
/tmp/ghc28340_0/ghc28340_0.hc: In function 'slLX_ret':
/tmp/ghc28340_0/ghc28340_0.hc:43181:0:
error: void value not ignored as it ought to be
<<ghc: 779741800 bytes, 1303 GCs, 18829642/33857204 avg/max bytes
residency (8 samples), 88M in use, 0.01 INIT (0.00 elapsed), 2.75 MUT
(12.86 elapsed), 1.97 GC (2.10 elapsed) :ghc>>
make[2]: *** [stage2/ghci/InteractiveUI.o] Error 1
make[1]: *** [stage2] Error 2
make: *** [bootstrap2] Error 2
}}}
Also, configure was run with
{{{
./configure --with-readline-includes=/opt/local/include/
--with-readline-libraries=/opt/local/lib
}}}
so it should not have been using this readline at all.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/898>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list