Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Compiling v8 engine in vagrant (Jessie) #25139

Open Quuxplusone opened 8 years ago

Quuxplusone commented 8 years ago
Bugzilla Link PR25140
Status NEW
Importance P normal
Reported by Chris (chris@velocimedia.com)
Reported on 2015-10-11 18:19:38 -0700
Last modified on 2015-10-12 02:45:27 -0700
Version trunk
Hardware Macintosh Linux
CC james@jamesmolloy.co.uk, llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments gay-shortest-6951a2.sh (4511 bytes, application/octet-stream)
Blocks
Blocked by
See also
Don't really know much about clang but following instructions here:

https://github.com/phpv8/v8js/blob/master/README.Linux.md

On Mac OSX with Vagrant (Virtualbox) on Debian jessie.

Didn't even know I had to do sudo apt-get install clang for the instructions to
work.

Anyway, got to this part of the instructions

make native library=shared -j8

which took forever (more than 15 minutes) then got the note to file a bug report

===

test/cctest/cctest.target.native.mk:315: recipe for target
'/home/vagrant/tmp/v8/out/native/obj.target/cctest/test/cctest/gay-fixed.o'
failed
make[1]: *** [/home/vagrant/tmp/v8/out/native/obj.target/cctest/test/cctest/gay-
fixed.o] Error 254
make[1]: *** Waiting for unfinished jobs....
clang: error: unable to execute command: Killed
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0 (trunk 247874)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/vagrant/tmp/v8/third_party/llvm-build/Release+Asserts/bin
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang: note: diagnostic msg:

test/cctest/cctest.target.native.mk:315: recipe for target
'/home/vagrant/tmp/v8/out/native/obj.target/cctest/test/cctest/gay-shortest.o'
failed
make[1]: *** [/home/vagrant/tmp/v8/out/native/obj.target/cctest/test/cctest/gay-
shortest.o] Error 254
make[1]: Leaving directory '/home/vagrant/tmp/v8/out'
Makefile:317: recipe for target 'native' failed
make: *** [native] Error 2
Quuxplusone commented 8 years ago

Attached gay-shortest-6951a2.sh (4511 bytes, application/octet-stream): associate run script

Quuxplusone commented 8 years ago
Hi Chris,

Thanks for taking the time to file a bug report! A couple of things.

  1. Please can you also upload the reproducer .c/.i file that the crash reporter will have produced alongside the .sh file that you uploaded. We can't reproduce without that.
  2. From the crash dump line here:

clang: error: unable to execute command: Killed

     it looks possible that this is not a clang error but your host OS killing the running cc1 process. If that's the case, we won't be able to reproduce and you'll need to sort out your host OS - you say it's Vagrant, so perhaps checking how much memory you gave it would be useful?

  3. Clang identifies itself as 3.8.0 which means it's a trunk version. That means it's unstable and that version is not tested, so you could have found a duplicate of an existing bug.

Cheers,

James