New submission from Wataru Matsumoto:

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.

----------
files: selectmodule.patch
keywords: patch
messages: 282746
nosy: sxsns243
priority: normal
severity: normal
status: open
title: selectmodule build fails
type: compile error
versions: Python 3.7
Added file: http://bugs.python.org/file45806/selectmodule.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28914>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to