Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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.