Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Speaking of epoll....
From: Orion Poplawski (orion_at_[hidden])
Date: 2013-04-17 17:22:53


Building 1.7.1 on Fedora I'm seeing:

checking for epoll support... checking for epoll_ctl... yes
yes
checking for working epoll library interface... no
no
checking for working epoll system call... no
checking for epoll syscall support... no

Looking at config.log:

configure:13769: checking for working epoll library interface
configure:13822: gcc -o conftest -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic
-Wall -fno-strict-aliasing -I/builddir/build/BUILD/openmpi-1.7.1
-I/builddir/build/BUILD/openmpi-1.7.1
-I/builddir/build/BUILD/openmpi-1.7.1/opal/include -Wl,-z,noexecstack
conftest.c -lnsl -lutil -lm -lhwloc >&5
conftest.c: In function 'main':
conftest.c:137:5: warning: 'main' is normally a non-static function [-Wmain]
  int main(int argc, char **argv)
      ^
conftest.c: In function 'main':
conftest.c:143:16: error: expected expression before '[' token
      int fildes[[2]];
                 ^
conftest.c:147:22: error: expected expression before '[' token
      if (pipe(&fildes[[0]]) < 0)
                       ^
conftest.c:154:47: error: expected expression before '[' token
      if (epoll_ctl(epfd, EPOLL_CTL_ADD, fildes[[1]], &epevin) == -1)
                                                ^
conftest.c:143:9: warning: unused variable 'fildes' [-Wunused-variable]
      int fildes[[2]];
          ^
configure:13822: $? = 1

Which results in HAVE_EPOLL = 0kjj

Looks like an issue with m4 quoting. Also, it looks like this has been
addressed (removed) in libevent 2.0.21.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion_at_[hidden]
Boulder, CO 80301                   http://www.nwra.com