Repository navigation
AIX: build failure #7500
Description
Activity
Looking at the library we are failing on, good chance its not related to v8 at all. May be related to:
- addedv8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.buildIssues and PRs related to Node.js builds or CI infrastructure.Issues and PRs related to Node.js builds or CI infrastructure.and removedv8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.
on Jun 30, 2016 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:
bash-4.3$ objdump -t june30/out/Release/obj.host/deps/v8/tools/gyp/libv8_base.a | wc -l 235775 bash-4.3$ objdump -t july1/out/Release/obj.host/deps/v8/tools/gyp/libv8_base.a | wc -l 245365Also, when successfully build with increased TOC, I get this warning:
(mksnapshot)
ld: 0711-783 WARNING: TOC overflow. TOC size: 70072 Maximum size: 65536(node)
ld: 0711-783 WARNING: TOC overflow. TOC size: 98928 Maximum size: 65536So 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
#include <execinfo.h>
^
compilation terminated.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
srl295ATgmail.comas well in case the zip got eaten@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.
libicutools.ajust needs to be included because it's the host-side ICU library used for the mksnapshot. So some v8 change happened, i think.Landed as d80432d
- added a commit that references this issue
on Jul 6, 2016 - added a commit that references this issue
on Jul 27, 2026
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.