{"action":"created","issue":{"url":"https://api.github.com/repos/ibmruntimes/v8ppc/issues/127","repository_url":"https://api.github.com/repos/ibmruntimes/v8ppc","labels_url":"https://api.github.com/repos/ibmruntimes/v8ppc/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/ibmruntimes/v8ppc/issues/127/comments","events_url":"https://api.github.com/repos/ibmruntimes/v8ppc/issues/127/events","html_url":"https://github.com/ibmruntimes/v8ppc/issues/127","id":171853084,"number":127,"title":"Can't compile v8ppc with nativesim=true for PowerPC 440","user":{"login":"zzzlodey","id":13269109,"avatar_url":"https://avatars.githubusercontent.com/u/13269109?v=3","gravatar_id":"","url":"https://api.github.com/users/zzzlodey","html_url":"https://github.com/zzzlodey","followers_url":"https://api.github.com/users/zzzlodey/followers","following_url":"https://api.github.com/users/zzzlodey/following{/other_user}","gists_url":"https://api.github.com/users/zzzlodey/gists{/gist_id}","starred_url":"https://api.github.com/users/zzzlodey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zzzlodey/subscriptions","organizations_url":"https://api.github.com/users/zzzlodey/orgs","repos_url":"https://api.github.com/users/zzzlodey/repos","events_url":"https://api.github.com/users/zzzlodey/events{/privacy}","received_events_url":"https://api.github.com/users/zzzlodey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-18T09:07:44Z","updated_at":"2016-08-18T20:38:44Z","closed_at":null,"body":"Hi All,\r\n\r\nI want to compile v8 in simulation mode, but I get strange errors:\r\n\r\n```\r\nIn file included from .././src/api-arguments.h:11:0,\r\n                 from ../src/api-arguments.cc:5:\r\n.././src/vm-state-inl.h:67:43: error: ISO C++11 requires at least one argument for the \"...\" in a variadic macro [-Werror]\r\n                      \"V8.ExternalCallback\");\r\n                                           ^\r\n.././src/vm-state-inl.h:73:41: error: ISO C++11 requires at least one argument for the \"...\" in a variadic macro [-Werror]\r\n                    \"V8.ExternalCallback\");\r\n                                         ^\r\nIn file included from ../src/api.cc:68:0:\r\n.././src/vm-state-inl.h:67:43: error: ISO C++11 requires at least one argument for the \"...\" in a variadic macro [-Werror]\r\n                      \"V8.ExternalCallback\");\r\n```\r\n\r\nand\r\n\r\n```\r\ncc1plus: error: unrecognized command line option '-Wno-undefined-var-template' [-Werror]\r\ncc1plus: error: unrecognized command line option '-Wno-gnu-zero-variadic-macro-arguments' [-Werror]\r\n```\r\n\r\nI use the following commands:\r\n\r\n```\r\ngit clone https://github.com/ibmruntimes/v8ppc v8\r\ngclient config --spec \"solutions = [{'name': 'v8', 'url': 'https://github.com/ibmruntimes/v8ppc.git'}]\"\r\n\r\nmake nativesim=true ppc.debug V=1 -j8 snapshot=off\r\n```\r\n\r\npowerpc-440-linux-gnu-g++ version:\r\n```\r\npowerpc-440-linux-gnu-g++ -v\r\nUsing built-in specs.\r\nCOLLECT_GCC=powerpc-440-linux-gnu-g++\r\nCOLLECT_LTO_WRAPPER=/home/user/x-tools/powerpc-440-linux-gnu/libexec/gcc/powerpc-440-linux-gnu/5.2.0/lto-wrapper\r\nTarget: powerpc-440-linux-gnu\r\nConfigured with: /home/user/crosstool/bin/.build/src/gcc-5.2.0/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=powerpc-440-linux-gnu --prefix=/home/user/x-tools/powerpc-440-linux-gnu --with-sysroot=/home/user/x-tools/powerpc-440-linux-gnu/powerpc-440-linux-gnu/sysroot --enable-languages=c,c++ --with-cpu=440 --with-tune=440 --with-float=hard --with-pkgversion='crosstool-NG ' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --with-gmp=/home/user/crosstool/bin/.build/powerpc-440-linux-gnu/buildtools --with-mpfr=/home/user/crosstool/bin/.build/powerpc-440-linux-gnu/buildtools --with-mpc=/home/user/crosstool/bin/.build/powerpc-440-linux-gnu/buildtools --with-isl=/home/user/crosstool/bin/.build/powerpc-440-linux-gnu/buildtools --with-cloog=/home/user/crosstool/bin/.build/powerpc-440-linux-gnu/buildtools --with-libelf=/home/user/crosstool/bin/.build/powerpc-440-linux-gnu/buildtools --enable-lto --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix --enable-plugin --disable-nls --disable-multilib --with-local-prefix=/home/user/x-tools/powerpc-440-linux-gnu/powerpc-440-linux-gnu/sysroot --enable-long-long\r\nThread model: posix\r\ngcc version 5.2.0 (crosstool-NG ) \r\n```\r\n\r\nCan I build nodejs with some \"nativesim=true\" option for build V8 engine in simulation mode?"},"comment":{"url":"https://api.github.com/repos/ibmruntimes/v8ppc/issues/comments/240849256","html_url":"https://github.com/ibmruntimes/v8ppc/issues/127#issuecomment-240849256","issue_url":"https://api.github.com/repos/ibmruntimes/v8ppc/issues/127","id":240849256,"user":{"login":"jbajwa","id":577562,"avatar_url":"https://avatars.githubusercontent.com/u/577562?v=3","gravatar_id":"","url":"https://api.github.com/users/jbajwa","html_url":"https://github.com/jbajwa","followers_url":"https://api.github.com/users/jbajwa/followers","following_url":"https://api.github.com/users/jbajwa/following{/other_user}","gists_url":"https://api.github.com/users/jbajwa/gists{/gist_id}","starred_url":"https://api.github.com/users/jbajwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbajwa/subscriptions","organizations_url":"https://api.github.com/users/jbajwa/orgs","repos_url":"https://api.github.com/users/jbajwa/repos","events_url":"https://api.github.com/users/jbajwa/events{/privacy}","received_events_url":"https://api.github.com/users/jbajwa/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T20:38:44Z","updated_at":"2016-08-18T20:38:44Z","body":"Hi,\r\nYou should be able to use the official google v8 repo (https://chromium.googlesource.com/v8/v8.git) to build V8 on ppc. Google V8 4.5 and up contains all the PPC changes.\r\n\r\nYou may encounter an error with gclient sync, although MAKE should still work, but you can fix that issue by disabling sysroot check for ppc. More info https://github.com/ibmruntimes/v8/issues/1 (we are in process of upstreaming this change)"}}
{"actor":{"display_login":"jbajwa"}}