You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue that embedded_files.s gets generated with encoding 'Western (Windows 1252)'. Changing
diff --git a/tools/file_packager.py b/tools/file_packager.py
index 9ee8e4d2e..a828c8b88 100755
--- a/tools/file_packager.py+++ b/tools/file_packager.py@@ -265,7 +265,7 @@ def generate_object_file(data_files):
for f in embed_files:
f.c_symbol_name = '__em_file_data_%s' % to_c_symbol(f.dstpath, used)
- with open(asm_file, 'w') as out:+ with open(asm_file, 'w', encoding='UTF-8') as out:
out.write('# Emscripten embedded file data, generated by tools/file_packager.py\n')
for f in embed_files:
does fix the encoding:
however it does not actually affect the execution of LLVM itself, and the error message remains the same. It looks like LLVM might be having an issue here.
STR:
In Emscripten root directory,
results in failure
The above issue cannot be worked around by restricting the destination name to consist of only ascii characters E.g.
STR:
In e.g. Emscripten root directory,
fails with a different error message:
The text was updated successfully, but these errors were encountered: