Skip to content
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

v22.3.0 compilation failure on Windows #53432

Closed
devraymondsh opened this issue Jun 12, 2024 · 1 comment
Closed

v22.3.0 compilation failure on Windows #53432

devraymondsh opened this issue Jun 12, 2024 · 1 comment
Labels
build Issues and PRs related to build files or the CI. known limitation Issues that are identified as known limitations. windows Issues and PRs related to the Windows platform.

Comments

@devraymondsh
Copy link
Contributor

devraymondsh commented Jun 12, 2024

Version

v22.3.0

Platform

Microsoft Windows NT 10.0.20348.0 x64

What do you see instead?

--snip--
2024-06-12T08:22:18.5172448Z   cipher_aes.c
2024-06-12T08:22:18.5173856Z   cipher_aes_cbc_hmac_sha.c
2024-06-12T08:22:18.5174689Z 
2024-06-12T08:22:18.5390061Z   Return code is 3221225477
2024-06-12T08:22:18.5390458Z 
2024-06-12T08:22:18.6273263Z   cipher_aes_cbc_hmac_sha1_hw.c
2024-06-12T08:22:18.6284786Z 
2024-06-12T08:22:18.7637389Z C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for '..\..\out\Release\\gen-regexp-special-case.exe' exited with code -1. [D:\a\libnode\libnode\node\tools\v8_gypfiles\run_gen-regexp-special-case.vcxproj]
--snip--
2024-06-12T08:24:03.8899607Z   opt.c
2024-06-12T08:24:04.0118576Z 
2024-06-12T08:24:05.6891522Z   access-info.cc
2024-06-12T08:24:05.7977655Z 
2024-06-12T08:24:12.6905458Z   instruction-selector.cc
2024-06-12T08:24:12.7060537Z 
2024-06-12T08:24:18.7738157Z D:\a\libnode\libnode\node\deps\v8\src\compiler\turboshaft\opmasks.h(150,75): error C2100: you cannot dereference an operand of type 'v8::internal::compiler::turboshaft::WordRepresentation' [D:\a\libnode\libnode\node\tools\v8_gypfiles\v8_compiler.vcxproj]
2024-06-12T08:24:18.7866245Z 
2024-06-12T08:24:18.9900284Z D:\a\libnode\libnode\node\deps\v8\src\compiler\turboshaft\opmasks.h(136,15): fatal  error C1907: unable to recover from previous error(s); stopping compilation [D:\a\libnode\libnode\node\tools\v8_gypfiles\v8_compiler.vcxproj]
2024-06-12T08:24:18.9902979Z 
2024-06-12T08:24:19.1932148Z D:\a\libnode\libnode\node\deps\v8\src\compiler\turboshaft\representations.h(457,49): message : while evaluating constexpr function 'v8::internal::compiler::turboshaft::WordRepresentation::value' [D:\a\libnode\libnode\node\tools\v8_gypfiles\v8_compiler.vcxproj]
2024-06-12T08:24:19.3960091Z 
2024-06-12T08:24:19.5996821Z D:\a\libnode\libnode\node\deps\v8\src\compiler\turboshaft\opmasks.h(150,75): message : while evaluating constexpr function 'v8::internal::compiler::turboshaft::WordRepresentation::operator v8::internal::compiler::turboshaft::WordRepresentation::Enum' [D:\a\libnode\libnode\node\tools\v8_gypfiles\v8_compiler.vcxproj]
2024-06-12T08:24:19.7554539Z 
2024-06-12T08:24:19.8337396Z   INTERNAL COMPILER ERROR in 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\bin\HostX64\x64\CL.exe'
2024-06-12T08:24:20.0060359Z 
2024-06-12T08:24:20.0369195Z       Please choose the Technical Support command on the Visual C++
2024-06-12T08:24:20.1473093Z 
2024-06-12T08:24:20.2129797Z       Help menu, or open the Technical Support help file for more information
2024-06-12T08:24:20.2397469Z 
2024-06-12T08:24:21.2441830Z   instruction-scheduler.cc
2024-06-12T08:24:21.2442377Z 
2024-06-12T08:24:22.0952690Z   copying-phase.cc
2024-06-12T08:24:22.0955120Z   s_socket.c
2024-06-12T08:24:22.0987280Z 
2024-06-12T08:24:22.0991450Z   gap-resolver.cc
--snip--
2024-06-12T08:24:23.8405291Z   decompression-optimization-phase.cc
2024-06-12T08:24:23.8406281Z 
2024-06-12T08:24:27.3221883Z D:\a\libnode\libnode\node\deps\v8\src\compiler\turboshaft\opmasks.h(150,75): error C2100: you cannot dereference an operand of type 'v8::internal::compiler::turboshaft::WordRepresentation' [D:\a\libnode\libnode\node\tools\v8_gypfiles\v8_turboshaft.vcxproj]
2024-06-12T08:24:27.3251379Z 
2024-06-12T08:24:27.3457869Z D:\a\libnode\libnode\node\deps\v8\src\compiler\turboshaft\opmasks.h(136,15): fatal  error C1907: unable to recover from previous error(s); stopping compilation [D:\a\libnode\libnode\node\tools\v8_gypfiles\v8_turboshaft.vcxproj]
2024-06-12T08:24:27.3491117Z D:\a\libnode\libnode\node\deps\v8\src\compiler\turboshaft\representations.h(457,49): message : while evaluating constexpr function 'v8::internal::compiler::turboshaft::WordRepresentation::value' [D:\a\libnode\libnode\node\tools\v8_gypfiles\v8_turboshaft.vc
2024-06-12T08:24:27.3570518Z xproj]
2024-06-12T08:24:27.3849555Z D:\a\libnode\libnode\node\deps\v8\src\compiler\turboshaft\opmasks.h(150,75): message : while evaluating constexpr function 'v8::internal::compiler::turboshaft::WordRepresentation::operator v8::internal::compiler::turboshaft::WordRepresentation::Enum' [D:\a\libnode\libnode\node\tools\v8_gypfiles\v8_turboshaft.vcxproj]
2024-06-12T08:24:27.3856752Z   INTERNAL COMPILER ERROR in 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.40.33807\bin\HostX64\x64\CL.exe'
2024-06-12T08:24:27.3884417Z       Please choose the Technical Support command on the Visual C++
2024-06-12T08:24:27.3948591Z       Help menu, or open the Technical Support help file for more information
2024-06-12T08:24:27.4457754Z 
2024-06-12T08:24:27.5335236Z   access-builder.cc
2024-06-12T08:24:27.5366051Z 
2024-06-12T08:24:27.7883500Z   debug-feature-lowering-phase.cc
@targos
Copy link
Member

targos commented Jun 12, 2024

This is a known bug in MSVC, see nodejs/build#3739
The only solution for now is to use an earlier version that doesn't have this bug.

@targos targos closed this as not planned Won't fix, can't repro, duplicate, stale Jun 12, 2024
@RedYetiDev RedYetiDev added windows Issues and PRs related to the Windows platform. build Issues and PRs related to build files or the CI. known limitation Issues that are identified as known limitations. labels Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. known limitation Issues that are identified as known limitations. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

3 participants