The warning can be ignored, but the rest of the output looks like it is old
- are you on very latest emscripten incoming? (and also latest fastcomp?)

- Alon



On Wed, Jan 22, 2014 at 1:07 AM, wolfviking0 <[email protected]> wrote:

> Hi,
>
> I just rebuild Unigine using fast comp, I have a warning about the llvm
> version (*LLVM version appears incorrect (seeing "clang version 3.3
> (https://chromium.googlesource.com/native_client/pnacl-clang
> <https://chromium.googlesource.com/native_client/pnacl-clang>
> 0196efefb27e9a768ae4d50c7ff75fb3895d4617)
> (https://github.com/kripken/emscripten-fastcomp
> <https://github.com/kripken/emscripten-fastcomp>
> 572bba39dcadf613afa586320d83aa3fc48a3cf8)", expected "clang version 3.2")*
>
> I am not sure if is an important warning but I have an error during the
> build.
>
> Tony
>
> ** CONSOLE **
>
> *JAVA_HEAP_SIZE=8096m EMCC_FAST_COMPILER=1 EMCC_DEBUG=1
> /Users/aliot/Emscripten/emcc /Users/aliot/Actisku/jsbuild/lib/libfreetype.o
> /Users/aliot/Actisku/jsbuild/lib/libjpeg.o
> /Users/aliot/Actisku/jsbuild/lib/libogg.o
> /Users/aliot/Actisku/jsbuild/lib/libpng.o
> /Users/aliot/Actisku/jsbuild/lib/libregexpr.o
> /Users/aliot/Actisku/jsbuild/lib/libunzip.o
> /Users/aliot/Actisku/jsbuild/lib/libz.o
>  /Users/aliot/Actisku/jsbuild/lib/libengine.o -O2 -s
> WARN_ON_UNDEFINED_SYMBOLS=1 -s ASM_JS=1 -s FULL_ES2=1  \*
> * -o /Users/aliot/Actisku/jsbuild/html/libUnigine.js*
>
>
> DEBUG:root:emscript: llvm backend
> DEBUG:root:  ..1..
> Warning: Variable __init_array_start not referenced
> Warning: Variable __init_array_end not referenced
> Warning: Variable __fini_array_start not referenced
> Warning: Variable __fini_array_end not referenced
> /Users/aliot/Desktop/webcl/compilo/llvm/fastcomp/bin/llvm-dis: Could not
> open temp1.bc: No such file or directory
>
> DEBUG:root:  ..3..
> Call parameter type does not match function signature!
>   %33 = load float* %.bc11, align 4
>  double  %34 = call i32 @FPtoILow(float %33)
> Call parameter type does not match function signature!
>   %33 = load float* %.bc11, align 4
>  double  %35 = call i32 @FPtoIHigh(float %33)
> Broken module found, compilation aborted!
> 0  opt                      0x0000000101d53b58 void*
> llvm::object_creator<std::__1::vector<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> >,
> std::__1::allocator<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> > > > >() + 12424
> 1  opt                      0x0000000101d54044 void*
> llvm::object_creator<std::__1::vector<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> >,
> std::__1::allocator<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> > > > >() + 13684
> 2  libsystem_platform.dylib 0x00007fff96f5f5aa _sigtramp + 26
> 3  opt                      0x0000000101c6107e
> std::__1::vector<std::__1::pair<llvm::AttributeSet, unsigned int>,
> std::__1::allocator<std::__1::pair<llvm::AttributeSet, unsigned int> >
> >::__append(unsigned long) + 11710
> 4  opt                      0x0000000101d53e66 void*
> llvm::object_creator<std::__1::vector<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> >,
> std::__1::allocator<std::__1::basic_string<char,
> std::__1::char_traits<char>, std::__1::allocator<char> > > > >() + 13206
> 5  opt                      0x0000000101d0f65d void
> std::__1::vector<llvm::StructType*, std::__1::allocator<llvm::StructType*>
> >::__push_back_slow_path<llvm::StructType* const>(llvm::StructType* const&)
> + 28685
> 6  opt                      0x0000000101d0f427 void
> std::__1::vector<llvm::StructType*, std::__1::allocator<llvm::StructType*>
> >::__push_back_slow_path<llvm::StructType* const>(llvm::StructType* const&)
> + 28119
> 7  opt                      0x0000000101cfb29c
> std::__1::vector<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>
> >::__swap_out_circular_buffer(std::__1::__split_buffer<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>&>&) + 27948
> 8  opt                      0x0000000101cfb48b
> std::__1::vector<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>
> >::__swap_out_circular_buffer(std::__1::__split_buffer<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>&>&) + 28443
> 9  opt                      0x0000000101cfb752
> std::__1::vector<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>
> >::__swap_out_circular_buffer(std::__1::__split_buffer<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>&>&) + 29154
> 10 opt                      0x0000000101cfbfbd
> std::__1::vector<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>
> >::__swap_out_circular_buffer(std::__1::__split_buffer<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>&>&) + 31309
> 11 opt                      0x0000000101cfc35d
> std::__1::vector<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>
> >::__swap_out_circular_buffer(std::__1::__split_buffer<llvm::Module::NeededRecord,
> std::__1::allocator<llvm::Module::NeededRecord>&>&) + 32237
> 12 opt                      0x00000001015915f7 void
> std::__1::vector<std::__1::pair<llvm::BasicBlock*,
> llvm::SuccIterator<llvm::TerminatorInst*, llvm::BasicBlock> >,
> std::__1::allocator<std::__1::pair<llvm::BasicBlock*,
> llvm::SuccIterator<llvm::TerminatorInst*, llvm::BasicBlock> > >
> >::__push_back_slow_path<std::__1::pair<llvm::BasicBlock*,
> llvm::SuccIterator<llvm::TerminatorInst*, llvm::BasicBlock> >
> const>(std::__1::pair<llvm::BasicBlock*,
> llvm::SuccIterator<llvm::TerminatorInst*, llvm::BasicBlock> > const&) + 7927
> 13 libdyld.dylib            0x00007fff9878c5fd start + 1
> 14 libdyld.dylib            0x0000000000000005 start + 1736915465
> Stack dump:
> 0. Program arguments:
> /Users/aliot/Desktop/webcl/compilo/llvm/fastcomp/bin/opt
> /tmp/emscripten_temp/tmpjCxa9g.1.bc -pnacl-abi-simplify-postopt -o
> /tmp/emscripten_temp/tmpPHrGPa.3.bc
> 1. Running pass 'Function Pass Manager' on module
> '/tmp/emscripten_temp/tmpjCxa9g.1.bc'.
> 2. Running pass 'Module Verifier' on function
> '@_ZNK8Variable11getLongSafeEv'
> Traceback (most recent call last):
>   File "/Users/aliot/Emscripten/emscripten.py", line 1337, in <module>
>     _main(environ=os.environ)
>   File "/Users/aliot/Emscripten/emscripten.py", line 1325, in _main
>     temp_files.run_and_clean(lambda: main(
>   File "/Users/aliot/Emscripten/tools/tempfiles.py", line 39, in
> run_and_clean
>     return func()
>   File "/Users/aliot/Emscripten/emscripten.py", line 1333, in <lambda>
>     DEBUG_CACHE=DEBUG_CACHE,
>   File "/Users/aliot/Emscripten/emscripten.py", line 1220, in main
>     jcache=jcache, temp_files=temp_files, DEBUG=DEBUG,
> DEBUG_CACHE=DEBUG_CACHE)
>   File "/Users/aliot/Emscripten/emscripten.py", line 764, in emscript_fast
>     assert os.path.exists(temp3)
> AssertionError
> Traceback (most recent call last):
>   File "/Users/aliot/Emscripten/emcc", line 1691, in <module>
>     final = shared.Building.emscripten(final, append_ext=False,
> extra_args=extra_args)
>   File "/Users/aliot/Emscripten/tools/shared.py", line 1221, in emscripten
>     assert os.path.exists(filename + '.o.js') and len(open(filename +
> '.o.js', 'r').read()) > 0, 'Emscripten failed to generate .js: ' +
> str(compiler_output)
> AssertionError: Emscripten failed to generate .js:
> make: *** [all_engine_js] Error 1
>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to