It also segfaults:

root@android:/ # cd /data/local/tmp/v8/out/android_arm.release
130|root@android:/data/local/tmp/v8/out/android_arm.release #  unittests 
-gtest_list_tests
[1] + Segmentation fault   ./unittests -gtest_list_tests 

It happens the same with the other binaries built:

gato@tigger:~/builds/google/v8$ adb push out/android_arm.release/d8 
/data/local/tmp/v8/d8
363 KB/s (20561696 bytes in 55.181s)
gato@tigger:~/builds/google/v8$ adb shell
root@android:/ # cd /data/local/tmp/v8
root@android:/data/local/tmp/v8 # ./d8                                     
    
[2] + Stopped (signal)     ./d8 
[1] - Segmentation fault   ./d8 
root@android:/data/local/tmp/v8 # 

gato@tigger:~/builds/google/v8$ adb push 
out/android_arm.release/hello-world /data/local/tmp/v8/
366 KB/s (20483124 bytes in 54.652s)
gato@tigger:~/builds/google/v8$ adb shell
root@android:/ # cd /data/local/tmp/v8
root@android:/data/local/tmp/v8 # ./hello-world                             
   
[1] + Stopped (signal)     ./hello-world 
root@android:/data/local/tmp/v8 # ./hello-world                             
   
[1] + Stopped (signal)     ./hello-world 
[2] - Segmentation fault   ./hello-world 
root@android:/data/local/tmp/v8 # 





On Monday, January 11, 2016 at 7:48:47 AM UTC-6, Rodolph Perfetta wrote:
>
> from your log it looks like out/android_arm.release/unittests 
> -gtest_list_tests failed can you run the command on its own and see what 
> happens?
>
> Rodolph
>
> On Sun, 10 Jan 2016 at 20:57 Guillermo Romero <[email protected] 
> <javascript:>> wrote:
>
>> 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] <javascript:>
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
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