Repository navigation
Broken V8 build on S390x #123
Description
Activity
@miladfarca can you take a look.
Is it possible to clear any cached files?
export 'CXX=ccache s390x-redhat-linux-g++'seems to be interfering with the dependencies. I unsetCCandCXXand compiled it successfully.@nodejs/build ^
Is it possible to clear any cached files?
export 'CXX=ccache s390x-redhat-linux-g++'seems to be interfering with the dependencies. I unsetCCandCXXand compiled it successfully.On the machine you can run
ccache -corccache --cleanupto wipe the cache completely. Maybe we could add some logic toselect-compiler.shto optionally (via an option on the Jenkins jobs) set theCCACHE_RECACHEenvironment variable which would ignore the stored cache but write the new results?Thanks @richardlau , Just ran the above command to clear cache. @targos is it possible to run the Jenkins job again.
Started a rebuild: https://ci.nodejs.org/job/node-test-commit-v8-linux/2679/
I ran the command as root, does it have to be ran as iojs? is it possible to delete the files manually or even disable the cache on Jenkins as a test?
Yes, it probably should be run as
iojs(the default location of the cache is$HOME/.ccache). Also I misread the manual and we should runccache -C(capitalC)/ccache --clearto wipe the cache (--cleanupis housekeeping).I've gone ahead and done so and kicked off another build:
https://ci.nodejs.org/job/node-test-commit-v8-linux/2681/nodes=rhel72-s390x,v8test=v8test/consoleYes, it probably should be run as
iojs(the default location of the cache is$HOME/.ccache). Also I misread the manual and we should runccache -C(capitalC)/ccache --clearto wipe the cache (--cleanupis housekeeping).I've gone ahead and done so and kicked off another build:
https://ci.nodejs.org/job/node-test-commit-v8-linux/2681/nodes=rhel72-s390x,v8test=v8test/consoleStill failed. I'm not even sure
ccacheis being used as I cleared it (withccache -C) andccache -sshows the cache size as 0.0 kB after the failed build.Reacted by Richard LauAs another try, could you also clear the Jenkins workspace. Want to make sure it is fully downloading the latest dependencies.
As another try, could you also clear the Jenkins workspace. Want to make sure it is fully downloading the latest dependencies.
I already did for https://ci.nodejs.org/job/node-test-commit-v8-linux/2681/nodes=rhel72-s390x,v8test=v8test/console as https://ci.nodejs.org/job/node-test-commit-v8-linux/nodes=rhel72-s390x,v8test=v8test/2680/console errored with
You have unstaged changes.Seems like
g++is being used to compile part of the V8 dependencies wheregccshould have been used. Looking a closer look attools/make-v8.shunders390xwe have:ln -s $CXX_PATH "$BUILD_TOOLS/gcc"Which is causing the issue. Is gcc pointing to
CXX (g++)for a specific reason? If not then I have made this PR to fix the issue: nodejs/node#30817Turns out
export 'CXX=ccache s390x-redhat-linux-g++'is setting theCXXflag which is causing the later events to happen.Which is causing the issue. Is gcc pointing to
CXX (g++)for a specific reason? If not then I have made this PR to fix the issue: nodejs/node#30817@miladfarca No idea -- I'm not even sure what purpose creating the symlinks in
$BUILD_TOOLSserves but you probably understand the V8 build system better than I do.In any case I've landed nodejs/node#30817.
cc @targos
Last canary build is fine: https://ci.nodejs.org/job/node-test-commit-v8-linux/2687/
Thanks for the fix!
Reacted by Richard Lau@miladfarca Thanks !
https://ci.nodejs.org/job/node-test-commit-v8-linux/2674/nodes=rhel72-s390x,v8test=v8test/console
/cc @nodejs/platform-s390