[v8-users] use_custom_libcxx

2019-03-18 Thread 'Steven Johnson' via v8-users
Are the details of how `use_custom_libcxx` should be set documented anywhere? It appears that the default for the `x64.optdebug` and `x64.debug` builds is to set this to true; this can cause amusing crashes if you link the resulting dynamic library into an executable that is linked against the

[v8-users] Re: Reaching UNIMPLEMENTED code path

2019-03-18 Thread 'Peter Marshall' via v8-users
I'm working on implementing DefaultWorkerThreadsTaskRunner::PostDelayedTask() right now: https://chromium-review.googlesource.com/c/v8/v8/+/1521114 Also I'm not sure why you are hitting this - where does the call to PostDelayedTask() with a non-zero delay come from? On Friday, February 22, 201

[v8-users] Re: mksnapshot built with GNU/Linux file format

2019-03-18 Thread Yang Guo
Can you provide some more context? What are you trying to do? How did you try to do it? Yang On Tuesday, December 11, 2018 at 5:57:46 PM UTC+1, madana gopal wrote: > > Hi Team, > > While building mksnapshot for x86/ia32 architecture, we are getting > mksnapshot binary with GNU/Linux format, ins

[v8-users] Re: how V8 on FreeBSD11 ?

2019-03-18 Thread Yang Guo
Unfortunately we don't support FreeBSD. On Wednesday, January 2, 2019 at 1:54:54 AM UTC+1, TaeJin Sim wrote: > > I been trying to build V8 on FreeBSD due the ports are not updated to the > recent version of v8 but I have struggled a lot. I wonder if someone > already build v8 on FreeBSD that cou

[v8-users] Re: Reaching UNIMPLEMENTED code path

2019-03-18 Thread Yang Guo
v8::platform::Platform is only a barebone default implmentation. Subclassing it and implementing your own PostDelayedTask is the right thing to do. Yang On Friday, February 22, 2019 at 4:08:02 PM UTC+1, ibon wrote: > > Hi there, > > I recently upgraded my Android embedded v8 from 6.3 to 7.2. >

[v8-users] Re: v8_monolith binary

2019-03-18 Thread Yang Guo
v8_monolith is only supposed to give you a static library. You can link against it for whatever you embed V8 in. Yang On Friday, March 1, 2019 at 6:19:39 PM UTC+1, Evgeniy Patlan wrote: > > HI. > Could somone suggest me how Ican build v8_monolith binary > Using tools/dev/v8gen.py x64.release --

[v8-users] Re: How to specify script execution scope?

2019-03-18 Thread Yang Guo
You can use v8::Compiler::CompileFunctionInContext. That way, you can pass in context extension objects. Yang On Friday, January 22, 2010 at 9:15:54 AM UTC+1, Andrey Semashev wrote: > > Hi, > > I'm trying to port my application (a VoiceXML interpreter) from > Mozilla SpiderMonkey to v8. For ones

[v8-users] Re: build jit-less version for iOS

2019-03-18 Thread Yang Guo
Not officially supported, but there were some successes in getting it to work on iOS devices that run on 64 bit: https://bugs.chromium.org/p/v8/issues/detail?id=8928 Yang On Sunday, March 17, 2019 at 10:46:22 AM UTC+1, Yakir E wrote: > > Hi all, > now that 7.4 support jit-less compilation. Does