-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
windows build start failed on main caused by MSVC update #43092
Comments
Looks like we need to do something similar https://sourcegraph.com/github.com/nodejs/node/-/blob/deps/v8/src/objects/fixed-array.h?L137 for get method. |
The fix reported in #42560 fixes the VS2022 build for Node 14.x and 16.x (MS just released the fix for that in VS 2022 17.3), but the issue with the
As @gengjiawen already mentioned above, a similar fix is most likely needed for the |
I did more research, it's actually a MSVC optimize flag regression. The debug build works. But I have no clue which optimize flag cause this. |
Bug still present in Visual Studio 17.4.0. |
@gengjiawen did you create an MSVC ticket for it? |
Nope. Feel free to create one. Have to be on windows (The entry is on VS IIRC, don't has a PC now). |
I'd gladly do it but I don't know how to write an actionable ticket with this bug. |
Maybe similar to https://developercommunity.visualstudio.com/t/Failed-to-compile-nodejs-16140-with-la/1682115?space=62&q=nodejs. Provide the good MSVC version and broken version. |
This comment was marked as outdated.
This comment was marked as outdated.
@gengjiawen I'm getting the same unresolved |
Use visual studio 2019 before MSVC fix this issues. |
I'll give that a shot, just my two cents. It'd be great if we had a way to override the PLATFORM_TOOLSET, and didn't overwrite it from vcbuild.bat based on the visual studio version. I don't have a full visual studio 2019, but I do have the 2019 compiler and build tools installed on 2022. Edit: Never mind, I figured out that you can set |
Clearly MSVC don't want to admit this regression and disabled comment. But still I want to leave this open for a while. |
** TLDR **
MSVC don't care about this issue. nothing to do on our side
**TLDR: Please upvote this MSVC issue to help us resolve this issue.**https://developercommunity.visualstudio.com/t/build-failed-on-Nodejs-introduced-in-17/10201632
Details
works good:
https://github.com/nodejs/node/runs/6376797643?check_suite_focus=true
Visual Studio: 17.1.32421.90 (Visual Studio Enterprise 2022)
failed:
https://github.com/nodejs/node/runs/6428804600?check_suite_focus=true
Visual Studio: 17.2.32505.173 (Visual Studio Enterprise 2022)
I don't know it's a new bug or MSVC introduced a braking change.
cc @nodejs/build @nodejs/actions
also we have #42560 pending on MSVC side to fix.
The text was updated successfully, but these errors were encountered: