Repository navigation
build: link CRT_fp10.o into the Windows DLL - #8
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows stopped linking after an MSYS2 toolchain update (MinGW-w64 r532, gcc 16.2):
undefined reference to __mingw_fe_dfl_envfrom 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.