Tk Source Code

View Ticket
Login
2025-07-16
18:52 Closed ticket [06892c6e]: loading windows dll's in Cygwin doesn't work with high-entropy-va plus 7 other changes artifact: d9f00b1e user: jan.nijtmans
18:52
Fix [06892c6e12]: loading windows dll's in Cygwin doesn't work with high-entropy-va check-in: e95e9fec user: jan.nijtmans tags: core-9-0-branch
18:40
Fix [06892c6e12]: loading windows dll's in Cygwin doesn't work with high-entropy-va check-in: fc6a6c85 user: jan.nijtmans tags: core-8-6-branch
18:37
Fix [06892c6e12]: loading windows dll's in Cygwin doesn't work with high-entropy-va check-in: 770fa0fa user: jan.nijtmans tags: trunk, main
17:12 New ticket [06892c6e] loading windows dll's in Cygwin doesn't work with high-entropy-va. artifact: 3813b9e3 user: jan.nijtmans

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