Skip to content

rts_getBool: not a Bool

On ghc 5.04.1 on redhat 7.x I have a C program which
calls Haskell thorugh the FFI. It compiles and runs
correctly. However on ghc 5.04.3 with Mandrake 9.0 (ie
gcc 3.2) the same program fails with

main: fatal error: rts_getBool: not a Bool

All my functions return Bool to signify failure or success.
If I replace them by Int, then the program works again
on Mandrake.

To contact me, sengan `dot` baring-gould `at` ia
`period` nsc `full-stop` com
Trac metadata
Trac field Value
Version None
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedNoReason
Component None
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