GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — build: fix AIX shared library exports generation by sxa · Pull Request #67359 · nodejs/node Conversation
|
| Mangled | Readable version / meaning |
|---|---|
| _ZN4node15SnapshotBuilder23GetEmbeddedSnapshotDataEv | node::SnapshotBuilder::GetEmbeddedSnapshotData() |
| _ZN4node8builtins11BuiltinInfo13parameter_mapE | node::builtins::BuiltinInfo::parameter_map |
| _ZGVN4node8builtins11BuiltinInfo13parameter_mapE | Guard for parameter_map (one-time static init) |
| _ZNSt3__1…__do_rehash… | libc++ unordered_map rehash (from generated snapshot translation unit) |
| _ZNSt3__1…__emplace_unique_key_args… | libc++ hash table insert for builtin metadata |
| _ZNSt3__1…basic_string…__init_copy_ctor_external… | libc++ string helper used during static setup |
If there was a desire to have a minimal change in this patch we could take this part out which would also remove the need for the extra parameter for the create_expfile.sh.
The script was updated to:
dump -tov (including HIDDEN filtering).obj.target/<target>/*.o for the current target (e.g. libnode).expfile_extra_inputs so make orders the expfile step after snapshot objects exist.| File | Patch |
|---|---|
Makefile |
node.exp prereq + build rule for addon/doc headers on AIX/OS400 |
node.gyp |
generate_node_exp, thin node ldflags, expfile_extra_inputs on libnode |
node.gypi |
Expfile action inputs / create_expfile.sh invocation |
tools/create_expfile.sh |
.o files, snapshot ordering, dump -tov preserved |
node.gyp |
Extra -Wl,-brtl on shared AIX node (often redundant) |
Changes are also being verified on ibmi to ensure they do not break anything there: https://ci.nodejs.org/job/node-test-commit-ibmi/2534/
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Shared library build at https://ci.nodejs.org/job/node-test-commit-aix-shared-lib/nodes=aix73-power9/2617 worked with one exception - but that's much better than previously. Noting that the test does have a block for Windows: but in our case it does pass on AIX in the non-shared builds. Incoming force push to update commit message, but no extra code changes. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
reason for the failure may be related to the runtimelin linking options (or lack of them!) in the shared library builds. Latest commit will try to resolve that by adding this to the shared library clause: Related: #15286 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Stewart X Addison <[email protected]> Assisted-by: Cursor
e00951e to
71e6723
Compare
Signed-off-by: Stewart X Addison <[email protected]>
|
Second commit here updates the pingpong test so that it works as well. This could reasonably be a separate PR so if that is desired I can split it out. The functionality can be reviewed separately, which is why I have not squashed the PRs. This is the first time I've looked at this test but it seems quite unique in some of what it does, and happens to trip up on AIX's shared library scenario. The test does three things: load On AIX, ping.so was built with With the fix:
[*] - Replacing assert with explicit checks that throw into JavaScript makes Release behave like a real test failure instead of a silent native crash. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
https://ci.nodejs.org/job/node-test-commit-aix-shared-lib/2623/ passes with this PR :-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Stewart X Addison <[email protected]>
|
The linter check is objecting to the single quotes being used for the inlined |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Stewart X Addison <[email protected]>
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Looks like the github actions runs are all over the place: but they were passing successfully prior to the linter fixes so I am not concerned about them. EDIT: https://status.canonical.com/#/ shows that they are having problems at the moment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
9b3add7 to
85232b2
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #67359 +/- ## ========================================== - Coverage 90.72% 90.68% -0.04% ========================================== Files 798 800 +2 Lines 280015 281001 +986 Branches 53858 54297 +439 ========================================== + Hits 254046 254836 +790 + Misses 16264 16263 -1 - Partials 9705 9902 +197 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Stewart X Addison <[email protected]>
36cb728 to
154e9ad
Compare
There was an error while loading. Please reload this page.
|
New IBMi build: https://ci.nodejs.org/job/node-test-commit-ibmi/nodes=ibmi74-ppc64/2540 (EDIT: Completed with no additional errors over normal runs) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Will need another resume. Latest re-run hit a problem on macos/arm64: Origin problem was on macos/x64 in addition to a failure of sequential/test-watch-mode-worker on ubuntu2404_sharedlibs_openssl30_x64: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@sxa this is also failing https://github.com/nodejs/node/actions/runs/43907538418/job/133440303251?pr=67359 and would need to be addressed before it can land. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Stewart X Addison <[email protected]>
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Commit Queue failedThe pull request was removed from the Commit Queue and labeled
commit-queue-failed
Full Commit Queue output |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
My bad - I mis-remembered that |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@sxa FYI since this PR has multiple commits, commit-queue would need to be told whether to squash or rebase before it would be able to land it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Stewart X Addison <[email protected]> Assisted-by: Cursor PR-URL: #67359 Reviewed-By: Richard Lau <[email protected]>
|
Landed in ab5fac7 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Stewart X Addison <[email protected]> Assisted-by: Cursor PR-URL: #67359 Reviewed-By: Richard Lau <[email protected]>
Signed-off-by: Stewart X Addison <[email protected]> Assisted-by: Cursor PR-URL: nodejs#67359 Reviewed-By: Richard Lau <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.