Re: [libvirt] [BUG] EPOLL_CLOEXEC undeclared

2012-01-23 Thread Eric Blake
On 01/23/2012 02:48 AM, Philipp Hahn wrote: >> Then how about this patch: >> >> From 330f666036943a0fc423a4b5db2ca294fb2a4298 Mon Sep 17 00:00:00 2001 >> From: Eric Blake >> Date: Thu, 19 Jan 2012 13:35:39 -0700 >> Subject: [PATCH] build: skip lxc with too-old glibc > ... > > Looks good: Now the

Re: [libvirt] [BUG] EPOLL_CLOEXEC undeclared

2012-01-23 Thread Philipp Hahn
Hello Eric, On Thursday 19 January 2012 21:38:22 Eric Blake wrote: > That's an unusual mix, where the syscall exists (since 2.6.27) but libc > is too old to use the syscall. The original kernel was 2.6.26, but which later was updated to 2.6.32 for better support of newer hardware. > Then how ab

Re: [libvirt] [BUG] EPOLL_CLOEXEC undeclared

2012-01-19 Thread Eric Blake
On 01/18/2012 01:01 AM, Philipp Hahn wrote: > Hello Eric, > > Eric Blake wrote: >> On 01/17/2012 04:42 AM, Philipp Hahn wrote: >> And what kernel is that system running? > > 2.6.32 That's an unusual mix, where the syscall exists (since 2.6.27) but libc is too old to use the syscall. > >> We a

Re: [libvirt] [BUG] EPOLL_CLOEXEC undeclared

2012-01-18 Thread Philipp Hahn
Hello Eric, Eric Blake wrote: On 01/17/2012 04:42 AM, Philipp Hahn wrote: And what kernel is that system running? 2.6.32 We already refuse to compile lxc for RHEL 5 (kernel 2.6.18), as that particular kernel is too old to usefully support namespace and other operations required by lxc. I

Re: [libvirt] [BUG] EPOLL_CLOEXEC undeclared

2012-01-17 Thread Eric Blake
On 01/17/2012 04:42 AM, Philipp Hahn wrote: >> glibc has supported epoll_create1() and EPOLL_CLOEXEC since glibc 2.9. > > That's the problem on this (old) Debian Lenny system: > # dpkg-query -W libc6-dev > libc6-dev 2.7-18.32.201101241735 And what kernel is that system running? We already

Re: [libvirt] [BUG] EPOLL_CLOEXEC undeclared

2012-01-17 Thread Philipp Hahn
Hello Eric, thank you for taking a look at my problem. On Monday 16 January 2012 16:36:00 Eric Blake wrote: > On 01/16/2012 08:07 AM, Philipp Hahn wrote: > > $ dpkg-query -W linux-libc-dev > > linux-libc-dev 2.6.32-35~ucs1.48.201109051614 > > glibc has supported epoll_create1() and EPOLL_CLOEXEC

Re: [libvirt] [BUG] EPOLL_CLOEXEC undeclared

2012-01-16 Thread Eric Blake
On 01/16/2012 08:07 AM, Philipp Hahn wrote: > Hi, > > $ cat /etc/debian_version > 5.0.1 > $ dpkg -S eventpoll.h > linux-libc-dev: /usr/include/linux/eventpoll.h > $ dpkg-query -W linux-libc-dev > linux-libc-dev 2.6.32-35~ucs1.48.201109051614 glibc has supported epoll_create1() and EPOLL_CLOEXEC

[libvirt] [BUG] EPOLL_CLOEXEC undeclared

2012-01-16 Thread Philipp Hahn
Hi, $ cat /etc/debian_version 5.0.1 $ dpkg -S eventpoll.h linux-libc-dev: /usr/include/linux/eventpoll.h $ dpkg-query -W linux-libc-dev linux-libc-dev 2.6.32-35~ucs1.48.201109051614 $ git describe v0.9.9-57-g7eb9cfd $ ./autogen.sh ; make ... (cd .libs && rm -f libvirt_test.la && ln -s ../libvirt