Message156237
| Author |
Alzakath |
| Recipients |
Alzakath |
| Date |
2012年03月18日.08:04:37 |
| SpamBayes Score |
0.0004916613 |
| Marked as misclassified |
No |
| Message-id |
<1332057878.8.0.554902086593.issue14359@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Linux Version:
2.6.18-238.19.1.el5 / CentOS release 5.8 (Final)
On changeset 75803:b26056192653 , I have the following compilation error:
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -IInclude -I. -I./Include -I/usr/local/include -I/home/proexp/cpython2 -c /home/proexp/cpython2/Modules/_posixsubprocess.c -o build/temp.linux-x86_64-3.3/home/proexp/cpython2/Modules/_posixsubprocess.o
/home/proexp/cpython2/Modules/_posixsubprocess.c: In function ‘_close_open_fd_range_safe’:
/home/proexp/cpython2/Modules/_posixsubprocess.c:207: erreur: ‘O_CLOEXEC’ undeclared (first use in this function)
/home/proexp/cpython2/Modules/_posixsubprocess.c:207: erreur: (Each undeclared identifier is reported only once
/home/proexp/cpython2/Modules/_posixsubprocess.c:207: erreur: for each function it appears in.)
The problem is the too old kernel version provided on CentOS 5 and RHEL 5 whic does not support O_CLOEXEC. I join my proposed patch for this issue. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年03月18日 08:04:38 | Alzakath | set | recipients:
+ Alzakath |
| 2012年03月18日 08:04:38 | Alzakath | set | messageid: <1332057878.8.0.554902086593.issue14359@psf.upfronthosting.co.za> |
| 2012年03月18日 08:04:38 | Alzakath | link | issue14359 messages |
| 2012年03月18日 08:04:37 | Alzakath | create |
|