Very strange. What is the full output when EMCC_DEBUG=1 in the env, when
this error occurs? Might be something helpful there.

On Thu, Aug 27, 2015 at 10:33 AM, Robert Goulet <[email protected]>
wrote:

> Using the tag 1.34.6 from the incoming branch, at link time I get this
> error when emcc reports the first linker warning:
>
> warning: unresolved symbol: _ZN5project26SomethingC1Ev
> Traceback (most recent call last):
>   File
> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emcc", line
> 1303, in <module>
>     final = shared.Building.emscripten(final, append_ext=False,
> extra_args=extra_args)
>   File
> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\tools\shared.py",
> line 1512, in emscripten
>     call_emscripten(cmdline)
>   File
> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emscripten.py",
> line 1079, in _main
>     temp_files.run_and_clean(lambda: main(
>   File
> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\tools\tempfiles.py",
> line 47, in run_and_clean
>     return func()
>   File
> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emscripten.py",
> line 1085, in <lambda>
>     DEBUG_CACHE=DEBUG_CACHE,
>   File
> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emscripten.py",
> line 983, in main
>     temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE)
>   File
> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emscripten.py",
> line 199, in emscript
>     cwd=path_from_root('src'), error_limit=300)
>   File
> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\tools\jsrun.py",
> line 75, in run_js
>     raise Exception('Expected the command ' + str(command) + ' to finish
> with return code ' + str(assert_returncode) + ', but it returned with code '
> + str(proc.returncode) + ' instead! Output: ' + str(ret)[:error_limit])
> Exception: Expected the command
> ['D:/dev/project/lib/emscripten-1.34.6-r0/node/0.10.17_64bit/node.exe',
> 'D:\\dev\\project\\lib\\emscripten-1.34.6-r0
> \\emscripten\\tag-1.34.6\\src\\compiler.js',
> 'D:\\dev\\project\\lib\\emscripten-1.34.6-r0\\.tmp\\tmp4chxcu.txt',
> 'D:\\dev\\project\\lib\\emscripten-
> 1.34.6-r0\\emscripten\\tag-1.34.6\\src\\library_pthread.js'] to finish
> with return code 0, but it returned with code 8 instead! Output: // The
> Module
> object: Our interface to the outside world. We import
> // and export values on it, and do the work to get that through
> // closure compiler if necessary. There are various ways Module can be
> used:
> // 1. Not defined. We create it here
> // 2. A function parameter, function(Module) { ..gener
>
> Launching another build without cleaning anything, after getting this
> error, will properly output the list of symbols that couldn't be found,
> without issues.
>
> Wasn't happening in 1.34.1.
>
> Anyone else seen this? Doesn't seems related to the project I'm building.
>
> Thanks!
>
> --
> 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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to