-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
AIX: build failure #7500
Comments
Looking at the library we are failing on, good chance its not related to v8 at all. May be related to: |
i'll take a look tomorrow . mayb be able to trim symbols? what is overflowing here? |
Thanks @mhdawson, -Wl,-bbigtoc solves the issue, tested locally. As it is trying to build mksnapshot, (and subsequently node, whose memory demand is even more) this flag is required in common.gypi, not in the V8 build scripts. I will come up with a PR for this one. @srl295, looks like there are extra 10K symbols added into libv8_base.a in the last 2 days:
Also, when successfully build with increased TOC, I get this warning: (mksnapshot) (node) So numbers have gone quite high, and reducing symbols may not be feasible (I think). |
But then after this is fixed, AIX build fails with: ../src/backtrace_posix.cc:16:22: fatal error: execinfo.h: No such file or directory Looks like we don't have execinfo.h in AIX. The commit which introduced this change is 787eddf : src: print backtrace on fatal error. |
Does AIX have backtrace(3) and if so, where does it live? |
I don't see a backtrace() API in AIX, however, will do some more search to see if there is an alternative. |
PR #7508 raised for the build failure. |
Can you summariZe the 10k symbols? What are they?
|
I don't see any visible patterns with respect to addition. Have sent you a zip file with the diff |
@gireeshpunathil thanks. you can send to |
@gireeshpunathil I reviewed the list. I don't think it's related to #7355 - none of the symbols seemed relevant to ICU. They are all v8 internals. |
Landed as d80432d |
AIX linker has a table of contents with default size 64K The recent code inclusions in V8 brings in lot of new symbols which necessitates to increase this default. Please note that the debug build already has this flag Fixes: #7500 PR-URL: #7508 Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix61-ppc64/236/console
I know we had to use a larger toc recently in some part of the v8 AIX builds but I thought that failure was only in v8 master. Will have to see if it also needs to be back ported. Its also possible that some of the Node specific changes pushed it over the limit.
The text was updated successfully, but these errors were encountered: