navcat / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

ERROR: build v8 from SVN failed: code=2 #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
sudo apt-get install systemtap-sdt-dev -y
svn checkout http://v8.googlecode.com/svn/trunk/ v8
svn checkout http://pyv8.googlecode.com/svn/trunk/ pyv8

cd v8
export V8_HOME=`pwd`
cd ../pyv8
svn update
python setup.py build
sudo python setup.py install

What is the expected output? What do you see instead?

INFO: building Google v8 with GYP for ia32 platform with release mode

Failed compilation: gcc crash

What version of the product are you using? On what operating system?

Linux maddox 3.8.0-32-generic #47~precise1-Ubuntu 
SMP Wed Oct 2 16:22:28 UTC 2013 i686 i686 i386 GNU/Linux

Please provide any additional information below.

  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/compilation-cache.o
make[1]: Leaving directory `/home/mad/DetectorObfuscatoReleaz/src/v8/out'
ERROR: build v8 from SVN failed: code=2
DEBUG: g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[1]: *** 
[/home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia
32/src/code-stubs-hydrogen.o] Error 4
make[1]: *** Waiting for unfinished jobs....
make: *** [ia32.release] Error 2

Original issue reported on code.google.com by robomotic@gmail.com on 14 Nov 2013 at 9:56

GoogleCodeExporter commented 9 years ago
Full Log:

mad@maddox:~/DetectorObfuscatoReleaz/src/pyv8$ python setup.py build
INFO: Found Google v8 base on V8_HOME </home/mad/DetectorObfuscatoReleaz/src/v8>
running build
INFO: we will try to update v8 to the latest SVN trunk at 
<http://v8.googlecode.com/svn/trunk/>
====================
INFO: Checking out or Updating Google V8 code from SVN...

Update Google V8 code (r17719) from SVN to 
/home/mad/DetectorObfuscatoReleaz/src/v8
====================
INFO: Installing or updating GYP...
--------------------
INFO: Check out GYP from SVN ...
DEBUG: > make dependencies
svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
        --revision 1685
Checked out revision 1685.
svn checkout --force \
        https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \
        third_party/icu --revision 214189
Checked out revision 214189.
====================
INFO: Patching the GYP scripts
INFO: skip to patch the Google v8 build/standalone.gypi file 
====================
INFO: building Google v8 with GYP for ia32 platform with release mode
--------------------
INFO: build v8 from SVN ...
DEBUG: > make -j 8 objectprint=off i18nsupport=off verifyheap=off 
debuggersupport=on regexp=native vtunejit=off extrachecks=off visibility=on 
snapshot=on strictaliasing=on liveobjectlist=off backtrace=on gdbjit=off 
disassembler=off werror=no library=shared ia32.release
PYTHONPATH="/home/mad/DetectorObfuscatoReleaz/src/v8/tools/generate_shim_headers
:" \
    GYP_GENERATORS=make \
    build/gyp/gyp --generator-output="out" build/all.gyp \
                  -Ibuild/standalone.gypi --depth=. \
                  -Dv8_target_arch=ia32 \
                  -S.ia32  -Dcomponent=shared_library -Dv8_enable_backtrace=1 -Dv8_enable_extra_checks=0 -Dv8_enable_handle_zapping=0 -Dv8_enable_gdbjit=0 -Dwerror='' -Dv8_enable_i18n_support=0 -Darm_fpu=default -Darm_float_abi=default
make[1]: Entering directory `/home/mad/DetectorObfuscatoReleaz/src/v8/out'
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/assembler.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/api.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/allocation-site-scopes.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/allocation.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/accessors.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/arguments.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/ast.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/atomicops_internals_x86_gcc.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/bignum-dtoa.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/bignum.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/bootstrapper.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/builtins.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/cached-powers.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/checks.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/code-stubs.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/code-stubs-hydrogen.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/codegen.o
  CXX(target) /home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia32/src/compilation-cache.o
make[1]: Leaving directory `/home/mad/DetectorObfuscatoReleaz/src/v8/out'
ERROR: build v8 from SVN failed: code=2
DEBUG: g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
make[1]: *** 
[/home/mad/DetectorObfuscatoReleaz/src/v8/out/ia32.release/obj.target/v8_base.ia
32/src/code-stubs-hydrogen.o] Error 4
make[1]: *** Waiting for unfinished jobs....
make: *** [ia32.release] Error 2

Original comment by robomotic@gmail.com on 14 Nov 2013 at 9:57

GoogleCodeExporter commented 9 years ago
I have no idea how to handle this, it seems caused by a GCC-4.6 internal 
compiler error when build Google v8

ERROR: build v8 from SVN failed: code=2
DEBUG: g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.

cloud you build v8 step by step?.

https://code.google.com/p/v8/wiki/BuildingWithGYP

Original comment by flier...@gmail.com on 15 Nov 2013 at 2:33

GoogleCodeExporter commented 9 years ago
I have attempted to cross compile on the same Ubuntu version (x64) by setting 
arch ia32 but I get this other issue:

http://code.google.com/p/v8/issues/detail?id=1648

I am trying the step by step build now, finger crossed.

PS
Is it possible to get some precompiled binaries for the GYP and V8 from some 
online repository?

Original comment by robomotic@gmail.com on 20 Nov 2013 at 9:41

GoogleCodeExporter commented 9 years ago
Right some updates on this side, it fails with a compilation error.
I have submitted an issue here:
https://code.google.com/p/v8/issues/detail?id=3021&thanks=3021&ts=1384944481
not sure why the python build doesn't generate the same error!

Original comment by robomotic@gmail.com on 20 Nov 2013 at 10:48