Re: [v8-users] Re: building v8 fails on bytecode-peephole-table.cc because libv8_libbase.dylib not found

2016-10-19 Thread Jochen Eisinger
gyp, because it's > supported until gn works on a platform".. but when neither works, I don't > know which to ask about how to use. > > Thank you for all your help. > > --Zac > > On Tue, Oct 18, 2016 at 12:49 PM, Jochen Eisinger <joc...@chromium.org> >

Re: [v8-users] 18n support flags with gn build

2016-10-18 Thread Jochen Eisinger
I haven't tried this myself yet, but you should be able to use the system icu by following the steps outlined here: https://cs.chromium.org/chromium/src/build/linux/unbundle/README for icu. On Mon, Oct 17, 2016 at 7:25 PM Temuri Imnaishvili wrote: > Hi, > > There's this

Re: [v8-users] Re: building v8 fails on bytecode-peephole-table.cc because libv8_libbase.dylib not found

2016-10-18 Thread Jochen Eisinger
I'm surprised that the component build with gyp on mac ever worked for you, it never did for me :-/ On Tue, Oct 18, 2016 at 5:32 AM Zac Hansen wrote: > manually copying the file into /usr/local/lib works. Someone said it > might have to do with the "install_name" being

Re: [v8-users] Breaking On Native Function Calls

2016-10-19 Thread Jochen Eisinger
As far as I know that's not possible. Could you file a feature request for this (probably on crbug.com if you also want to cover DOM functions) On Wed, Oct 19, 2016 at 7:38 PM PhistucK wrote: > I wanted to know whether there is a V8 (or Chrome) flag of some sort that > will

Re: [v8-users] ICU options in GN

2016-10-19 Thread Jochen Eisinger
You have to follow the steps outlined in build/linux/unbundle/README to use the system icu implementation On Wed, Oct 19, 2016 at 7:50 PM Andre Cunha wrote: > Hello, > > The Building with GYP > Wiki page describes >

Re: [v8-users] Re: get error try to get v8 code ,clone depot_tools

2016-10-19 Thread Jochen Eisinger
This implies that either you don't have an up to date list of trusted root certificates installed, or there's a proxy somewhere between you and the internet that intercepts ssl traffic. In both cases, you need to fix your local network configuration. On Thu, Oct 20, 2016 at 3:35 AM Zuheng Song

Re: [v8-users] Re: building v8 fails on bytecode-peephole-table.cc because libv8_libbase.dylib not found

2016-10-18 Thread Jochen Eisinger
; > Linking against the static version takes forever, so dylibs are the only > way to go. > > On Tue, Oct 18, 2016 at 12:31 AM, Jochen Eisinger <joc...@chromium.org> > wrote: > > I'm surprised that the component build with gyp on mac ever worked for > you, it neve

Re: [v8-users] InternalFieldCount seems to be ignored when ConstructorBehavior is kThrow

2016-11-28 Thread Jochen Eisinger
could you file a bug including a repro at crbug.com/v8/new please? thanks -jochen On Sat, Nov 26, 2016 at 2:14 AM wrote: > When I set the constructor behavior on my FunctionTemplate to kThrow > (instead of the default kAllow), then create an object from the template > using

Re: [v8-users] Re: What's the correct way to build V8 as a static library on macOS?

2016-11-28 Thread Jochen Eisinger
with https://codereview.chromium.org/2373783002/ it should be possible to set v8_static_library to true to get static libraries On Sat, Nov 26, 2016 at 9:05 AM John Gardner wrote: > A tracking issue at > Electron's

Re: [v8-users] v8 gyp for inspector dll configuration fails

2016-11-28 Thread Jochen Eisinger
I guess https://codereview.chromium.org/2529333002 should fix this On Thu, Nov 24, 2016 at 7:48 PM iva wrote: > Hi, > > I am trying to build v8 with the inspector support. The v8 is linked as > dll. On Windows 10, environment variable set for vs2015. Generator set to >

Re: [v8-users] Unable to download V8 on Ubuntu Linux

