<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 - failed cross compiling ffmpeg's av_sscanf (libavutil/avstring.h)"
href="https://bugs.llvm.org/show_bug.cgi?id=40208">40208</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>failed cross compiling ffmpeg's av_sscanf (libavutil/avstring.h)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>chcunningham@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>blitzrakete@gmail.com, dgregor@apple.com, erik.pilkington@gmail.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=21286" name="attach_21286" title="preprocessed source">attachment 21286</a> <a href="attachment.cgi?id=21286&action=edit" title="preprocessed source">[details]</a></span>
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
<a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> 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</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>