Oh... it`s what I need. It really helps and makes linkage faster.

PS. In your tutorial write that you need use incoming branch before "Getting 
Fastcomp" and write that emscripten version for this need from branch 
fastcomp-by-default.

Thanks a lot, have a nice day.


Четвер, 3 квітня 2014 р. 23:00:47 UTC+3 користувач Alon Zakai написав:
>
> It sounds like you are building a large project. Please try with the new 
> backend which is much faster and better on such compilations, see details in
>
> https://github.com/kripken/emscripten/wiki/LLVM-Backend
>
> This new backend will become the default soon, it's very stable at this 
> point.
>
> - Alon
>
>
>
> On Thu, Apr 3, 2014 at 4:35 AM, Roman Kravchenko 
> <[email protected]<javascript:>
> > wrote:
>
>> Oh, thanks. You was right, I tried to link twice zlib library.
>>
>> So I build it on release and it takes approximately 8 min. But I think 
>> there are some mistekes in project and I need debug. So when I try debug 
>> mode it falls down with
>>  
>> *DEBUG    emcc: LLVM => JS*
>>
>> *emscript: ll=>js*
>>
>> *  emscript: scan took 1.63255786896 seconds*
>>
>> *emscript warning: large amounts of metadata, will slow things down*
>>
>> *  emscript: split took 8.07583189011 seconds*
>>
>> *FATAL ERROR: CALL_AND_RETRY_0 Allocation failed - process out of memory*
>> I try to use EM_BUILD_VERBOSE=3 EMSCRIPT_MAX_CHUNK_SIZE=800194304 
>> EMCC_CORES=4, but still nothing. I found the theme for 2 years ago settings 
>> for large projects? and I am wondering if you have any solutions of this.
>>
>>
>> Середа, 2 квітня 2014 р. 21:48:34 UTC+3 користувач Alon Zakai написав:
>>>
>>> This is unrelated to the data files being preloaded or embedded, it is 
>>> just a duplicate symbol issue. Use EMCC_DEBUG=1 in the env to see which 
>>> files are being linked, then you can use llvm-nm to see in which of them 
>>> that symbol appears, and then go back to see where it comes from.
>>>
>>> - Alon
>>>
>>>
>>>
>>> On Wed, Apr 2, 2014 at 7:42 AM, Roman Kravchenko <roman.volod...@gmail.
>>> com> wrote:
>>>
>>>> Hi. I still try to build my cocos2d application with emscripten. It 
>>>> compile ok, but when it begins to link data file of project I have strange 
>>>> error
>>>>
>>>> */clang+llvm-3.2-x86_64-apple-darwin11/bin/llvm-link: link error in 
>>>> '/tmp/tmp4bSbRK/libcocos2d_463.so': Linking globals named 
>>>> 'deflate_copyright': symbol multiply defined!*
>>>>
>>>> *Traceback (most recent call last):*
>>>>
>>>> *  File "/Users/roman/Documents/Repository/external/emscripten/emcc", 
>>>> line 1365, in <module>*
>>>>
>>>> *    shared.Building.link(linker_inputs, in_temp(target_basename + 
>>>> '.bc'))*
>>>>
>>>> *  File 
>>>> "/Users/roman/Documents/Repository/external/emscripten/tools/shared.py", 
>>>> line 965, in link*
>>>>
>>>> *    assert os.path.exists(target) and (output is None or 'Could not 
>>>> open input file' not in output), 'Linking error: ' + output*
>>>>
>>>> *AssertionError: Linking error: *
>>>>
>>>> *make[1]: *** [bin/release/SlotoMatch3.js] Error 1*
>>>>
>>>> *make: *** [all] Error 2*
>>>>
>>>> If you can see it say that *deflate_copyright *is redefined, but I 
>>>> check all sources and rename everywhere it, but mistake still here. 
>>>>
>>>> I think this is runtime error when it tries to generate a data file and 
>>>> falls down on loading a lot of files of resources (about 300 - total ~50 
>>>> Mb).
>>>>
>>>> What you think about this? How I can fix it? I think it must be a way 
>>>> create few data files and connect them in one.
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "emscripten-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to