[llvm-bugs] [Bug 39947] New: cross-compile soundtouch with `android-ndk-r14b/toolchains/llvm` error
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Dec 10 20:51:34 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39947
Bug ID: 39947
Summary: cross-compile soundtouch with
`android-ndk-r14b/toolchains/llvm` error
Product: clang
Version: 3.8
Hardware: PC
OS: MacOS X
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: oncealong at 163.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Created attachment 21210
--> https://bugs.llvm.org/attachment.cgi?id=21210&action=edit
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
http://llvm.org/bugs/ 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
--
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/20181211/b7c6a300/attachment-0001.html>
More information about the llvm-bugs
mailing list