Link secur32 for mingw - #230
Merged
Merged
Conversation
The Windows build gets through the manual link with one symbol left over: ld.lld: error: undefined symbol: InitSecurityInterfaceA That is SSPI, exported by secur32.dll, so add -lsecur32 next to the other Windows system libraries this link already names. It is the only symbol still undefined after that link. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BkRuYsAfRi5TvpWuAQeG2b
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.
The Windows (
x86_64-w64-mingw32) build reaches the manual link step, picks upthe Windows system libraries this recipe already appends, and still comes out
with a single undefined symbol:
InitSecurityInterfaceAis SSPI, exported bysecur32.dll, so add-lsecur32alongside the others. It is the only symbol still undefined after that link — I
checked the full set of
undefined symbol:lines emitted afterclang @bazel-bin/libReactantExtra.so-2.paramsruns, and that is the wholelist.
Surfaced by the Enzyme-JAX JAX bump (EnzymeAD/Enzyme-JAX#3250), where the
Windows jll is the last failing platform; the other seven now pass.
🤖 Generated with Claude Code
https://claude.ai/code/session_01BkRuYsAfRi5TvpWuAQeG2b
[skip ci]