#6128: ghc 7.4.2 does not work with LDAP-0.6.6
-------------------------------+--------------------------------------------
Reporter: magicloud | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.2
Keywords: c binding poll | Os: Linux
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by cdornan):
I am not sure whether this is related to the problem discussed on the
mailing list in May (see the thread containing
http://www.haskell.org/pipermail/haskell-cafe/2012-May/101491.html)where I
failed to reproduce the problem on a variety GHC compilers including
GHC-7.4.1 running on CentOS 6. This should have been an exact match for
one of the configurations for which the problematic behaviour was being
observed. I don't remember seeing any explanation for these differences in
behaviour. (I use the LDAP quite heavily on CentOS 5 and CentOS 6 and have
never seen any of these described problems.)
This is the test program I was using. It gets all the details of the LDAP
server from the user so the exact same code can be used to test different
installations.
import LDAP
main :: IO ()
main =
do putStrLn "domain>"
domain <- getLine
putStrLn "bindDN>"
bindDN <- getLine
putStrLn "bindPW>"
bindPW <- getLine
putStrLn "conecting..."
ldap <- ldapInit domain ldapPort
ldapSimpleBind ldap bindDN bindPW
putStrLn "done"
Of course it uses the LDAP package.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6128#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs