-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 v5.15.7 #62
Comments
From bitwiseworks/qt5-os2#32 (comment):
I tried to hack around the NodeJS requirement, but no success. The Besides that, the following parts need attention:
The last two should be easy. |
Hey Dmik - did you have any luck yet with nodejs. I've done a bit of hacking of gyp, but am dying with a weird spawnvpe error: make.exe[1]: spawnvpe: environment space might be exhausted |
Hey, I don't know for sure but it may be as it says — some environment variable (PATH?) is too long. OS/2 has a limit of 32k on the whole environment block IIRC. |
Yeah you were right - the make system was generating an ar comand that was over 35000 characters... |
I've proposed a gyp tweak that should work around this once we get the
syntax right.
|
FWIW I'm down to about a dozen missing symbols to get a node.exe Assuming it does something useful, I'll setup a GitHub repo and try and fix the build system properly using Steven's suggestion to generate response files to overcome the 35k character commands gyp generates. I'm currently building node 10, I'll probably try and move to the LTS version for git to future proof is a bit |
I got a node.exe this evening... of course, it's giving a SIGILL on trying to run a simple example... https://smedley.id.au/tmp/63a0afef-bc39_01-NODE-exceptq.txt has the trap. Tired this evening so will look at it tomorrow |
Congrats! Collecting your patches in a GitHub repo is surely a good thing. I will be doing the same with my work on NodeJS too of course so that everybody could collaborate. |
Well hopefully we're not already duplicating efforts? |
That would be really not very efficient. I didn't go that far so if you can publish it soon I will wait. |
I'll start work tonight... Getting an executable involved hacking makefiles, which is not very efficient or sustainable long term :) |
Well, indeed, but still it may be useful as shows what needs to be tailored and where. |
Interesting exception. It appears to be by design in the generated code.
It will be interesting to know why the code decided to do this. It might
be the code's way of signaling a memory corruption issue.
|
https://github.com/psmedley/node-os2 is created - I need to apply current os2 patches - I've documented the issues I remember with gyp in issues at https://github.com/psmedley/node-os2/issues |
Cool! Will try it asap. I also have some more patches for Chromium, I will check if they are relevant. |
ok https://github.com/psmedley/node-os2 can now be used to generate a node.exe See conf.cmd for some hacks that are still required to out/makefile and some directories that need to be manually created Still generates a SIGILL on running :( |
@psmedley BTW any particular reason why you picked up quite an old NodeJS version? 10.x seems to be really old, the last update is back from early 2020. |
it seemed a good idea at the time :) and it was the minimum version that qt 6.2 needed. Once things are working a bit better, I'll aim to move to node 18 - the current LTS version FYI current node.exe is at https://smedley.id.au/tmp/node-10.19-os2-20221225.zip I started on v18 today... |
Well I see, I'm currently trying to build v19 with your patches so you might just hold on. |
V18 is mostly done https://github.com/psmedley/node-os2/tree/v18 but there is new stuff required in v8 platform-posix.cc Meanwhile my V10 build got me a bit further on qt6webengine |
Cool but did you fix the SIGILL problem or webengine build doesn't trigger it? |
Commit 5ee25ac4a7a4f108fc761924be1688b05b63abf1 hacked around the SIGILL which is a failed assertion |
BTW, to track the NodeJS build, there is another ticket, see above. |
We updated Qt to 5.15.7 in bitwiseworks/qt5-os2#32 and this introduces (expected) build breaks in Chromium. This ticket is to address them.
bitwiseworks/qtwebengine-os2#13 is related.
The text was updated successfully, but these errors were encountered: