Tcl Source Code

View Ticket
Login
Ticket UUID: a850726018ef31416d9b9f990581597f80a0834
Title: epoll detection in cross-compile environments
Type: Bug Created on: 2020-06-19 05:54:06
Submitter: andy Assigned to: nobody
Subsystem: 01. Notifier Severity: Minor
Priority: 5 Medium Last modified: 2020-06-19 06:08:35
Status: Open Closed by: nobody
Resolution: None Closed on:
Version: 8.7a3
Description:
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
User Comments:
andy (claiming to be Andy Goth) added on 2020-06-19 05:55:53:

See also [4832b53e8506df52504dea32777810b84bc20e73]