So that was a loaded subject line. I'm creating a port of webkit called
webkit.js (http://github.com/trevorlinton/webkit.js). So far i've been
fairly successful at compiling in both Release / Debug modes. I've been
able to incorporate all of webkit's dependencies
(freetype/fontconfig/cairo/etc..) and for months haven't had many issues
(at least, not with emscripten). But as of recent i've began working in
Debug mode because of its lovely stack traces that are incredibly helpful.
I went to do a recompile in Release mode and have been experiencing some
weird errors, if I remove -O2 from the command everything works fine, add
it back in, and I get these errors:
Traceback (most recent call last):
File "/Users/tlinton/Library/Emscripten/emscripten/1.12.0/emscripten.py",
line 1405, in <module>
_main(environ=os.environ)
File "/Users/tlinton/Library/Emscripten/emscripten/1.12.0/emscripten.py",
line 1393, in _main
temp_files.run_and_clean(lambda: main(
File
"/Users/tlinton/Library/Emscripten/emscripten/1.12.0/tools/tempfiles.py",
line 39, in run_and_clean
return func()
File "/Users/tlinton/Library/Emscripten/emscripten/1.12.0/emscripten.py",
line 1401, in <lambda>
DEBUG_CACHE=DEBUG_CACHE,
File "/Users/tlinton/Library/Emscripten/emscripten/1.12.0/emscripten.py",
line 1288, in main
jcache=jcache, temp_files=temp_files, DEBUG=DEBUG,
DEBUG_CACHE=DEBUG_CACHE)
File "/Users/tlinton/Library/Emscripten/emscripten/1.12.0/emscripten.py",
line 292, in emscript
assert len(output) == 2, 'Did not receive forwarded data in an output -
process failed? We only got: ' + output[0][-3000:]
AssertionError: Did not receive forwarded data in an output - process
failed? We only got:
[ Very long dump of code ]
Traceback (most recent call last):
File "/Users/tlinton/Library/Emscripten/emscripten/1.12.0/emcc", line
1525, in <module>
final = shared.Building.emscripten(final, append_ext=False,
extra_args=extra_args)
File
"/Users/tlinton/Library/Emscripten/emscripten/1.12.0/tools/shared.py", line
1276, 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:
You can view the full build log here:
http://pastebin.com/LfJSrvRX
Does anyone know off hand what might be the issue? Is there any hugely
concerning issues with the build log (other than some missing/unresolved
symbols)? I should note that in Debug mode it compiles and runs (well
there are issues, but unrelated to emscripten).
--
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.