search for: androideabi

Displaying 20 results from an estimated 85 matches for "androideabi".

2018 Mar 23
2
cuda cross compiling issue for target aarch64-linux-androideabi
...has encountered this issue when cross compiling cuda on Nvidia TX2 running android. The error is In file included from <built-in>:1: In file included from prebuilts/clang/host/linux-x86/clang-4667116/lib64/clang/7.0.1/include/__clang_cuda_runtime_wrapper.h:219: ../cuda/targets/aarch64-linux-androideabi/include/math_functions.hpp:3477:19: error: no matching function for call to '__isinf' if (a == 0.0 || __isinf(a)) { ^~~~~~~ ../cuda/targets/aarch64-linux-androideabi/include/math_functions_dbl_ptx3.hpp:165:38: note: candidate function not viable: call to __device__ funct...
2018 Mar 23
0
cuda cross compiling issue for target aarch64-linux-androideabi
...ross compiling > cuda on Nvidia TX2 running android. > > The error is > In file included from <built-in>:1: > In file included from > prebuilts/clang/host/linux-x86/clang-4667116/lib64/clang/7.0.1/include/__clang_cuda_runtime_wrapper.h:219: > ../cuda/targets/aarch64-linux-androideabi/include/math_functions.hpp:3477:19: > error: no matching function for call to '__isinf' > if (a == 0.0 || __isinf(a)) { > ^~~~~~~ > ../cuda/targets/aarch64-linux-androideabi/include/math_functions_dbl_ptx3.hpp:165:38: > note: candidate function not viable:...
2013 Jul 17
3
[LLVMdev] regarding compiling clang for different platform
Hi, I am new to LLVM I want to use llvm and clang on Android, I have downloaded android toolchain and did the configure for llvm using the following commad ./configure --build=arm-linux-androideabi --host=arm-linux-androideabi --target=arm-linux-androideabi --with-float=hard --with-fpu=neon --enable-targets=arm --enable-optimized --enable-assertions and was getting the error "checking build system type... Invalid configuration `arm-linux-androideabi': system `androideabi' not r...
2013 Jul 18
2
Help building OPUS library using FIXED_POINT option
...[exec] StaticLibrary : lib1.a [exec] StaticLibrary : lib0.a [exec] StaticLibrary : lib1.a [exec] SharedLibrary : libdmt_opus.so [exec] SharedLibrary : libdmt_opus.so [exec] SharedLibrary : libdmt_opus.so [exec] C:/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/preb uilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-andr oideabi/bin/ld.exe: ./obj/local/armeabi/lib0.a(analysis.o): in function run_anal ysis:jni/src/libopus/src/analysis.c:636: error: undefined reference to 'optimize _framesize' [exec] C:/android/andr...
2018 Mar 15
2
[RFC] Stop giving a default CPU to the LTO plugin?
...re may also be a way of handling an inappropriate cpu/triple combination more gracefully. The full story of a problem with the Arm target is available at https://bugs.llvm.org/show_bug.cgi?id=36542 . A short description of the problem is: - Source files are compiled with -mthumb --target=arm-linux-androideabi -mcpu=cortex-a7, this records a triple of thumbv7a-linux-androideabi in the bitcode file. - The command line for the link step only passes --target= arm-linux-androideabi. - The default cpu passed to LTO for a triple arm-linux-androideabi is the very old arm7tdmi. - When the ARMAsmBackend is create...
2018 Mar 15
0
[RFC] Stop giving a default CPU to the LTO plugin?
...n inappropriate > cpu/triple combination more gracefully. > > The full story of a problem with the Arm target is available at > https://bugs.llvm.org/show_bug.cgi?id=36542 . A short description of > the problem is: > - Source files are compiled with -mthumb > --target=arm-linux-androideabi -mcpu=cortex-a7, > this records a triple of thumbv7a-linux-androideabi in the bitcode file. > - The command line for the link step only passes --target= > arm-linux-androideabi. > - The default cpu passed to LTO for a triple arm-linux-androideabi is > the very old arm7tdmi. > - Wh...
2014 Feb 13
2
[LLVMdev] [cfe-dev] Unwind behaviour in Clang/LLVM
On Thu, Feb 13, 2014 at 5:52 PM, Renato Golin <renato.golin at linaro.org> wrote: > On 13 February 2014 13:47, Evgeniy Stepanov <eugenis at google.com> wrote: >> Hm, I see that -funwind-tables on arm-linux-androideabi target >> replaces this "cantunwind" with a proper unwind table. >> Hence http://llvm-reviews.chandlerc.com/D2762. > > If Android is using EHABI (I think it is), the default now is to > output full tables all the time, everywhere. This will change to be > the same...
2014 Feb 13
2
[LLVMdev] [cfe-dev] Unwind behaviour in Clang/LLVM
...tables. I'm going to add that in the >> driver for all sanitizers then. > > -funwind-tables are not yet understood by ARM, but it is for Dwarf EH. > I plan on moving ARM to the same style as Dwarf, so you can assume it > is correct. Hm, I see that -funwind-tables on arm-linux-androideabi target replaces this "cantunwind" with a proper unwind table. Hence http://llvm-reviews.chandlerc.com/D2762.
2014 Aug 07
2
[LLVMdev] Prevent clang from replacing code with library calls
> On Aug 7, 2014, at 4:12 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote: > >> I downloaded the latest NDK (r10) and compiled with the following cmd: >> arm-linux-androideabi-clang myMemcpy.c -S -fno-builtin -o0 >> It still produces assembly with a call to "memcpy". Maybe the -fno-builtin >> is broken also in the latest release. > It's not broken. Even freestanding implementation is supposed to > provide mem* functions. > It’s also s...
2013 Jul 18
0
[LLVMdev] regarding compiling clang for different platform
Hi Venkata, > ./configure --build=arm-linux-androideabi --host=arm-linux-androideabi > --target=arm-linux-androideabi --with-float=hard --with-fpu=neon > --enable-targets=arm --enable-optimized --enable-assertions Renato's suggestion is a good one, but I suspect the immediate problem here is that this configure line is for building *on* an AR...
2014 Mar 27
2
[LLVMdev] Building sanitizers for Android
...CMake configuration below). The only missing pieces are that the shared object is not added to the install directory and the test suites are not built. Is this a build configuration you'd consider using? $ cmake -G Ninja .. \ -DCMAKE_INSTALL_PREFIX=ship \ -DCMAKE_C_COMPILER=arm-linux-androideabi-gcc \ -DCMAKE_CXX_COMPILER=arm-linux-androideabi-g++ \ -DCMAKE_PREFIX_PATH=`pwd`/../../llvm/out/ship \ -DANDROID=1 \ -DCMAKE_SYSTEM_NAME=Linux \ -DCMAKE_C_FLAGS=--sysroot=$(ndkDir)/platforms/android-19/arch-arm \ -DCMAKE_CXX_FLAGS=--sysroot=$(ndkDir)/platforms/android-19/arc...
2015 Aug 28
4
TSAN hack on AArch64 for Android
...individually, and fix them before commit. The > bots > > will also be happier, and every one wins. > > [ jasonk --> ] Sorry, but I don't understand what you want here. The > tests I touched are marked unsupported (i.e. won't be run at all) ONLY for > aarch64-linux-androideabi. Is there something else you want? It should not > impact any other configuration of TSAN/compiler-rt as-is. I also guard TSAN > with a CMAKE variable so that it only gets built for aarch64 iff > COMPILER_RT_FORCE_TSAN_AARCH64=1 > > > > > cheers, > > -renato > &gt...
2014 Aug 07
2
[LLVMdev] Prevent clang from replacing code with library calls
Hi, I downloaded the latest NDK (r10) and compiled with the following cmd: *arm-linux-androideabi-clang myMemcpy.c -S -fno-builtin -o0* It still produces assembly with a call to "memcpy". Maybe the -*fno-builtin *is broken also in the latest release. Do you have some other idea that can help here? Thanks, David On Tue, Aug 5, 2014 at 11:00 AM, Jim Grosbach <grosbach at apple.com...
2013 Jul 18
0
Help building OPUS library using FIXED_POINT option
On 13-07-18 8:12 AM, Dubois-Rande, Antoine wrote: > C:/android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/lib0.a(analysis.o): in function > run_analysis:jni/src/libopus/src/analysis.c:636: error: undefined reference to > 'optimize_framesize' Don't include an...
2018 Mar 16
2
[RFC] Stop giving a default CPU to the LTO plugin?
.../triple combination more gracefully. >> >> The full story of a problem with the Arm target is available at >> https://bugs.llvm.org/show_bug.cgi?id=36542 . A short description of >> the problem is: >> - Source files are compiled with -mthumb >> --target=arm-linux-androideabi -mcpu=cortex-a7, >> this records a triple of thumbv7a-linux-androideabi in the bitcode file. >> - The command line for the link step only passes --target= >> arm-linux-androideabi. >> - The default cpu passed to LTO for a triple arm-linux-androideabi is >> the very old...
2014 Aug 05
2
[LLVMdev] Prevent clang from replacing code with library calls
...example the following code: > > for (i=0;i<size;++i) > dest[i]=src[i]; > > will be compiled to (target=ARM assembly): > > bl __aeabi_memcpy(PLT) > > The compile cmd: > > /usr/share/android-arm-l14-toolchain/bin/clang31 -cc1 -triple > arm-none-linux-androideabi -S -target-abi aapcs-linux -target-cpu arm1022e > -backend-option -arm-enable-ehabi -backend-option > -arm-enable-ehabi-descriptors -backend-option -arm-ignore-has-ras > -internal-isystem > /usr/share/android-arm-l14-toolchain/lib/clang/3.1/include > -internal-externc-isystem > /u...
2014 Mar 27
2
[LLVMdev] Building sanitizers for Android
...are that the shared object is not >> added to the install directory and the test suites are not built. Is >> this a build configuration you'd consider using? >> >> $ cmake -G Ninja .. \ >> -DCMAKE_INSTALL_PREFIX=ship \ >> -DCMAKE_C_COMPILER=arm-linux-androideabi-gcc \ >> -DCMAKE_CXX_COMPILER=arm-linux-androideabi-g++ \ >> -DCMAKE_PREFIX_PATH=`pwd`/../../llvm/out/ship \ >> -DANDROID=1 \ >> -DCMAKE_SYSTEM_NAME=Linux \ >> -DCMAKE_C_FLAGS=--sysroot=$(ndkDir)/platforms/android-19/arch-arm \ >> -DCMAKE_...
2014 Aug 04
2
[LLVMdev] Prevent clang from replacing code with library calls
...cing some parts with efficient library functions. For example the following code: for (i=0;i<size;++i) dest[i]=src[i]; will be compiled to (target=ARM assembly): bl __aeabi_memcpy(PLT) The compile cmd: /usr/share/android-arm-l14-toolchain/bin/clang31 -cc1 -triple arm-none-linux-androideabi -S -target-abi aapcs-linux -target-cpu arm1022e -backend-option -arm-enable-ehabi -backend-option -arm-enable-ehabi-descriptors -backend-option -arm-ignore-has-ras -internal-isystem /usr/share/android-arm-l14-toolchain/lib/clang/3.1/include -internal-externc-isystem /usr/share/android-arm-l14-toolc...
2017 Sep 26
2
Difference between -mattr=+soft-float and -float-abi=soft
Hi, I’ve run into a case where `llc -mattr=+soft-float` for "armv7-unknown-linux-androideabi” segfaults, while `llc -float-abi=soft` does not. Similarly if the "target-features"="+soft-float” metadata is embedded, llc segfaults. I fear I’m missing something rather subtle here, could someone help me understand the differences? Cheers, Moritz
2014 Mar 28
2
[LLVMdev] Building sanitizers for Android
...t; added to the install directory and the test suites are not built. Is >>>> this a build configuration you'd consider using? >>>> >>>> $ cmake -G Ninja .. \ >>>> -DCMAKE_INSTALL_PREFIX=ship \ >>>> -DCMAKE_C_COMPILER=arm-linux-androideabi-gcc \ >>>> -DCMAKE_CXX_COMPILER=arm-linux-androideabi-g++ \ >>>> -DCMAKE_PREFIX_PATH=`pwd`/../../llvm/out/ship \ >>>> -DANDROID=1 \ >>>> -DCMAKE_SYSTEM_NAME=Linux \ >>>> -DCMAKE_C_FLAGS=--sysroot=$(ndkDir)/platforms/and...