2016-11-12 Thread Jochen Eisinger
it looks like the connection to the download servers timed out. Maybe try again? On Thu, Nov 10, 2016 at 7:39 AM wrote: > Trying to compile V8 for Android. I have Depot Tools, G++ etc all setup > and running. > > The "gclient sync" command seems to exit with an error. On

Re: [v8-users] libstdc++ from gcc4.6 used to build ICU and v8?

2016-11-12 Thread Jochen Eisinger
sh. Does v8 support swapping sysroot with > something else? If so, where can I find some information in doing so? > > > On Wednesday, November 2, 2016 at 3:48:37 AM UTC-7, Jochen Eisinger wrote: > > This is because the sysroot (in build/linux/) is outdated. I filed > crbug.co

Re: [v8-users] Compiling 5.4 v8 for Android

2016-11-02 Thread Jochen Eisinger
I'm not sure, but I think component builds aren't fully supported yet on 5.4, sorry On Fri, Oct 28, 2016 at 9:25 PM Kevin Read wrote: > Hi all, > > I'm trying to compile 5.4.500.36 for android using GN. My GN config is: > > is_debug=false v8_target_cpu="x86"

Re: [v8-users] How to retain or reacquire v8::ScriptCompiler::Source object?

2016-10-12 Thread Jochen Eisinger
you can get the ScriptOrigin from a v8::Function via GetScriptOrigin. You can also ToString a function to get the source, but you could as well create a global to the source. On Wed, Oct 12, 2016 at 12:49 AM Zac Hansen wrote: > I'd like to keep around the data in a

Re: [v8-users] Temporary ObjectTemplate

2016-10-12 Thread Jochen Eisinger
t for? > > > On Monday, October 10, 2016 at 5:08:54 AM UTC-7, Riccardo Corsi wrote: > > will do, thanks! > > On Fri, Oct 7, 2016 at 7:19 AM, Jochen Eisinger <joc...@chromium.org> > wrote: > > If possible, reusing the object template will save space, and is pr

Re: [v8-users] Re: How to build V8 on Linux using GCC instead of Clang?

2016-10-12 Thread Jochen Eisinger
I assume that CentOS 7 doesn't have the required libraries to compile the latest version of V8. On Tue, Oct 11, 2016 at 4:19 PM Ivan Pizhenko wrote: > Tried this. I have following args.gn > > is_debug=true > is_component_build=true > target_cpu="x64" >

Re: [v8-users] Building v8

2016-10-17 Thread Jochen Eisinger
roblem. Can you provide us with help on compiling it > correctly? > > Thanks! > > > On Tuesday, 20 September 2016 03:25:21 UTC-4, Jochen Eisinger wrote: > > If you want to build v8 with shared libraries, set the gn arg > is_component_build=true > > Yes, we intend to

Re: [v8-users] gypfiles/gyp_v8 options to this script

2016-12-07 Thread Jochen Eisinger
no, the options aren't documented :-/ However, gyp is deprecated, have you looked at gn yet? On Wed, Dec 7, 2016 at 9:30 AM wrote: > Is there anywhere documented what options and values does gypfiles/gyp_v8 > script take ? > > -- > -- > v8-users mailing list >

Re: [v8-users] Looking for streamlined way to access object properties

2016-12-07 Thread Jochen Eisinger
You could use v8::Object::GetOwnPropertyNames instead of trying each key individually On Tue, Dec 6, 2016 at 11:04 PM kent williams wrote: > There's a convention that we use for our C++ native functions called from > C++, where required arguments are followed

Re: [v8-users] How to compile the samples/hello-world.cc example on ubuntu 64 bit ?

2017-01-11 Thread Jochen Eisinger
can you build a current version of V8 (using gn/ninja)? On Fri, Jan 6, 2017 at 8:25 PM <vertabso...@gmail.com> wrote: > Thank you for your answer Jochen Eisinger, but I tried this and it didn't > work, of course. I couldn't switch to the 4.8 version of v8, I don't know > why. Mo

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

