<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - fatal error: error in backend: Do not know how to expand this operator's operand!"
href="https://bugs.llvm.org/show_bug.cgi?id=42508">42508</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>fatal error: error in backend: Do not know how to expand this operator's operand!
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: WebAssembly
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mehdisabwat@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=22192" name="attach_22192" title="Preprocessed source">attachment 22192</a> <a href="attachment.cgi?id=22192&action=edit" title="Preprocessed source">[details]</a></span>
Preprocessed source
Hello,
My use case is the following. I am using latest-upstream emscripten toolchain
to cross compile ffmpeg for Webassembly.
[b1ue@b1uesea contrib-wasm]$ emcc -v
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.38.37
clang version 9.0.0
(/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project
922759a63d7d8edbc47578b4718a38765093d24e)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/b1ue/b1ue/workdir_vlc/emsdk/upstream/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0
Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/9.1.0
Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/9.1.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64
shared:INFO: (Emscripten: Running sanity checks)
I have this error :
ExpandIntegerOperand Op #1: t23: f64 = fcopysign t9, t29,
libavutil/avsscanf.c:598:16 @[ libavutil/avsscanf.c:685:20 @[
libavutil/avsscanf.c:921:21 ] ]
fatal error: error in backend: Do not know how to expand this operator's
operand!
clang-9: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 9.0.0
(/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-llvm-llvm--project
922759a63d7d8edbc47578b4718a38765093d24e)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /home/b1ue/b1ue/workdir_vlc/emsdk/upstream/bin
clang-9: note: diagnostic msg: PLEASE submit a bug report to
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash backtrace, preprocessed source,
and associated run script.
clang-9: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-9: note: diagnostic msg: /tmp/avsscanf-9aec02.c
clang-9: note: diagnostic msg: /tmp/avsscanf-9aec02.sh
clang-9: note: diagnostic msg:
********************
If you need me to provide more information or more context do not hesitate to
reach out.
Thank you,
Regards</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>