yoswink at gentoo
Jan 30, 2007, 12:08 PM
Post #2 of 6
Andrew Gaylard escribiÃ³:
> Hello gentoo alpha people,
> I've noticed a problem starting up squid on my Miata box:
> Jan 30 02:47:01 supper squid: Squid Parent: child process 6560 started
> Jan 30 02:47:01 supper (squid): comm_select_init: epoll_create(): (78)
> Function not implemented
> The system's up to date as far as I can tell:
> What am I missing?
I'm also able to reproduce the failure. The situation, as far as I can
see,is as follow:
The problem was reported in bug #160637. The maintainer solution
applied was patch the ebuild to check if epoll support was enabled in
Ebuild works just fine, detecting if the kernel has the epoll support
enabled and adding the proper --enable-epoll in that case.
So if the kernel has support for it, the problem should be in a
different place, probably glibc or linux-headers. I found a test case
you can run just compiling it.
Later, I'll reopen the bug and see if one of our toolchain ninjas can
give it a try.
As a workaround, you can disable the epoll support commenting out the
"myconf ..." line in the ebuild (not tested but should work).
Thanks for reporting,
Jose Luis Rivero <yoswink [at] gentoo>
if kernel_is ge 2 6 && linux_chkconfig_present EPOLL ; then
 # grep 'CONFIG_EPOLL' /usr/src/linux/.config
gentoo-alpha [at] gentoo mailing list