2017-01-11 Thread Jochen Eisinger
With the latest dev version of V8 (5.7), you should be able to get static libraries using the gn flag v8_static_library = true On Tue, Jan 10, 2017 at 4:26 PM Hans Maier wrote: > Hi, > > I had the same issue. I ended up creating the static libs from the > obj-files using

Re: [v8-users] Segfault calling v8::Persistent::Reset.

2016-12-02 Thread Jochen Eisinger
Can you reproduce this and catch it in a debugger? Or run with ASAN enabled? On Fri, Dec 2, 2016 at 2:18 AM Jane Chen wrote: > Embedding v8 5.3. Seeing a segfault in our stress test: > > Critical: #6 0x7fbf3f6c0173 in > v8::internal::GlobalHandles::Node::Release() ()

Re: [v8-users] Re: What's the correct way to build V8 as a static library on macOS?

2016-12-05 Thread Jochen Eisinger
pting to load shared libraries from > the executable's path, which doesn't work for the intended directory > arrangement: > > lib > lib/libv8.dylib > lib/libicuuc.dylib > lib/libicui18n.dylib > bin > bin/v8 > > > On Monday, 28 November 2016 20:51:45 UTC+1

Re: [v8-users] How to compile the samples/hello-world.cc example on ubuntu 64 bit ?

2017-01-02 Thread Jochen Eisinger
https://github.com/v8/v8/wiki/Getting%20Started%20with%20Embedding explains how to compile the sample note that if you build all of v8, the hello world sample will be compiled automatically On Sun, Dec 25, 2016 at 8:39 PM wrote: > Hello everyone, > > I am new to v8. I am

Re: [v8-users] building V8 for Android on Mac or ubuntu w static libs?

2016-12-22 Thread Jochen Eisinger
hey, to build for android, you should add target_os = "android" and target_cpu = "arm". you'll also have to add target_os = ['android', 'mac'] to your .gclient file (which should be one level up from your v8 checkout), so gclient sync will download the android specific deps hth -jochen On Thu,

Re: [v8-users] Cryptic out-of-memory error

2017-05-11 Thread Jochen Eisinger
Thank you for the detailed bug report. I tried reproducing this on the latest version of V8, but couldn't observe the behavior you described. Have you considered updating to at least the latest stable version of V8? On Wed, May 10, 2017 at 7:50 PM Andre Cunha wrote:

Re: [v8-users] Adding Signature to my FunctionTemplate but "derived types" calling functions get Illegal Invocation errors

2017-05-29 Thread Jochen Eisinger
chain for an object of >> that type when the function is called. >> >> >> Given my code, I don't understand why making an object that directly sets >> its prototype as an object capable of calling a function with a signature >> wouldn't be able to call that s

Re: [v8-users] Adding Signature to my FunctionTemplate but "derived types" calling functions get Illegal Invocation errors

2017-05-29 Thread Jochen Eisinger
A signature requires the object either be constructed from the same FunctionTemplate (as e.g. new MyType() does), or from a FunctionTemplate that inherited from the signature's FunctionTemplate. Note however that the "info.Holder" would still point at the receiver, and not the prototype with the

Re: [blink-dev] Re: [v8-users] Intent to Ship: Optional catch binding

2018-01-26 Thread Jochen Eisinger
I thought V8 wanted to use the blink process nowadays? On Thu, Jan 18, 2018 at 10:32 PM Adam Klein wrote: > LGTM! > > Note that this is a v8/JavaScript feature, so this is just an FYI for > blink-dev at the moment. > > On Thu, Jan 18, 2018 at 12:19 PM, Sathya Gunasekaran

Re: [v8-users] Re: [v8-team] [v8-status-updates] Intent to ship: module namespace exports

2018-10-15 Thread Jochen Eisinger
v8-status-updates to BCC Please don't mix internal and external mailing lists Sathya Gunasekaran schrieb am Mo., 15. Okt. 2018, 06:22: > LGTM > On Mon, Oct 15, 2018 at 2:58 PM Georg Neis wrote: > > > > Summary > > This feature extends the existing syntax for module exports by the form > >

<    1   2   3