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

Compiler error with VS2017 #157

Closed
targos opened this issue May 14, 2020 · 4 comments
Closed

Compiler error with VS2017 #157

targos opened this issue May 14, 2020 · 4 comments

Comments

@targos
Copy link
Member

targos commented May 14, 2020

https://ci.nodejs.org/job/node-compile-windows/33891/nodes=win-vs2017/console

09:52:37 c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\type_traits(616): error C2139: 'v8::internal::JSAggregateError': an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_convertible_to' [C:\workspace\node-compile-windows\node\tools\v8_gypfiles\v8_initializers.vcxproj]
09:52:37   c:\workspace\node-compile-windows\node\out\release\obj\global_intermediate\torque-output-root\torque-generated\internal-class-definitions-tq.h(109): note: see declaration of 'v8::internal::JSAggregateError'
09:52:37   c:\workspace\node-compile-windows\node\deps\v8\src\codegen\tnode.h(262): note: see reference to class template instantiation 'std::is_convertible<T,v8::internal::Object>' being compiled
09:52:37           with
09:52:37           [
09:52:37               T=v8::internal::JSAggregateError
09:52:37           ]
09:52:37   c:\workspace\node-compile-windows\node\out\release\obj\global_intermediate\torque-output-root\torque-generated\exported-macros-assembler-tq.cc(1418): note: see reference to class template instantiation 'v8::internal::is_subtype<v8::internal::JSAggregateError,v8::internal::JSAggregateError>' being compiled
09:52:37   c:\workspace\node-compile-windows\node\deps\v8\src\codegen\x64\register-x64.h(153): note: see reference to class template instantiation 'v8::internal::RegisterBase<v8::internal::XMMRegister,16>' being compiled
09:52:37   c:\workspace\node-compile-windows\node\deps\v8\src\codegen\x64\register-x64.h(53): note: see reference to class template instantiation 'v8::internal::RegisterBase<v8::internal::Register,16>' being compiled
@targos
Copy link
Member Author

targos commented May 14, 2020

/cc @nodejs/platform-windows any way we could work around this?

@joaocgreis
Copy link
Member

Ran https://ci.nodejs.org/job/node-test-binary-windows-native-suites/3232/ with the binaries that succeeded building in the job above. This does not include VS2017 because of the mix we use but includes VS2015 and it passed. So, this is probably not an issue for building native modules, only Node itself.

We'll have to see if this can be worked around with a simple patch, if not, dropping VS2017 for building Node sounds reasonable.

@targos
Copy link
Member Author

targos commented May 14, 2020

I'd like to be able to update V8 to 8.4 in Node 14, so dropping VS2017 wouldn't be enough this time.

@targos
Copy link
Member Author

targos commented May 27, 2020

Moving over to nodejs/node#33579 (comment)

@targos targos closed this as completed May 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants