Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-02-05
09:31 • Ticket [1b6f81955c] 32-bit zlib1.dll now depends on libgcc_s_sjlj-1.dll stat... artifact: d55518dc06 user: jan.nijtmans
09:30 • Ticket [1b6f81955c]: 4 changes artifact: efd0d2d016 user: jan.nijtmans
09:00 • Closed ticket [1b6f81955c]. artifact: 54a7254696 user: jan.nijtmans
08:20 • Ticket [1b6f81955c]: 3 changes artifact: 3c543ea719 user: apnadkarni
07:58
Fix [1b6f81955c]: 32-bit zlib1.dll now depends on libgcc_s_sjlj-1.dll check-in: 02c648b778 user: jan.nijtmans tags: trunk, main
07:57
Fix [1b6f81955c]: 32-bit zlib1.dll now depends on libgcc_s_sjlj-1.dll check-in: 6207efe28d user: jan.nijtmans tags: core-9-0-branch
07:56
Fix [1b6f81955c]: 32-bit zlib1.dll now depends on libgcc_s_sjlj-1.dll check-in: b5f93b564b user: jan.nijtmans tags: core-8-6-branch
07:50 • Ticket [1b6f81955c] 32-bit zlib1.dll now depends on libgcc_s_sjlj-1.dll stat... artifact: 5e488c4cb1 user: jan.nijtmans
07:45 • New ticket [1b6f81955c]. artifact: 4ce8b8ba51 user: jan.nijtmans

32-bit zlib1.dll now depends on libgcc_s_sjlj-1.dll

Closed / Fixed1b6f81955c1058ca710f074f6e3ca054969d8a48Created 301 days agoUpdated 301 days ago
Descriptionwiki2026-02-05 07:45:59
Reported by Ashok:
Looking into the main branch failure, it appears the failure is indeed very recent, introduced with the zlib update. The new 32-bit Windows version checked into the repository has the following dependency

Import from module libgcc_s_sjlj-1.dll : Function __moddi3

This dependency is not there prior to the zlib update. zlib1 then fails to load as libgcc_s_sjlj-1.dll is not present.

Jan, could you take a look as you’re most familiar the zlib builds? Presumably it has something to do with SEH vs SJLJ in MinGW. Maybe the builds should be using SEH ?

/Ashok

Referenced by3
jan.nijtmanswiki2026-02-05 07:50:42

The difference between the zlib-1.3.1.2 build and the zlib-1.3.1 build is only that I used gcc-13.4 now while the earlier build used an earlier gcc (cross-) compiler. This dependency can be removed using the -static-libgcc linker option.

Can you confirm that [this] fixes it for you?

apnadkarniplain2026-02-05 08:20:16
That seemed to do the trick. Build and installs Thanks.
jan.nijtmanswiki2026-02-05 09:00:44

Fixed [here]

Thanks, Ashok, for reporting this.

jan.nijtmanswiki2026-02-05 09:30:40

[reported|https://github.com/madler/zlib/pull/1158] upstream as well.

jan.nijtmanswiki2026-02-05 09:31:23

reported upstream as well.

Log in (anonymous is fine) to add a comment.