Hello,

I'm building V8 for Android (arm), and followed the steps outlined here: 
https://github.com/v8/v8/wiki/D8%20on%20Android

In summary:

- clone the repository from github
- get depot_tools, to have gclient
- from the v8 directory, run:  *echo "target_os = ['android']" >> 
../.gclient && gclient sync --nohooks*
- make sure adb is in the PATH
- build v8 with:  *make android_arm.release -j16*
- run: *make android_arm.release.check*


It builds without a problem, however the checks fail with segfault. (Both 
on a Samsung Galaxy S3 and an unbranded Chinese tablet)

I'm using Debian testing (stretch) 64


This is what I get:


gato@tigger:~/builds/google/v8$ make android_arm.release.check
make[1]: Entering directory '/home/gato/builds/google/v8'
make[2]: Entering directory '/home/gato/builds/google/v8/out'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/gato/builds/google/v8/out'
make[1]: Leaving directory '/home/gato/builds/google/v8'
sync to /data/local/tmp/v8/out/android_arm.release...
sync to /data/local/tmp/v8/tools........
sync to /data/local/tmp/v8/tools/profviz.......
sync to 
/data/local/tmp/v8/test/intl..........................................................
sync to 
/data/local/tmp/v8/test/message.................................................................................................................................................................................
sync to /data/local/tmp/v8/test/mjsunit....... [lots of dots]
sync to /data/local/tmp/v8/test/preparser.........................
Specifying --command-prefix disables network distribution, running tests 
locally.
>>> running presubmit tests
Running C++ lint check...
Done processing /home/gato/builds/google/v8/src/background-parsing-task.h
Done processing 
/home/gato/builds/google/v8/src/pending-compilation-error-handler.h
... [all the source files]
Total errors found: 0
Running copyright header, trailing whitespaces and two empty lines between 
declarations check...
Total violating files: 0
>>> Running tests for android_arm.release

Segmentation fault 
ANDROID: Error returned by test


3 KB/s (129 bytes in 0.038s)



*Segmentation fault *ANDROID: Error returned by test


3 KB/s (144 bytes in 0.040s)


Traceback (most recent call last):
File "tools/run-tests.py", line 816, in <module>
sys.exit(Main())
File "tools/run-tests.py", line 625, in Main
code = Execute(arch, mode, args, options, suites)
File "tools/run-tests.py", line 718, in Execute
s.ReadTestCases(ctx)
File "/home/gato/builds/google/v8/tools/testrunner/local/testsuite.py", 
line 161, in ReadTestCases
self.tests = self.ListTests(context)
File "/home/gato/builds/google/v8/tools/testrunner/local/testsuite.py", 
line 325, in ListTests
raise Exception("Test executable failed to list the tests.")
Exception: Test executable failed to list the tests.
Makefile:369: recipe for target 'android_arm.release.check' failed
make: *** [android_arm.release.check] Error 1


I have no idea what to do now. Maybe check the build is using the correct 
compiler, but how do I do that?


Any help will be appreciated
-Guillermo

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to