Uh oh!
There was an error while loading. Please reload this page.
v8: update v8 patch to avoid breaking building with clang - #52303
Conversation
nodejs-github-bot
commented
Apr 1, 2024
Review requested:
|
targos
commented
Apr 1, 2024
nodejs-github-bot
commented
Apr 1, 2024
nodejs-github-bot
commented
Apr 1, 2024
nodejs-github-bot
commented
Apr 1, 2024
targos
commented
Apr 1, 2024
@zcbenz Unfortunately this breaks compilation with MSVC. |
c491545 to
50735b2Comparenodejs-github-bot
commented
Apr 2, 2024
nodejs-github-bot
commented
Apr 2, 2024
nodejs-github-bot
commented
Apr 2, 2024
zcbenz
commented
Apr 2, 2024
It turns out the |
gengjiawen
commented
Apr 2, 2024
Can you also try upstream those changes ? |
This PR means to fix the breakages introduced by b9d806a, according to its commit message it is not going to be upstreamed, so neither will this change. |
StefanStojanovic
commented
Apr 3, 2024
You are correct, this will not be upstreamed. @zcbenz, as a part of work on #52293 I'm porting my patch there (cannot apply cleanly because the files it modifies were changed in the meantime). Once it's ready (eg. working on all platforms), I'll let you know and we can apply your changes before landing it in the V8 update branch, so it's all there together. |
nodejs-github-bot
commented
Apr 10, 2024
StefanStojanovic
commented
Apr 26, 2024
@zcbenz just to let you know that neither V8, nor its patches I made starting from v12.3 have |
zcbenz
commented
Apr 27, 2024
Thanks for letting me know! I'll give it a try. |
When building with C++20 using a very new clang (which is used by the GN build), compilation would fail caused because of the change in b9d806a.
The detailed errors can be found in:
https://github.com/photoionization/node_with_gn/actions/runs/8501717771/job/23284924676
My understanding of the error is that, after changing
if constexprtoif, some code that were not supposed to be compiled are now compiled, and it is causing problems for certain compiler settings.