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

2016-11-15 Thread Jane Chen
I'm facing a similar issue on Mac.  Any pointers to the mac build script 
which includes any incompatible dependency?

Thanks!

On Saturday, November 12, 2016 at 9:21:32 PM UTC-8, Jane Chen wrote:
>
> Thanks Jochen.  This did it for me:
>
> diff --git a/gypfiles/standalone.gypi b/gypfiles/standalone.gypi
> index c6c26fb..4f06a8f 100644
> --- a/gypfiles/standalone.gypi
> +++ b/gypfiles/standalone.gypi
> @@ -72,7 +72,7 @@
># depending on the packages installed on the local machine. Set 
> this
># to 0 to build against locally installed headers and libraries 
> (e.g.
># if packaging for a linux distro)
> -  'use_sysroot%': 1,
> +  'use_sysroot%': 0,
>  },
>  'host_arch%': '<(host_arch)',
>  'target_arch%': '<(target_arch)',
>
>
> On Saturday, November 12, 2016 at 2:36:12 PM UTC-8, Jochen Eisinger wrote:
>>
>> We're working on upgrading the sysroot, however, I'm not aware of any 
>> documentation on how to do that, sorry
>>
>> On Fri, Nov 11, 2016 at 3:16 PM Jane Chen  wrote:
>>
>>> I now have a test case to confirm that having a mixed std c++ lib of 4.6 
>>> and 4.8 causes my app to crash.  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.com/661506 to track this

 On Tue, Nov 1, 2016 at 4:41 PM Jane Chen  wrote:

>>> I'm investigating a crash in a debug build of our app embedding v8 
> 5.3-lkgr and notice libstdc++ from gcc4.6 is included and referenced from 
> some of the makefiles to build ICU and v8, although v8 5.3-lkgr requires 
> gcc 4.8 or above to build on Linux.  Am I missing something while 
> building 
> v8?  
>
> Thanks in advance.
>
> -- 
> -- 
> 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] Re: Linking V8 to app on Windows

2016-11-15 Thread Ivan Pizhenko
Thaks, I will try this workaround, but also please tell me, what exactly do
you mean by current development branch? Which version of V8 does it
corresponds? 5.5?  5.6?

2016-11-10 20:33 GMT+02:00 Jochen Eisinger :

> on 5.3, it's not yet possible to build the libplatform as a shared library
> (dll), sorry. This is fixed in the current development branch.
>
> also, by default we don't actually create static libraries, but gn just
> keeps track of the object files you need. You can change that by manually
> replacing source_set with static_library in the v8_source_set template in
> gni/v8.gni
>
> hth
> -jochen
>
> On Thu, Nov 10, 2016 at 3:37 PM Ivan Pizhenko 
> wrote:
>
> So I would like to hear comments on this from some V8 developer or whoever
> solved the issue w/o Nuget package.
>
> 2016-11-10 16:05 GMT+02:00 Ivan Pizhenko :
>
> Thank you for advise, George, but what you suggest is not an option in the
> my case, I need to have built from sources exactly this stable version
> 5.3.332.45. There is no Nuget package fir exactly this version, and there
> are also other circumstances those prevent me using  Nuget package. So I am
> looking for exactly an explanation on how to solve this manually.
>
> 2016-11-09 19:36 GMT+02:00 George Marques :
>
> I also had troubles with the build system. I found it's much easier to
> just use this Nuget package: https://github.com/pmed/v8-nuget.
>
>
> On Wednesday, November 9, 2016 at 5:42:19 AM UTC-2, Ivan P. wrote:
>
> Hello, I am porting my app from V8 3.19 to V8 5.3.332.45.
> I have built new V8 version as DLL using Visual Studio 2013, updated code
> of my app to use updated APIs  and now trying to perform full build of my
> app.
> My app doesn't use GN to build it, it is normal Visual Studio 2013
> project. I have specified v8.dll.lib as additional linker input.
>
> I get following linker error:
> 1>v8init.obj : error LNK2019: unresolved external symbol "class
> v8::Platform * __cdecl v8::platform::CreateDefaultPlatform(int)"
> (?CreateDefaultPlatform@platform@v8@@YAPEAVPlatform@2@H@Z) referenced in
> function  "
>
> I suppose v8::platform::CreateDefaultPlatform() must be present in
> libplatform, but because the error happens, I can make conclusion that
> libplatform it is not included into v8.dll.lib.
> I have examined V8 build outputs and couldn't find libplatform as separate
> static lib or DLL: here is list of libs generated during the build, here is
> what I have:
>
> icui18n.dll
> icuuc.dll
> msvcp120.dll
> msvcp120d.dll
> msvcr120.dll
> msvcr120d.dll
> pgort120.dll
> v8.dll
>
>
> cctest.lib
> generate-bytecode-expectations.lib
> icui18n.dll.lib
> icuuc.dll.lib
> mksnapshot.lib
> unittests.lib
> v8.dll.lib
> v8_parser_shell.lib
> v8_simple_json_fuzzer.lib
> v8_simple_parser_fuzzer.lib
> v8_simple_regexp_fuzzer.lib
> v8_simple_wasm_asmjs_fuzzer.lib
> v8_simple_wasm_fuzzer.lib
>
> Please advise - either how to tune build to have libplatform generated as
> separate DLL or included to v8.dll ?
> Or is it safe to make manually libplatform from obj files and link it,
> taking into account v8 is DLL?
>
> 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 a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/v8-users/Y05xPj956Ys/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> v8-users+unsubscr...@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 mailing list
> v8-users@googlegroups.com
> http://groups.google.com/group/v8-users
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "v8-users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/v8-users/Y05xPj956Ys/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> v8-users+unsubscr...@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.