-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
build: aix: deoptimise implementation-visitor to avoid segfault #61550
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
base: main
Are you sure you want to change the base?
Conversation
|
Review requested:
|
|
Note: A build with |
|
(Force push before anyone reviews it in order to fix a typo in the commit message) |
richardlau
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering if it is more technically correct to put these in cflags_cc but based on other existing usages in the same gyp file and that it has been tested to work LGTM.
|
Re-running test-macos GHA as first one failued |
When building node.js with
--sharedon AIX thetorqueexecution consistently fails with a segmentation fault. This has been tracked down by a change in the v20 timeframe when V8 was updated to 11.3.244.4 but at an initial cursory glance it's not immediately clear which change caused it.By experimentation (by other teams I have spoken to and extra work by myself) it has also been observed that dropping the optimisation level from
-O3to-O1on one source file reliably prevents the crash from occurring. Just to be clear, this problem does not occur on the non-shared library build therefore this change reduces the optimisation only for the shared build and only on AIX.It is hoped that with this change we can reactivate the node-test-commit-aix-shared-lib job and maybe even add in the additional testing being proposed under #61463 in the future.