[llvm-bugs] [Bug 42508] New: fatal error: error in backend: Do not know how to expand this operator's operand!

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 4 03:29:03 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42508

            Bug ID: 42508
           Summary: fatal error: error in backend: Do not know how to
                    expand this operator's operand!
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: WebAssembly
          Assignee: unassignedbugs at nondot.org
          Reporter: mehdisabwat at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 22192
  --> https://bugs.llvm.org/attachment.cgi?id=22192&action=edit
Preprocessed source

Hello, 

My use case is the following. I am using latest-upstream emscripten toolchain
to cross compile ffmpeg for Webassembly.

[b1ue at 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
https://bugs.llvm.org/ 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190704/6c0c1754/attachment.html>


More information about the llvm-bugs mailing list