[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#715212: incompatability with 2.6.32; eventfd() fails with "Function not implemented"



Package: libc6
Version: 2.17-7
Severity: important

On a system with kernel 2.6.32 (forced by a hosting provider) and this
libc6, any calls to eventfd() fail. This causes at least all nontrivial
haskell programs to fail to run, since ghc uses eventfd in its
runtime system when performing IO.

Here is an upstream bug report in ghc about this problem:
http://ghc.haskell.org/trac/ghc/ticket/7926
(According to the comments there, wheezy is also affected.)

Here is a report of this problem breaking git-annex:
http://git-annex.branchable.com/bugs/hGetContents:_user_error/

Here is a simple test program I used to verify this problem is not specific to
ghc:

#include <sys/eventfd.h>
#include <errno.h>

main () {
        int i;
        i = eventfd(10, 0);
        if (i == -1) {
                perror("err");
        }
        else {
                printf("hello, world\n");
        }
}

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: