Re: [GHC] #2615: ghci doesn't play nice with linker scripts

#2615: ghci doesn't play nice with linker scripts -------------------------------------+------------------------------------- Reporter: AlecBerryman | Owner: Type: bug | Status: new Priority: high | Milestone: 6.12.3 Component: GHCi | Version: 7.0.3 Resolution: | Keywords: dlopen, Operating System: Linux | dynamic linking Type of failure: Incorrect result | Architecture: at runtime | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Jinhui_Chen): Yes, the libc.so is in English. And you are right, I have tried to change the locale momentarily, and it works. {{{ olc <- withCString "C" $ \lc -> c_setlocale 5 lc r <- loadDLL "/usr/lib/libc.so" putStrLn (show r) c_setlocale 5 olc }}} 5 is for LC_MESSAGES. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/2615#comment:42 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC