Message282746
selectmodule build fails with the linux without epoll_create1(before kernel 2.6.27).
building 'select' extension
gcc -pthread -fPIC -fno-strict-aliasing -Wsign-compare -g -O0 -Wall -Wstrict-prototypes -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -I./Include -I. -I/usr/local/include -I/home/wmatsumo/download/cpython/Include -I/home/wmatsumo/download/cpython -c /home/wmatsumo/download/cpython/Modules/selectmodule.c -o build/temp.linux-x86_64-3.7-pydebug/home/wmatsumo/download/cpython/Modules/selectmodule.o
/home/wmatsumo/download/cpython/Modules/selectmodule.c: In function 'pyepoll_new':
/home/wmatsumo/download/cpython/Modules/selectmodule.c:1306: error: 'EPOLL_CLOEXEC' undeclared (first use in this function)
/home/wmatsumo/download/cpython/Modules/selectmodule.c:1306: error: (Each undeclared identifier is reported only once
/home/wmatsumo/download/cpython/Modules/selectmodule.c:1306: error: for each function it appears in.)
It seems due to the below change.
http://bugs.python.org/issue20100
It have to check HAVE_EPOLL_CREATE1 is defined before using EPOLL_CLOEXEC. |
|
Date |
User |
Action |
Args |
2016-12-09 00:35:21 | sxsns243 | set | recipients:
+ sxsns243 |
2016-12-09 00:35:21 | sxsns243 | set | messageid: <1481243721.04.0.91028253928.issue28914@psf.upfronthosting.co.za> |
2016-12-09 00:35:20 | sxsns243 | link | issue28914 messages |
2016-12-09 00:35:20 | sxsns243 | create | |
|