-
Notifications
You must be signed in to change notification settings - Fork 466
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
[SR-14314] [Windows] Linker errors building libdispatch for x86 #606
Comments
cc @compnerd |
The issue can also be reproduced using either |
What's the solution for |
I haven’t found a solution for this issue so far. |
I'm going to close off this issue. https://dev.azure.com/compnerd/swift-build/_build/results?buildId=60189&view=logs&j=dd7b6b62-9f28-5f94-8c40-5f429eddf697&t=59165692-3d8b-580c-d072-b191af61d4c2 shows a valid build for x86. There was a time where the x86 build of libdispatch didn't work, but I believe all the issues have been resolved. Yes, this is a bit trickier to get right, but the following should give you a working build: FTR, the undefined symbol |
Attachment: Download
Environment
Clang 11.0.1
Visual Studio 2019
Windows 10 1909
Additional Detail from JIRA
md5: b4d8ba04a01d22ce72a059fa5b24e547
relates to:
Issue Description:
I'm trying to build libdispatch on Windows, which works fine for x64 (in a "x64 Native Tools Command Prompt for VS 2019").
However, building for x86 fails due to various linker errors for BlocksRuntime (full CMake invocation + CMake output + build output attached):
I am building in a "x86 Native Tools Command Prompt for VS 2019". Even then I had to also specify
CFLAGS/CXXFLAGS=-m32
for CMake to not try to target x64 to begin with.SR-11873 is similar.
The text was updated successfully, but these errors were encountered: