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

            Bug ID: 40208
           Summary: failed cross compiling ffmpeg's av_sscanf
                    (libavutil/avstring.h)
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: chcunning...@google.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@metafoo.co.uk

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

Encountered while rolling latest ffmpeg into chromium. 


Cross compile info:

Host OS       : linux
Target OS     : android
Host arch     : x64
Target arch   : x64



Error output:

fatal error: error in backend: Cannot select: t81: ch = store<(store 8 into
%stack.6), trunc to f64> t0, t38, FrameIndex:i64<6>, undef:i64
  t38: f128,ch,glue = CopyFromReg t36, Register:f128 $xmm0, t36:1
    t37: f128 = Register $xmm0
    t36: ch,glue = callseq_end t35, TargetConstant:i64<0>,
TargetConstant:i64<0>, t35:1
      t7: i64 = TargetConstant<0>
      t7: i64 = TargetConstant<0>
      t35: ch,glue = X86ISD::CALL t33, TargetExternalSymbol:i64'__floatsitf'
[TF=6], Register:i32 $edi, RegisterMask:Untyped, t33:1
        t34: i64 = TargetExternalSymbol'__floatsitf' [TF=6]
        t11: i32 = Register $edi
        t14: Untyped = RegisterMask
        t33: ch,glue = CopyToReg t32, Register:i32 $edi, t22
          t11: i32 = Register $edi
          t22: i32 = AssertSext t20, ValueType:ch:i4
            t20: i32,ch = CopyFromReg t0, Register:i32 %260
              t19: i32 = Register %260
  t80: i64 = FrameIndex<6>
  t53: i64 = undef
In function: av_sscanf
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 8.0.0 (trunk 349417)
Target: x86_64-unknown-linux-android
Thread model: posix
InstalledDir: /ssd/blink3/src/third_party/llvm-build/Release+Asserts/bin
clang: 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: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/avsscanf-6714ad.c
clang: note: diagnostic msg: /tmp/avsscanf-6714ad.sh
clang: note: diagnostic msg: 

********************
/ssd/blink3/src/third_party/ffmpeg/ffbuild/common.mak:60: recipe for target
'libavutil/avsscanf.o' failed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to