Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alpha
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-alpha@g.o
From: "José Luis Rivero (yoswink)" <yoswink@g.o>
Subject: Re: Problems with Squid
Date: Tue, 30 Jan 2007 20:08:10 +0100
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[6558]: 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:
> net-proxy/squid-2.6.7
> sys-libs/glibc-2.3.6-r4
> sys-devel/gcc-3.4.6-r2
> sys-kernel/linux-headers-2.6.11-r4
> What am I missing?
> Andrew

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[1]. The maintainer solution[2] 
applied was patch the ebuild to check if epoll support was enabled in 
the kernel.

Ebuild works just fine, detecting if the kernel has the epoll support 
enabled[3] 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[4] 
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@g.o>
Gentoo/Doc Gentoo/Alpha


if kernel_is ge 2 6 && linux_chkconfig_present EPOLL ; then
	myconf="${myconf} --enable-epoll"

[3] # grep 'CONFIG_EPOLL' /usr/src/linux/.config

gentoo-alpha@g.o mailing list

Re: Problems with Squid
-- Andrew Gaylard
Problems with Squid
-- Andrew Gaylard
Lists: gentoo-alpha: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Problems with Squid
Next by thread:
Re: Problems with Squid
Previous by date:
Problems with Squid
Next by date:
Re: Problems with Squid

Updated Jun 17, 2009

Summary: Archive of the gentoo-alpha mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.