diggershort / pyv8

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

Segmentation fault upon running v8 test on android device #130

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I can run the v8 tests successfully with the android-ndk-r8 available 
http://developer.android.com/tools/sdk/ndk/index.html
2. Instead, I want to use android-ndk in my android tree for compilation of v8 
tests to ensure we build the tests exactly same way we build V8 library.
3. I used android-ndk-r6 (removed --icf=safe flag from build/android.gypi) with 
which v8 is successfully getting compiled for android.
4. But test cases mjsunit, cctest, message almost all fail(99%) giving 
segmentation fault except the preparser test cases that all pass.

What is the expected output? What do you see instead?
All the test should run properly.

What version of the product are you using? On what operating system?
I used 3.11.10.17 and back ported android test runner from bleeding edge. the 
tests run with the android-ndk-r8 available at developer.android.com

Please provide any additional information below.
I am attaching my d8 preparser and cctest executables.

Original issue reported on code.google.com by sunnyshi...@gmail.com on 9 Aug 2012 at 2:28

Attachments:

GoogleCodeExporter commented 8 years ago
I think you may submit a issue to the v8 project, since PyV8 haven't official 
Android support. If you want to use v8 in an android project, I suggest you 
could refer to the jav8 project

http://code.google.com/p/jav8/

Original comment by flier...@gmail.com on 9 Aug 2012 at 2:49