Re: [v8-users] Issues cross compiling v8 for iOS

2019-05-27 Thread Jakob Gruber
A fix is in-flight here: https://crrev.com/c/1631417 On Mon, May 27, 2019 at 3:35 PM Darin Dimitrov wrote: > Hi Jakob, > > Thanks for the quick reply. The following patch seems to resolve the issue > with the iOS build: > > *diff --git a/src/snapshot/embedded/platfo

Re: [v8-users] Issues cross compiling v8 for iOS

2019-05-27 Thread Darin Dimitrov
Hi Jakob, Thanks for the quick reply. The following patch seems to resolve the issue with the iOS build: *diff --git a/src/snapshot/embedded/platform-embedded-file-writer-base.cc b/src/snapshot/embedded/platform-embedded-file-writer-base.cc* *index 2adb041371..20af9e28e2 100644* *--- a/src/sn

Re: [v8-users] Issues cross compiling v8 for iOS

2019-05-27 Thread Jakob Gruber
Hi Darin, I've been reworking cross-compile support in mksnapshot and may have missed the iOS case in OS detection . Let me take a look and get back to you. Jakob On Mon, May 27, 2019 at 1:40 PM Darin Dim

[v8-users] Issues cross compiling v8 for iOS

2019-05-27 Thread Darin Dimitrov
I am trying to cross compile V8 for iOS ( https://chromium.googlesource.com/v8/v8.git/+/be47fd1c37ead74cf5c4479043426e0376d3ff29) as described here: https://v8.dev/docs/cross-compile-ios Using Mac OS 10.14.5 and XCode 10.2.1 I am getting the following error when building *embedded.S*: [1321/13

Re: [v8-users] How to intercept the context changing operation for JS code in v8

2019-05-27 Thread Ben Noordhuis
On Sat, May 25, 2019 at 11:34 AM Luo Wu wrote: > > Hi all, > > I want to intercept and log the context changing event in v8. > > Say I have a script in main.html which invokes a function foo in the > iframe.html. When the function foo is executed, the isolate->context() is > changed to represent

[v8-users] Re: Undefined reference Error in Android Embedded

2019-05-27 Thread Jian Guo
After searching through the codebase, I found something interesting. In thrid_party/android_ndk/cxx-stl/llvm-libc++/include/__config: #define _LIBCPP_NAMESPACE _LIBCPP_CONCAT(__ndk,_LIBCPP_ABI_VERSION) #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std {inline namespace _LIBCPP_NAMESPACE { #define