Re: [v8-users] V8 build error on the CentOS 7

2019-12-06 Thread Ivan Pizhenko
w/o sysroot - gives errors, and I can't find how to get required packages, maybe GObject v2 is not on CentOS 7. Got one more idea - build clang 10.0.0 from sources on the centos7. $ gn gen out.gn.linux/x64.debug ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero exit

Re: [v8-users] V8 build error on the CentOS 7

2019-12-06 Thread Ivan Pizhenko
Doesn't work. Seems like newer clang is required due to some options in the command line. ninja: Entering directory `out.gn.linux/x64.debug' [1/1302] ../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/torque_base/class-debug-reader-generator.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_

[v8-users] Re: Building v8 shared library on windows

2019-12-06 Thread 'Bill Ticehurst' via v8-users
Are you building with MSVC or Clang? The "component" build of V8 has some issues with MSVC, but I believe should just work if using Clang. Note: "component" build means a DLL build. Check that "is_component_build = true" in your output folder's args.gn file, and then you should see v8*.dll file

Re: [v8-users] V8 build error on the CentOS 7

2019-12-06 Thread Jakob Kummerow
> > what about following idea: I am actually upgrading from 7.0.276.32, which > I could build a year ago on the CentOS 7 using version of clang supplied at > that moment, and I have my own archive of all that stuff. So, what if I > take that older version of clang? Are there any changes in V8 that

Re: [v8-users] V8 build error on the CentOS 7

2019-12-06 Thread Ivan P.
Thank you, I will try. But what about following idea: I am actually upgrading from 7.0.276.32, which I could build a year ago on the CentOS 7 using version of clang supplied at that moment, and I have my own archive of all that stuff. So, what if I take that older version of clang? Are there an

Re: [v8-users] V8 build error on the CentOS 7

2019-12-06 Thread Jakob Kummerow
You can try adding: is_clang = false use_sysroot = false to args.gn, but do note that this configuration is not officially supported. If it works, you're in luck; if it doesn't, then CentOS 7 is simply too old. (Side note: the recommended flow is to use "gn args " to edit the args, instead of ed

[v8-users] V8 build error on the CentOS 7

2019-12-06 Thread Ivan P.
Hi, I'm trying to build on the CentOS 7 current stable version of V8 7.8.279.23 (i.e. version picked from the current stable Chrome version 78.0.3904.108) and getting error. Here's what I've done: I've checked out sources and synchronized dependencies. I've prepared following gn config file

Re: [v8-users] How to properly dispose an isolate

2019-12-06 Thread Ben Noordhuis
On Thu, Dec 5, 2019 at 2:55 PM Darin Dimitrov wrote: > > Hello, > > I am embedding V8 in my C++ application and I need to create multiple > isolates from different background threads. > > Here's my workflow: > > 1. Create an isolate in the main thread -> this must be a long living isolate > (for