[v8-users] Re: [Android] Cannot locate symbol when loading custom native so linked with v8

2017-06-26 Thread Henry Ping
Thanks, Zac. Is there way to check stdlib version between build and run time? I assumed they are the same because: - v8 and the Android app linked with are on the same Ubuntu box - v8 comes with its own sandboxed dev tools(depot_tools) I also did objdump on my so linked with new v8, it shows

[v8-users] Re: [Android] Cannot locate symbol when loading custom native so linked with v8

2017-06-26 Thread Zac Hansen
are you sure you're building and running on the same stdlib? From what I'm seeing that's a pre-initialized empty string, so it seems pretty fundamental.. https://reverseengineering.stackexchange.com/a/10724 --Zac On Monday, June 26, 2017 at 11:36:52 AM UTC-7, Henry Ping wrote: > > I also

[v8-users] Re: [Android] Cannot locate symbol when loading custom native so linked with v8

2017-06-26 Thread Henry Ping
I also linked the v8 built from 5.8.283.38 with a simple "Hello World" like Android app from https://codelabs.developers.google.com/codelabs/android-studio-cmake/index.html And still getting the same error related to "_ZNSs4_Rep20_S_empty_rep_storageE" when launching the app in Android

[v8-users] Re: Significant JSON::Stringify, Uint8Array, or ArrayBuffer changes between v5.4 to v6.0.186

2017-06-26 Thread muscovy
In UTF-8, calling JSON.stringify() on the buffer contents: Old version: \\�u�\"~JM@\u0015'7�`��\u001a]G�MA�\u001fJ�.� New version: \\���u�\"~JM@\u0015'7�`��\u001a]G�MA�\u001fJ�.� However, in both versions, calling String(x) on each array element produces the same output: [0]:92 [1]:137

Re: [v8-users] Re: Building with MSVC & GN - Where do the static files go?

2017-06-26 Thread 'Michael Achenbach' via v8-users
Is it different with ToT? Please see http://crbug.com/v8/6461 which introduced a recent fix. On Monday, June 26, 2017 at 9:45:27 AM UTC+2, Hans Maier wrote: > > I just tried it with 5.9.211.38 under Windows with VS2015 and the > following args: > is_debug = false > target_cpu = "x64" >

Re: [v8-users] Re: Building with MSVC & GN - Where do the static files go?

2017-06-26 Thread Hans Maier
I just tried it with 5.9.211.38 under Windows with VS2015 and the following args: is_debug = false target_cpu = "x64" v8_static_library = true is_component_build = false Result: *No LIB files* Doing the same as component build is_debug = false target_cpu = "x64" v8_static_library = true