[v8-users] Is it possible to building v8 v7.5.x from source on Centos 7?
Hi, https://stackoverflow.com/questions/57164363/building-v8-from-source-on-centos-7 How can one build v8 from source on most recent Centos 7? I tried, but ninja build always fails right away with "centos /lib64/libc.so.6: version `GLIBC_2.18' not found" message. Plus, dependency installer script tells that Centos platform is not supported. So, is there a way? Thanks! -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-users/877ec6d1-ee30-4c60-a8b3-acfe821e5bd6%40googlegroups.com.
[v8-users] 18n support flags with gn build
Hi, There's this page: https://github.com/v8/v8/wiki/i18n%20support. What's the equivalent of use_system_icu=1 flag for gn builds? Thanks! -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[v8-users] Re: How do I build V8 with gn to be able to compile PHP extension v8js?
ok, I finally managed to do it. http://stackoverflow.com/questions/40091987/compiling-v8js-extension-after-v8-was-built-with-gn-build-as-opposed-to-gyp Hope this helps. On Saturday, 15 October 2016 13:58:18 UTC-4, Temuri Imnaishvili wrote: > > Hi all, > > I've successfully compiled V8 with gn following instructions at > https://github.com/v8/v8/wiki/Building%20with%20GN (using tools/dev/v8gen.py > x64.release) > > However, I cannot find v8 .so files anywhere. As a result, v8js would not > compile. > > What's the right way to build V8 to have .so files? > > Thanks! > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [v8-users] Building v8
I've tried that. What I need in order to compile v8js is libv8_libplatform.a alongside its .so. I can still get everything I need if I compile off 5.1.x branch with gyp. Then I'd do this and all would be fine: echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp/libv8_libplatform.a\nsave\nend" | sudo ar -M I've just recompiled v8 with "is_component_build = true", but tools/gyp/libv8_libplatform.a is not being generated. Could you please explain the problem? Thanks! On Monday, 17 October 2016 09:00:18 UTC-4, Jochen Eisinger wrote: > > support for compiling libplatform as a shared library landed a few days > ago. If you compile with the gn flag is_component_build = true, you should > get a shared library > > On Sat, Oct 15, 2016 at 10:06 PM Temuri Imnaishvili > wrote: > >> Jochen, >> >> Facing the same problem. 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 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 shot. Are there any plans on upgrading >>>> the Embedded Guide to something more recent than v4.8? >>>> If I work this out - would I be able to contribute to the wiki to >>>> update it for everyone else? >>>> >>>> >>>> On Thursday, September 15, 2016 at 10:11:01 PM UTC-7, Jochen Eisinger >>>> wrote: >>>> >>>>> by default, we build thin archives which are suitable for static >>>>> linking against other apps, and yes, you will need the .o files around >>>>> for >>>>> that. >>>>> >>>>> If you'd rather have shared libraries (.so files), set the gn >>>>> arg is_component_build = true >>>>> >>>>> br >>>>> -jochen >>>>> >>>>> On Thu, Sep 15, 2016 at 5:07 PM Travis Sharp >>>>> wrote: >>>>> >>>> I've followed the current instructions for building v8 with GN on >>>>>> https://github.com/v8/v8/wiki/Building%20with%20GN but after further >>>>>> inspection it looks as if the build only links the .o output instead of >>>>>> creating libraries for use in other applications. >>>>>> >>>>>> Am I missing a step or is this intended? I am trying to use the >>>>>> output library in another application. >>>>>> >>>>>> V8 Build-Head 5.4, Linux x64 >>>>>> >>>>>> -- >>>>>> -- >>>>>> v8-users mailing list >>>>>> >>>>> v8-u...@googlegroups.com >>>>> >>>>> >>>>>> http://groups.google.com/group/v8-users >>>>>> --- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "v8-users" group. >>>>>> >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>>> an email to v8-users+u...@googlegroups.com. >>>>> >>>>> >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> -- >>>> -- >>>> v8-users mailing list >>>> v8-u...@googlegroups.com >>>> http://groups.google.com/group/v8-users >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "v8-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to v8-users+u...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [v8-users] How do I build V8 with gn to be able to compile PHP extension v8js?
I tried that. That does produce *.so files. However, v8js compilation also requires libv8_libplatform.a which was created from out/native/obj.target/tools/gyp/libv8_libplatform.a, which is no longer created during compilation. On Monday, 17 October 2016 05:02:54 UTC-4, Ben Noordhuis wrote: > > On Sat, Oct 15, 2016 at 7:58 PM, Temuri Imnaishvili > wrote: > > Hi all, > > > > I've successfully compiled V8 with gn following instructions at > > https://github.com/v8/v8/wiki/Building%20with%20GN (using > tools/dev/v8gen.py > > x64.release) > > > > However, I cannot find v8 .so files anywhere. As a result, v8js would > not > > compile. > > > > What's the right way to build V8 to have .so files? > > > > Thanks! > > Untested but I believe either running `tools/dev/v8gen.py x64.release > -- is_component_build=true` or passing > --args="is_component_build=true" to `gn gen` should do it. > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [v8-users] Building v8
Jochen, Facing the same problem. 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 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 shot. Are there any plans on upgrading the >> Embedded Guide to something more recent than v4.8? >> If I work this out - would I be able to contribute to the wiki to update >> it for everyone else? >> >> >> On Thursday, September 15, 2016 at 10:11:01 PM UTC-7, Jochen Eisinger >> wrote: >> >>> by default, we build thin archives which are suitable for static linking >>> against other apps, and yes, you will need the .o files around for that. >>> >>> If you'd rather have shared libraries (.so files), set the gn >>> arg is_component_build = true >>> >>> br >>> -jochen >>> >>> On Thu, Sep 15, 2016 at 5:07 PM Travis Sharp >>> wrote: >>> >> I've followed the current instructions for building v8 with GN on https://github.com/v8/v8/wiki/Building%20with%20GN but after further inspection it looks as if the build only links the .o output instead of creating libraries for use in other applications. Am I missing a step or is this intended? I am trying to use the output library in another application. V8 Build-Head 5.4, Linux x64 -- -- v8-users mailing list >>> v8-u...@googlegroups.com >>> >>> http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com. >>> >>> For more options, visit https://groups.google.com/d/optout. >>> -- >> -- >> v8-users mailing list >> v8-u...@googlegroups.com >> http://groups.google.com/group/v8-users >> --- >> You received this message because you are subscribed to the Google Groups >> "v8-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to v8-users+u...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[v8-users] How do I build V8 with gn to be able to compile PHP extension v8js?
Hi all, I've successfully compiled V8 with gn following instructions at https://github.com/v8/v8/wiki/Building%20with%20GN (using tools/dev/v8gen.py x64.release) However, I cannot find v8 .so files anywhere. As a result, v8js would not compile. What's the right way to build V8 to have .so files? Thanks! -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.