-
Notifications
You must be signed in to change notification settings - Fork 71
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
Build fails on Windows/MSVC #271
Comments
I'll take a look at it. Thanks for the info. |
Hey @targos, with these changes in v8.patch I was able to build Node.js. I know there is a GHA for building on Windows, but I'm not sure if there is a way to run tests on Windows through this repo (I couldn't find it). In any case, we can always use the CI for that. Since I'm new to this repo, can you try applying this patch and running it through GHA, or explain to me how to do it? A few details on the problem - there were two problematic commits in V8 I found: v8/v8@cb9bdcf and v8/v8@8005bd2. I did partial reverts of them as they were refactoring some parts of code that were problematic when building. The biggest issue was changing the |
That's probably the best thing to do. I guess we can apply the patch temporarily if needed, but the goal should be to send changes upstream. I doubt that the would accept 2 reverts? |
An update on this - I see that last week, some changes landed in fixed-array.h and other related files. Since this can happen at any time, and we have no control over it, I suggest leaving it like this until the next Node.js V8 update that is affected by it. When that happens, we'll have the exact version of V8 to work with and I can start from there and patch it. This is by no means an ideal approach, but since my changes revert parts of the code, I also doubt it will be accepted upstream. I'd like to get to it and make a decent fix that I can try to land in V8. Once I have more time to invest in that I will. |
@StefanStojanovic V8 update PR: nodejs/node#51362 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Are v8-canary builds for Windows still broken? I've been using a build from last September to test out the V8 dev trial for the Shared Structs proposal, but haven't been able to use any of the more recent versions as they are lacking windows builds. |
Yes, they're still broken, and the fix from nodejs/node@6f6a7fc doesn't apply cleanly to V8's lkgr branch. |
As this issue is closed, are there any other issues that still prevent Windows canary builds in https://direct.nodejs.org/download/v8-canary/ ? |
I'll check tomorrow |
Still fails, but now for a different reason: https://ci-release.nodejs.org/job/iojs+release/10154/nodes=vs2022-x64/console
|
@joyeecheung does that ring a bell? |
It's v8/v8@f4e0644 Needs a gyp variant of v8/node#176 |
I pushed 47d3875 🤞🏻 |
It broke everything. I found another way to make it right: bf29057 |
Build is fixed. I'll close tomorrow if the canary release works |
Builds for Windows seem back again: https://direct.nodejs.org/download/v8-canary/v23.0.0-v8-canary20240429c20f5ac96c/ Thank you for revitalizing them. |
Finally 😭 |
See https://github.com/nodejs/node-v8/actions/runs/6878827246/job/18709360221
It's been happening for some times (several weeks I think). I hoped it would fix itself upstream like it happens sometimes, but unfortunately these errors don't go away.
/cc @nodejs/platform-windows
The text was updated successfully, but these errors were encountered: