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

Generating builtins-generated => The system cannot execute the specified program. #42

Closed
petebannister opened this issue Nov 23, 2020 · 7 comments · Fixed by #66 or #82
Closed

Comments

@petebannister
Copy link

I have a hunch that this is due to the command line getting too long? Possibly only a Windows issue building from a long sub-path. And by long I don't mean all that long at all really - perhaps 20 chars.
One build I did actually succeeded and then had unresolved externals linking mksnapsot. I guess it would be luck of the draw as to where MAX_PATH and any whitespace in the commandline intersect..

In any case it looks like it is a problem that will only get worse. And this stage of the build could presumably run multiple instances of torque in parallel to avoid the bottleneck here.

@gengjiawen
Copy link
Collaborator

gengjiawen commented Jan 5, 2022

Same issue, the windows CI works good, not sure why.

@bnoordhuis
Copy link
Owner

CI builds in D:/a/v8-cmake/build which is probably just short enough to avoid the issue.

@petebannister
Copy link
Author

This was quite a while ago now, but if IIRC, multiple files are passed to torque in one go. Perhaps this could be divided up and maybe even parallelized in the process - I think it was maxing out only one core on my system. But as I said this was a long time ago so I could be mistaken!!

@petebannister petebannister mentioned this issue Jan 5, 2022
@Jamlee
Copy link

Jamlee commented Jan 5, 2022

Same issue

@technyon
Copy link

technyon commented Feb 7, 2022

Any update on this? The windows build is completely broken like this, and there's already a pull request.

@ScSofts
Copy link

ScSofts commented Jul 16, 2022

I think I found some solutions.

  1. Clone your project in a shorter path
  2. Enable Long Paths in Windows 10, Version 1607, and Later
  3. Use an older version of v8-cmake

@kingdevnl
Copy link

Is there any other fix for this instead of having to use an older version?
I don't think for OSS it would be great to ask people to run a reg patch file to build a project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
7 participants