Re: [v8-users] Problem getting V8 sources

2016-09-20 Thread Jochen Eisinger
To get dll files, you'll need to set component=shared_library in your GYP_DEFINES env variable, or set is_component_build = true in your gn args, depending on which build system you use. On Mon, Sep 19, 2016 at 6:11 AM Ivan Pizhenko wrote: > Thank you Pavel. This may be

[v8-users] How to build with Visual Studio 2015 and Windows 10

2016-09-20 Thread Pieter
I have been struggling for a couple of days to get the correct incantations to get a build of v8 working on windows 10 with visual studio 2015. In short the steps that i've been attempting are as follows - set DEPOT_TOOLS_WIN_TOOLCHAIN=0 - set GYP_MSVS_VERSION=2015 - set

Re: [v8-users] Building v8

2016-09-20 Thread Jochen Eisinger
If you want to build v8 with shared libraries, set the gn arg is_component_build=true Yes, we intend to update the embedder guide. Contributions or bug reports are always welcome! On Fri, Sep 16, 2016 at 7:43 PM Furious Scissors wrote: > Ok - i'll try and give that a

[v8-users] How to build v8 with Visual Studio 2015 on Windows 10

2016-09-20 Thread Pieter
I have been struggling for a couple of days to get the correct incantations to get a build of v8 working on windows 10 with visual studio 2015. In short the steps that i've been attempting are as follows - set DEPOT_TOOLS_WIN_TOOLCHAIN=0 - set GYP_MSVS_VERSION=2015 - set

[v8-users] Building v8 with Visual Studio 2015 on Windows 10

2016-09-20 Thread Pieter
I have been struggling for a couple of days to get the correct incantations to get a build of v8 working on windows 10 with visual studio 2015. In short the steps that i've been attempting are as follows - set DEPOT_TOOLS_WIN_TOOLCHAIN=0 - set GYP_MSVS_VERSION=2015 - set

Re: [v8-users] Re: Need to re-run gn for build options to take effect

2016-09-20 Thread Jochen Eisinger
v8gen creates the input for gn. gn creates the input for ninja. ninja builds the binaries. You can use gn gen out.gn/x64.release instead of gn args if you don't intend to change the args anyways. best -jochen On Mon, Sep 19, 2016 at 9:19 PM Andre Cunha wrote: > PS:

[v8-users] Disabling All Of The Optimizations

2016-09-20 Thread PhistucK
I have an issue where the code suddenly (since Chrome 53) gets caught up in a cyclic recursion until it exceeds the stack size limit. Since the code is the same, I want to try and rule out engine optimization issues. Is there a V8 flag for disabling all of the optimizations? ☆*PhistucK* -- --

[v8-users] Re: Disabling All Of The Optimizations

2016-09-20 Thread Michael Hablich
--no-crankshaft should do the trick. The name is misleading, it will also disable TurboFan. On Tuesday, September 20, 2016 at 1:51:51 PM UTC+2, PhistucK wrote: > > I have an issue where the code suddenly (since Chrome 53) gets caught up > in a cyclic recursion until it exceeds the stack size

[v8-users] Undefined reference to `v8::platform::CreateDefaultPlatform(int)`

2016-09-20 Thread Andre Cunha
Hello, I'm trying to dynamically load libplatform in an application I'm writing. I searched through the available gn options, but I couldn't find an option to build libplatform as a shared object, so I did it by hand: $ gcc -shared -o libv8_libplatform.so obj/v8_lib{platform,base}/*.o I use

[v8-users] Intent to Ship: Async functions

2016-09-20 Thread 'Daniel Ehrenberg' via v8-users
Contact emails *little...@chromium.org * Spec Async Functions, Stage 4 at TC39 Summary Async functions make it easy to write code which needs to "block" on certain asynchronous events JavaScript. Link to “Intent to

[v8-users] Re: [blink-dev] Intent to Ship: Async functions

2016-09-20 Thread Adam Klein
LGTM! On Tue, Sep 20, 2016 at 2:19 PM, 'Daniel Ehrenberg' via blink-dev < blink-...@chromium.org> wrote: > Contact emails > > *little...@chromium.org * > > Spec > > Async Functions, Stage 4 at TC39 > > > Summary > Async

[v8-users] Re: Intent to Ship: Async functions

2016-09-20 Thread 'Addy Osmani' via v8-users
This is terribly exciting. Thanks, Daniel. Could you comment on the current state of debugging support for async functions? I believe the last I checked there was further work to be done here but it may have come further along since :) On Tuesday, 20 September 2016 14:19:28 UTC-7, Daniel

Re: [v8-users] Re: Need to re-run gn for build options to take effect

2016-09-20 Thread 'Michael Achenbach' via v8-users
I actually think this is a bug in our work flow. I filed http://crbug.com/648583 You can also pass -p to v8gen.py to let it perform an additional gn run over the extra cmd line parameters automatically. On Tuesday, September 20, 2016 at 9:16:56 AM UTC+2, Jochen Eisinger wrote: > > v8gen

Re: [v8-users] Re: Need to re-run gn for build options to take effect

2016-09-20 Thread Andre Cunha
I tried the following sequence of commands: $ tools/dev/v8gen.py x64.release -- is_component_build=true v8_enable_i18n_support=false $ gn gen out.gn/x64.release $ ninja -C out.gn/x64.release And it works. I also tried: $ tools/dev/v8gen.py -p x64.release -- is_component_build=true