Re: [GHC] #7695: Hang when locale-archive and gconv-modules are not there
#7695: Hang when locale-archive and gconv-modules are not there -------------------------------------+------------------------------------- Reporter: hpd | Owner: Type: bug | Status: new Priority: highest | Milestone: 7.10.2 Component: None | Version: 7.8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Runtime crash | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #8977, #10298 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by hsyl20): Fixed with my patch for #10298 (see my comment there). Can you check that you obtain the same result on your system with this code: {{{ $> cat test.c #include <langinfo.h> #include <locale.h> #include <stdio.h> int main() { setlocale(LC_CTYPE, ""); printf("LC_CTYPE: %s\n", nl_langinfo(CODESET)); return 0; } $> gcc -static -L/path/to/static/glibc test.c -o test $> sudo chroot `pwd` /test LC_CTYPE: ANSI_X3.4-1968 }}} I don't know if the default LC_CTYPE is the same everywhere... (You should get the same result if you have compiled the glibc with --disable-shared when you call ./test directly without the chroot) -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7695#comment:18> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC