<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - clang-3.4rc3 fails to cross-compile libavfilter/af_volume.c for aarch64"
href="http://llvm.org/bugs/show_bug.cgi?id=18391">18391</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>clang-3.4rc3 fails to cross-compile libavfilter/af_volume.c for aarch64
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>janne-llvm@jannau.net
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Error encountered while compiling git://git.libav.org/libav.git master on
x86_64 gentoo for -target aarch64-unknown-linux-gnu. Sysroot and binutils are
generated by gentoo's crossdev.
It spits following error message out:
fatal error: error in backend: Cannot select: 0x424e4f0: ch = store 0x4267060,
0x4250f20, 0x426bdc0,
0x4251120<ST4[FixedStack0], trunc to v4i8> [ORD=200] [ID=71]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4250f20: v4i32 = vselect 0x4250920, 0x4251f00, 0x4267260 [ORD=196] [ID=70]
0x4250920: v4i32 = AArch64ISD::NEON_CMP 0x4267260, 0x4250a20, 0x4267660
[ORD=193] [ID=68] dbg:/home/janne/src/libav/libavutil/common.h:107
0x4267260: v4i32 = add 0x426bbc0, 0x424f2f0 [ORD=192] [ID=66]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x426bbc0: v4i32 = sra 0x4252500, 0x424ebf0 [ORD=191] [ID=65]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4252500: v4i32 = add 0x4267560, 0x424f2f0 [ORD=190] [ID=64]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267560: v4i32 = mul 0x424ecf0, 0x4251d00 [ORD=189] [ID=63]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x424ecf0: v4i32 = add 0x426bcc0, 0x4267160 [ORD=188] [ID=62]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x426bcc0: v4i32,ch = load 0x4267060, 0x424eff0,
0x4251120<LD4[FixedStack1](align=16), zext from v4i8> [ORD=187] [ID=61]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x424eff0: i64 = FrameIndex<1> [ID=17]
0x4251120: i64 = undef [ID=3]
0x4267160: v4i32 = AArch64ISD::NEON_MVNIMM 0x4267760, 0x4267c60
[ORD=188] [ID=37] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267760: i32 = TargetConstant<127> [ID=21]
0x4267c60: i32 = Constant<0> [ID=19]
0x4251d00: v4i32,ch = CopyFromReg 0x40d15a8, 0x4267860 [ORD=189]
[ID=30] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267860: v4i32 = Register %vreg3 [ID=4]
0x424f2f0: v4i32 = AArch64ISD::NEON_MOVIMM 0x4267b60, 0x4267c60
[ORD=190] [ID=36] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267b60: i32 = TargetConstant<128> [ID=20]
0x4267c60: i32 = Constant<0> [ID=19]
0x424ebf0: v4i32 = AArch64ISD::NEON_VDUP 0x426c3c0 [ORD=191] [ID=31]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x426c3c0: i32 = Constant<8> [ID=5]
0x424f2f0: v4i32 = AArch64ISD::NEON_MOVIMM 0x4267b60, 0x4267c60
[ORD=190] [ID=36] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267b60: i32 = TargetConstant<128> [ID=20]
0x4267c60: i32 = Constant<0> [ID=19]
0x4250a20: v4i32 = AArch64ISD::NEON_MOVIMM 0x4267360, 0x4267c60 [ORD=193]
[ID=35] dbg:/home/janne/src/libav/libavutil/common.h:107
0x4267360: i32 = TargetConstant<255> [ID=18]
0x4267c60: i32 = Constant<0> [ID=19]
0x4251f00: v4i32 = sra 0x426bac0, 0x424e9f0 [ORD=195] [ID=69]
dbg:/home/janne/src/libav/libavutil/common.h:107
0x426bac0: v4i32 = sub 0x4267160, 0x426bbc0 [ORD=194] [ID=67]
dbg:/home/janne/src/libav/libavutil/common.h:107
0x4267160: v4i32 = AArch64ISD::NEON_MVNIMM 0x4267760, 0x4267c60
[ORD=188] [ID=37] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267760: i32 = TargetConstant<127> [ID=21]
0x4267c60: i32 = Constant<0> [ID=19]
0x426bbc0: v4i32 = sra 0x4252500, 0x424ebf0 [ORD=191] [ID=65]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4252500: v4i32 = add 0x4267560, 0x424f2f0 [ORD=190] [ID=64]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267560: v4i32 = mul 0x424ecf0, 0x4251d00 [ORD=189] [ID=63]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x424ecf0: v4i32 = add 0x426bcc0, 0x4267160 [ORD=188] [ID=62]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x426bcc0: v4i32,ch = load 0x4267060, 0x424eff0,
0x4251120<LD4[FixedStack1](align=16), zext from v4i8> [ORD=187] [ID=61]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x424eff0: i64 = FrameIndex<1> [ID=17]
0x4251120: i64 = undef [ID=3]
0x4267160: v4i32 = AArch64ISD::NEON_MVNIMM 0x4267760, 0x4267c60
[ORD=188] [ID=37] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267760: i32 = TargetConstant<127> [ID=21]
0x4267c60: i32 = Constant<0> [ID=19]
0x4251d00: v4i32,ch = CopyFromReg 0x40d15a8, 0x4267860 [ORD=189]
[ID=30] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267860: v4i32 = Register %vreg3 [ID=4]
0x424f2f0: v4i32 = AArch64ISD::NEON_MOVIMM 0x4267b60, 0x4267c60
[ORD=190] [ID=36] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267b60: i32 = TargetConstant<128> [ID=20]
0x4267c60: i32 = Constant<0> [ID=19]
0x424ebf0: v4i32 = AArch64ISD::NEON_VDUP 0x426c3c0 [ORD=191] [ID=31]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x426c3c0: i32 = Constant<8> [ID=5]
0x424e9f0: v4i32 = AArch64ISD::NEON_VDUP 0x4267a60 [ORD=195] [ID=32]
dbg:/home/janne/src/libav/libavutil/common.h:107
0x4267a60: i32 = Constant<31> [ID=7]
0x426bcc0: v4i32,ch = load 0x4267060, 0x424eff0,
0x4251120<LD4[FixedStack1](align=16), zext from v4i8> [ORD=187] [ID=61]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x424eff0: i64 = FrameIndex<1> [ID=17]
0x4251120: i64 = undef [ID=3]
0x4267160: v4i32 = AArch64ISD::NEON_MVNIMM 0x4267760, 0x4267c60
[ORD=188] [ID=37] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267760: i32 = TargetConstant<127> [ID=21]
0x4267c60: i32 = Constant<0> [ID=19]
0x4251d00: v4i32,ch = CopyFromReg 0x40d15a8, 0x4267860 [ORD=189]
[ID=30] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267860: v4i32 = Register %vreg3 [ID=4]
0x424f2f0: v4i32 = AArch64ISD::NEON_MOVIMM 0x4267b60, 0x4267c60
[ORD=190] [ID=36] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267b60: i32 = TargetConstant<128> [ID=20]
0x4267c60: i32 = Constant<0> [ID=19]
0x424ebf0: v4i32 = AArch64ISD::NEON_VDUP 0x426c3c0 [ORD=191] [ID=31]
dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x426c3c0: i32 = Constant<8> [ID=5]
0x424f2f0: v4i32 = AArch64ISD::NEON_MOVIMM 0x4267b60, 0x4267c60 [ORD=190]
[ID=36] dbg:/home/janne/src/libav/libavfilter/af_volume.c:142:18
0x4267b60: i32 = TargetConstant<128> [ID=20]
0x4267c60: i32 = Constant<0> [ID=19]
0x426bdc0: i64 = FrameIndex<0> [ID=16]
0x4251120: i64 = undef [ID=3]
In function: scale_samples_u8_small
clang: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
clang version 3.4 (tags/RELEASE_34/rc3)
Target: aarch64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</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/af_volume-25006f.c
clang: note: diagnostic msg: /tmp/af_volume-25006f.sh
clang: note: diagnostic msg:
********************</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>