[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [ARM] Incomplete check for accept4
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [ARM] Incomplete check for accept4 |
Date: |
Sun, 29 May 2011 15:26:09 +0200 |
Hello,
The configure test for accept4() fails on armv7l host.
# check if accept4 is there
accept4=no
cat > $TMPC << EOF
#include <sys/socket.h>
#include <stddef.h>
int main(void)
{
accept4(0, NULL, NULL, SOCK_CLOEXEC);
return 0;
}
EOF
if compile_prog "" "" ; then
accept4=yes
fi
It succeeds and sets CONFIG_ACCEPT4, but linking against it generates
warnings:
osdep.o: In function `qemu_accept':
/.../osdep.c:157: warning: warning: accept4 is not implemented and
will always fail
IIUC it should drop back to accept()+qemu_set_cloexec() in that case,
so it's not critical, but if someone happens to know how to fix the
test that would be appreciated.
Regards,
Andreas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [ARM] Incomplete check for accept4,
Andreas Färber <=