[Android Software/Hacking General [Developers Only]] vimal101:
Help me With this

target clang thumb C: libc_openbsd_32 <= bionic/libc/upstream-openbsd/lib/libc/string/memchr.c
Both operands to a binary operator are not of the same type!
%100 = add i64 %92, i32 1
Call parameter type does not match function signature!
i64 0
i32 call void @GOMP_parallel_loop_runtime_start(void (i8*)* @swapfunc_polly_subfn, i8* %99, i32 0, i64 0, i64 %100, i64 1)
Both operands to a binary operator are not of the same type!
%117 = add i64 %109, i32 1
Call parameter type does not match function signature!
i64 0
i32 call void @GOMP_parallel_loop_runtime_start(void (i8*)* @swapfunc_polly_subfn_1, i8* %116, i32 0, i64 0, i64 %117, i64 1)
0 clang 0x0000000000f0e284 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 50
1 clang 0x0000000000f0d1bd llvm::sys::RunSignalHandlers() + 52
2 clang 0x0000000000f0d3d3
3 libpthread.so.0 0x00002b2722eac390
4 clang 0x000000000129c387
5 clang 0x00000000012a7efd llvm::SelectionDAG::getNode(unsigned int, llvm::SDLoc, llvm::SDVTList, llvm::ArrayRef<llvm::SDValue>) + 527
6 clang 0x000000000130ed66
7 clang 0x0000000001318af5
8 clang 0x00000000012d4b4c
9 clang 0x00000000012d4f72 llvm::SelectionDAG::LegalizeTypes() + 348
10 clang 0x00000000012b78d5 llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 273
11 clang 0x00000000012bde46 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1396
12 clang 0x00000000012be1db llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 699
13 clang 0x0000000000a309df
14 clang 0x0000000000d5ff42 llvm::FPPassManager::runOnFunction(llvm::Function&) + 300
15 clang 0x0000000000d60033 llvm::FPPassManager::runOnModule(llvm::Module&) + 37
16 clang 0x0000000000d5fc87 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 481
17 clang 0x0000000000fa5556 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, llvm::raw_pwrite_stream*) + 7358
18 clang 0x00000000013282bd
19 clang 0x00000000014cd799 clang::ParseAST(clang::Sema&, bool, bool) + 563
20 clang 0x0000000001158820 clang::FrontendAction::Execute() + 54
21 clang 0x000000000113f0e9 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 403
22 clang 0x0000000001195ced clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2891
23 clang 0x00000000008c93c8 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1034
24 clang 0x0000000000896396 main + 1694
25 libc.so.6 0x00002b2723b93830 __libc_start_main + 240
26 clang 0x00000000008c80d9 _start + 41
Stack dump:
0.	Program arguments: prebuilts/clang/linux-x86/host/3.9/bin/clang -cc1 -triple thumbv7--linux-android -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name qsort.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu cortex-a7 -target-feature +soft-float-abi -target-feature -fp-only-sp -target-feature -d16 -target-feature +vfp4 -target-feature -fp-armv8 -target-feature +neon -target-feature -crypto -target-abi aapcs-linux -mfloat-abi soft -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage-file /home/vimal/.ccache/b/f/e275099e2c429f2df739690d35eb3e-48304171.o.tmp.vimal-desktop.19615 -nostdsysteminc -resource-dir prebuilts/clang/linux-x86/host/3.9/bin/../lib/clang/3.9.0 -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem out/target/product/land/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -include build/core/combo/include/arch/linux-arm/AndroidConfig.h -include freebsd-compat.h -I bionic/libc/stdio -I bionic/libc/upstream-freebsd/android/include -I bionic/libc/upstream-freebsd/lib/libc/include -I bionic/libc -I out/target/product/land/obj_arm/STATIC_LIBRARIES/libc_freebsd_intermediates -I out/target/product/land/gen/STATIC_LIBRARIES/libc_freebsd_intermediates -I libnativehelper/include/nativehelper -D _FORTIFY_SOURCE=2 -I build/core/combo/include/arch/linux-arm/ -D QCOM_HARDWARE -D QCOM_BSP -D QTI_BSP -D ANDROID -D NDEBUG -D NDEBUG -U DEBUG -D __compiler_offsetof=__builtin_offsetof -D _LIBC=1 -D TARGET_USES_LOGD -D USE_DLMALLOC -internal-isystem prebuilts/clang/linux-x86/host/3.9/bin/../lib/clang/3.9.0/include -O3 -Wno-multichar -Werror=format-security -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wstrict-aliasing=2 -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -Wunused -Werror=pointer-to-int-cast -Werror=int-to-pointer-cast -Werror=type-limits -Wno-sign-compare -Wno-uninitialized -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -w -std=gnu99 -fdebug-compilation-dir /home/vimal/Tesla -ferror-limit 19 -fmessage-length 0 -femulated-tls -stack-protector 2 -fallow-half-arguments-and-returns -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -mllvm -polly -mllvm -polly-parallel -mllvm -polly-parallel-force -mllvm -polly-ast-use-context -mllvm -polly-vectorizer=polly -mllvm -polly-opt-fusion=max -mllvm -polly-opt-maximize-bands=yes -mllvm -polly-run-dce -mllvm -polly-dependences-computeout=0 -mllvm -polly-dependences-analysis-type=value-based -mllvm -polly-position=after-loopopt -mllvm -polly-run-inliner -mllvm -polly-detect-keep-going -mllvm -polly-rtc-max-arrays-per-group=40 -mllvm -polly-register-tiling -o /home/vimal/.ccache/b/f/e275099e2c429f2df739690d35eb3e-48304171.o.tmp.vimal-desktop.19615 -x c bionic/libc/upstream-freebsd/lib/libc/stdlib/qsort.c
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module 'bionic/libc/upstream-freebsd/lib/libc/stdlib/qsort.c'.
4.	Running pass 'ARM Instruction Selection' on function '@swapfunc'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.9.0
Target: arm--linux-android
Thread model: posix
InstalledDir: prebuilts/clang/linux-x86/host/3.9/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: /tmp/qsort-ae67f2.c
clang: note: diagnostic msg: /tmp/qsort-ae67f2.sh
clang: note: diagnostic msg:

********************
make: *** [/home/vimal/Tesla/out/target/product/land/obj_arm/STATIC_LIBRARIES/libc_freebsd_intermediates/upstream-freebsd/lib/libc/stdlib/qsort.o] Error 254
make: *** Waiting for unfinished jobs....
target clang thumb C: libc_openbsd_32 <= bionic/libc/upstream-openbsd/lib/libc/string/memrchr.c
make: Leaving directory `/home/vimal/Tesla'

#### make failed to build some targets (01:29 (mm:ss)) ####

Need help