Skip to content

build: link CRT_fp10.o into the Windows DLL - #8

Merged
A13xB0 merged 2 commits into
mainfrom
ci-mingw-crt
Oct 24, 2026
Merged

A13xB0 merged 2 commits into
mainfrom
ci-mingw-crt

Conversation

@A13xB0

@A13xB0 A13xB0 commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Windows stopped linking after an MSYS2 toolchain update (MinGW-w64 r532, gcc 16.2): undefined reference to __mingw_fe_dfl_env from libmingwex's fesetenv. That symbol is in CRT_fp10.o, which gcc adds to a program's link but not a static DLL's, so build.sh now names it. Main from 19 Oct fails the same way on a re-run.

MSYS2's gcc 16.2 links against a libmingwex that references
__mingw_fe_dfl_env, which the installed runtime does not define, so every
Windows build stopped linking; main built on 19 Oct and the same commit fails
now.
MinGW-w64 r532 with gcc 16.2 stopped linking the static DLL: libmingwex's
fesetenv refers to __mingw_fe_dfl_env, defined in CRT_fp10.o, which gcc adds
to a program's link and not a DLL's. Main from 19 Oct fails the same way on a
re-run, so this is the toolchain. Drops the workflow change: installing the
runtime explicitly did not help.
@A13xB0 A13xB0 changed the title ci: install MinGW's C runtime beside gcc build: link CRT_fp10.o into the Windows DLL Oct 24, 2026
@A13xB0
A13xB0 merged commit 68f839e into main Oct 24, 2026
7 of 8 checks passed
@A13xB0
A13xB0 deleted the ci-mingw-crt branch October 24, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant