<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 - cross-compile soundtouch with `android-ndk-r14b/toolchains/llvm` error"
href="https://bugs.llvm.org/show_bug.cgi?id=39947">39947</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>cross-compile soundtouch with `android-ndk-r14b/toolchains/llvm` error
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>MacOS X
</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>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>oncealong@163.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=21210" name="attach_21210" title="the file and sh compiler error">attachment 21210</a> <a href="attachment.cgi?id=21210&action=edit" title="the file and sh compiler error">[details]</a></span>
the file and sh compiler error
FAILED:
/Users/along/Library/Android/android-ndk-r14b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++
--target=armv5te-none-linux-androideabi
--gcc-toolchain=/Users/along/Library/Android/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
--sysroot=/Users/along/Library/Android/android-ndk-r14b/platforms/android-14/arch-arm
-Darmplayer_EXPORTS
-I../../../../../../contrib/build/ffmpeg-armv7a/output/include
-I../../../../../ijkplayer-java/src/main/jni/android-ndk-prof
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/hls
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkdownload/android/jni
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkdownload
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4a/class/android/media
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4a/class/android/os
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4a/class/java/nio
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4a/class/java/util
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4a/class/tv/danmaku/ijk/media/player
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4a/class/tv/danmaku/ijk/media/misc
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4a
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4au/class/android/media
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkj4a/j4au/class/java/nio
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijknetwork
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkplayer/android/pipeline
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkplayer/android
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkplayer/ijkavformat
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkplayer/ijkavutil
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkplayer/ijkproxy/libcurl/android
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkplayer/ijkproxy
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkplayer/pipeline
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkplayer
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksdl/android
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksdl/dummy
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksdl/ffmpeg
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksdl/gles2
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksdl
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksoundtouch/include
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksoundtouch/source/SoundStretch
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksoundtouch/source/SoundTouch
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijksoundtouch/source/SoundTouchDLL
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkyuv/include
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/ijkyuv/util
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia/log
-I../../../../../ijkplayer-java/src/main/jni/ijkmedia -isystem
/Users/along/Library/Android/android-ndk-r14b/sources/cxx-stl/llvm-libc++/include
-isystem
/Users/along/Library/Android/android-ndk-r14b/sources/android/support/include
-isystem
/Users/along/Library/Android/android-ndk-r14b/sources/cxx-stl/llvm-libc++abi/include
-g -DANDROID -ffunction-sections -funwind-tables -fstack-protector-strong
-no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float
-fno-integrated-as -mthumb -Wa,--noexecstack -Wformat -Werror=format-security
-std=c++11 -g -DANDROID -ffunction-sections -funwind-tables
-fstack-protector-strong -no-canonical-prefixes -march=armv5te -mtune=xscale
-msoft-float -fno-integrated-as -mthumb -Wa,--noexecstack -Wformat
-Werror=format-security -std=c++11 -frtti -fexceptions -std=c++11 -std=c++98
-DWEBRTC_POSIX -DNMDEBUG -D__STDC_CONSTANT_MACROS -DUSR_DEF_ENABLE_CONVERTER=1
-DUSR_CODEC_DEBUG=0 -DTESR_RUNTIME_COST=0 -D__cdecl= -D__stdcall= -std=c++11
-Wall -mfloat-abi=soft -DANDROID -Os -DNDEBUG -Os -DNDEBUG -fPIC
-fno-omit-frame-pointer -fexceptions -Wall -MD -MT
CMakeFiles/armplayer.dir/src/main/jni/ijkmedia/ijksoundtouch/source/SoundTouch/BPMDetect.cpp.o
-MF
CMakeFiles/armplayer.dir/src/main/jni/ijkmedia/ijksoundtouch/source/SoundTouch/BPMDetect.cpp.o.d
-o
CMakeFiles/armplayer.dir/src/main/jni/ijkmedia/ijksoundtouch/source/SoundTouch/BPMDetect.cpp.o
-c
/Users/along/EduAppDev/ARMPlayer-android/android/ijkplayer/ijkplayer-java/src/main/jni/ijkmedia/ijksoundtouch/source/SoundTouch/BPMDetect.cpp
fatal error: error in backend: Cannot select: 0x7ff32a064930: i32 =
ARMISD::SSAT 0x7ff32a0662a0, Constant:i32<15>
0x7ff32a0662a0: i32,ch,glue = CopyFromReg 0x7ff32a066310, Register:i32 %R0,
0x7ff32a066310:1
0x7ff32a066cb0: i32 = Register %R0
0x7ff32a066310: ch,glue = callseq_end 0x7ff32a0663f0,
TargetConstant:i32<0>, TargetConstant:i32<0>, 0x7ff32a0663f0:1
0x7ff32a874400: i32 = TargetConstant<0>
0x7ff32a874400: i32 = TargetConstant<0>
0x7ff32a0663f0: ch,glue = ARMISD::CALL 0x7ff32a066620,
TargetExternalSymbol:i32'__aeabi_idiv', Register:i32 %R0, Register:i32 %R1,
RegisterMask:Untyped, 0x7ff32a066620:1
0x7ff32a0665b0: i32 = TargetExternalSymbol'__aeabi_idiv'
0x7ff32a066cb0: i32 = Register %R0
0x7ff32a066690: i32 = Register %R1
0x7ff32a0664d0: Untyped = RegisterMask
0x7ff32a066620: ch,glue = CopyToReg 0x7ff32a066a10, Register:i32 %R1,
0x7ff32a01a710, 0x7ff32a066a10:1
0x7ff32a066690: i32 = Register %R1
0x7ff32a01a710: i32,ch = CopyFromReg 0x7ff327451450, Register:i32
%vreg3
0x7ff32a01aef0: i32 = Register %vreg3
0x7ff32a066a10: ch,glue = CopyToReg 0x7ff32a01a9b0, Register:i32
%R0, 0x7ff32a066c40
0x7ff32a066cb0: i32 = Register %R0
0x7ff32a066c40: i32,ch = load<LD4[%47](tbaa=<0x7ff32741b918>)>
0x7ff327451450, 0x7ff32a01ac50, undef:i32
0x7ff32a01ac50: i32 = add 0x7ff32a066930, Constant:i32<28>
0x7ff32a066930: i32,ch = CopyFromReg 0x7ff327451450,
Register:i32 %vreg22
0x7ff32a064770: i32 = Register %vreg22
0x7ff32a0644d0: i32 = Constant<28>
0x7ff32a01af60: i32 = undef
0x7ff32a878170: i32 = Constant<15>
In function: _ZN10soundtouch9BPMDetect8decimateEPsPKsi
clang++: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
Android clang version 3.8.275480 (based on LLVM 3.8.275480)
Target: armv5te-none-linux-android
Thread model: posix
InstalledDir:
/Users/along/Library/Android/android-ndk-r14b/toolchains/llvm/prebuilt/darwin-x86_64/bin
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:
/var/folders/6k/zthtjldx3p57hklv6rk636lr0000gn/T/BPMDetect-1dbe35.cpp
clang++: note: diagnostic msg:
/var/folders/6k/zthtjldx3p57hklv6rk636lr0000gn/T/BPMDetect-1dbe35.sh</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>