#5005: epollCreate: unsupported operation (Function not implemented) ---------------------------------+------------------------------------------ Reporter: nomeata | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.0.2 | Keywords: Testcase: | Blockedby: Os: Linux | Blocking: Architecture: Unknown/Multiple | Failure: Compile-time crash ---------------------------------+------------------------------------------
Comment(by nomeata): Julien Cristau solved the riddle: epoll_create1() (note the 1) is only available on newer kernels, so if ghc is built on a new kernel it will use epoll_create1() instead of epoll_create() and it will not run on older kernels. See http://lists.debian.org/debian-devel/2011/03/msg00407.html. How should we solve this? Unconditionally use epoll_create()? Or come up with a run-time check as to which one is available? -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5005#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs