Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-14
14:14 • Closed ticket [4832b53e85]: Build error with TCL 8.7 on Centos 6 plus 4 othe... artifact: 5be8b9b711 user: serhiy.storchaka
2020-06-19
06:08 • Ticket [a850726018] epoll detection in cross-compile environments status sti... artifact: e628699ea8 user: andy
05:56 • Ticket [4832b53e85] Build error with TCL 8.7 on Centos 6 status still Open w... artifact: 6d4dfee1ed user: andy
05:55 • Ticket [a850726018] epoll availability detection in cross-compile environments</... artifact: 56aaaf407d user: andy
05:54 • New ticket [a850726018]. artifact: 81aac85cf4 user: andy

epoll detection in cross-compile environments

Opena850726018ef31416d9b9f990581597f80a0834fCreated 6 years agoUpdated 6 years ago
Descriptionplain2020-06-19 05:54:06
The check for epoll doesn't take cross-compile environments into account.  If the build system has epoll, NOTIFIER_EPOLL gets #defined, even if the host/target system does not.  This results in a build failure when the epoll header file is not found in the cross-compile sysroot.

There does not appear to be a nice way to disable epoll when it's erroneously detected.  The best I have for now is:

sed -i '/#define NOTIFIER_EPOLL 1/d' tcl8.7a3/unix/configure
Referenced by1
  • 5be8b9b711Closed ticket [4832b53e85]: Build error with TCL 8.7 on Centos 6 plus 4 other changes ticket2026-10-14 14:14:02
andy (claiming to be Andy Goth)wiki2020-06-19 05:55:53
andy Ticket [a850726018]: 3 changes [History diff]2020-06-19 06:08:35
Log in (anonymous is fine) to add a comment.