Tk Source Code

View Ticket
Login
Ticket UUID: 06892c6e1279b9ea100572fc17c9b40fbfe4b11d
Title: loading windows dll's in Cygwin doesn't work with high-entropy-va
Type: Bug Version:
Submitter: jan.nijtmans Created on: 2025-07-16 17:12:59
Subsystem: 81. Portability Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2025-07-16 18:52:21
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2025-07-16 18:52:21
Description:

When cross-compiling tk.dll in Cygwin using gcc version > 10, everything breaks. Therefore I never upgraded gcc. Now I found the cause of this problem: Higher gcc versions (actually the linker!) enable hi-entropy-va, which conflicts with Cygwin.

Solution: use the --disable-high-entropy-va linker option

User Comments: jan.nijtmans added on 2025-07-16 18:52:21:

See als this link.

Fixed now on all branches