-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building on Windows #56
Comments
Interesting:
|
Presumably |
I guess the not-founds are related to
@lorentey Seems a compiler bug now? |
Huh, it does smell like there's a compiler bug involved then. It would be useful to get symbols and/or line-level debug info for that stack trace. 🤔 |
It's super unfortunate that stack trace on Windows doesn’t contain symbol names. Any suggestions for further debugging? |
I haven't immediately found docs for that -- this may be worth asking about in the Windows section of the forums. Note that the assertion could be a side effect of manually adding the clang headers to the module path; it isn't necessarily relevant to the original build failure. |
I filed swiftlang/swift#60534 for this one. Will try with VS 2022 to see if anything’s different. The original one should be triggered by missing Clang header. VS 2022 provides a |
I'm going to close the issue with the following conclusions:
|
Not sure why this was closed. IIUC, the package still has problems building on Windows. |
The work in progress to eliminate _AtomicsShims would likely help with this platform, too. |
I pieced together some workarounds from the links above in this comment: Unfortunately building this on Windows is still failing with a JSON decoding error during -emit-module. I'm giving up on trying to make 1.1.0 work on Windows; PRs would of course be appreciated. I'd be happy to ship potential fixes in future releases. |
Swift Atomics doesn't compile on Windows.
Information
main
,1.0.2
Checklist
main
branch of this package.Steps to Reproduce
Clone & checkout the repository on a Windows machine with Swift toolchain installed. Use
swift build
to compile.Expected behavior
The package is supposed to compile successfully.
Actual behavior
swift-output.txt
The text was updated successfully, but these errors were encountered: