-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
ARM64 compilation broken on VS 2022 17.11 #54898
Comments
Is there any good reason for MSVC to start erroring here? If not, I would expect a bug report to Microsoft, not an upstream patch (we can still float something in the mean time) |
Based on the code being guarded with Here is the issue that caused it to be added back in 2020, and another one from 2 weeks that I just saw now and the PR referencing it does the same thing I did upstream in one of the projects. With all of this in mind, would it be acceptable to land a floating patch in Node.js since the upstream projects are also getting that fix? |
Yes, IMO it's always acceptable to land a floating patch when the dependencies have their own release cycles. |
OK, I will open a PR later in the day. |
Fixes: #54898 PR-URL: #54970 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Fixes: nodejs#54898 PR-URL: nodejs#54970 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> # Conflicts: # deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c # deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
Fixes: nodejs#54898 PR-URL: nodejs#54970 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
Fixes: nodejs#54898 PR-URL: nodejs#54970 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> # Conflicts: # deps/ngtcp2/nghttp3/lib/nghttp3_ringbuf.c # deps/ngtcp2/ngtcp2/lib/ngtcp2_ringbuf.c
Fixes: nodejs#54898 PR-URL: nodejs#54970 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
What steps will reproduce the bug?
Running
vcbuild.bat arm64
.How often does it reproduce? Is there a required condition?
Always with the main branch and VS 17.11.
What is the expected behavior? Why is that the expected behavior?
I expect Node.js to compile.
What do you see instead?
Compilation fails with:
Additional information
As described in nodejs/build#3739 there is a compilation issue with VS 17.10. This was fixed in 17.11 which is currently the latest one. Our CI is pinned at VS 17.9 and now we want to move to vs 17.11, but even though x64 compilation is fixed, ARM64 fails. The issue is from the 2 dependency projects.
I'm pinging @jasnell and @zcbenz since they modified this file before (mostly as a part of a dependency update process). I have a fix for this and it is a straightforward one that uses
_MSC_VER
to make sure the problematic code is not included in VS 17.11 and above:Although this could be applied as a floating patch to Node.js I assume we want to have these fixes in the projects upstream.
The text was updated successfully, but these errors were encountered: