build: use --whole-archive for pthread with --fully-static#30199
build: use --whole-archive for pthread with --fully-static#30199addaleax wants to merge 1 commit intonodejs:mainfrom
Conversation
This resolves a crash during the build of Node.js when built with `./configure --fully-static`. Fixes: nodejs#30180
|
Is possible to add a CI job for this ? Possible can be done via #30057 |
|
@gengjiawen I guess, but I think that’s something someone else might have to do :) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
ping @addaleax - is this stuck because there is not a proper CI job to test this, or any other concerns w.r.t the change itself? edit - I see recent conversations on this PR, so |
|
@gireeshpunathil It’s stuck because it isn’t at the top of my priority list :)
Neither. CI doesn’t pass because this doesn’t work on all platforms; I assume the next step would be to figure out which platforms those are and how to turn that into a condition in the gypfile. |
8ae28ff to
2935f72
Compare
|
Rerunning CI to see which platforms are failing - I've seen a report (outside of GH) of another user hitting an error when building with From a suggestion from @miladfarca, |
This comment has been minimized.
This comment has been minimized.
How is it passing without the patch? It literally won't build at all with the fully static option. |
|
This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open. |
|
Closing this because it has stalled. Feel free to reopen if this issue/PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. |
This resolves a crash during the build of Node.js when built
with
./configure --fully-static.Fixes: #30180
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes