conan-io / conan-center-index

Recipes for the ConanCenter repository
https://conan.io/center
MIT License
945 stars 1.72k forks source link

[package] embree3/3.13.3: can't cross-compile for android #12263

Open AndreyMlashkin opened 2 years ago

AndreyMlashkin commented 2 years ago

Package and Environment Details

Conan profile

Configuration (profile_host): [settings] arch=armv7 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=14 os=Android os.api_level=21 [options] [build_requires] *: android-ndk/r25, cmake/3.24.0, ninja/1.11.0 [env]

Configuration (profile_build): [settings] arch=x86_64 build_type=Release compiler=clang compiler.cppstd=17 compiler.libcxx=libstdc++11 compiler.version=14 os=Linux [options] *:shared=False cmake:with_openssl=False opencv:with_gtk=False vulkan-loader:shared=True [build_requires] [env]

Steps to reproduce

conan install embree3/3.13.3@ --build missing -pr:h android_host -pr:b default

Logs

Click to expand log ``` conan install embree3/3.13.3@ --build missing -pr:h android_host -pr:b default Configuration (profile_host): [settings] arch=armv7 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=14 os=Android os.api_level=21 [options] [build_requires] *: android-ndk/r25, cmake/3.24.0, ninja/1.11.0 [env] Configuration (profile_build): [settings] arch=x86_64 build_type=Release compiler=clang compiler.cppstd=17 compiler.libcxx=libstdc++11 compiler.version=14 os=Linux [options] *:shared=False cmake:with_openssl=False opencv:with_gtk=False vulkan-loader:shared=True [build_requires] [env] embree3/3.13.3: WARN: Package binary is corrupted, removing: d43665a6b085bc1fc95f4618760143e047d0d461 Installing package: embree3/3.13.3 Requirements embree3/3.13.3 from 'artifactory' - Cache Packages embree3/3.13.3:d43665a6b085bc1fc95f4618760143e047d0d461 - Build Build requirements android-ndk/r25 from 'conancenter' - Cache cmake/3.24.0 from 'conancenter' - Cache ninja/1.11.0 from 'conancenter' - Cache openssl/1.1.1q from 'conancenter' - Cache Build requirements packages android-ndk/r25:4db1be536558d833e52e862fd84d64d75c2b3656 - Cache cmake/3.24.0:5c09c752508b674ca5cb1f2d327b5a2d582866c8 - Cache ninja/1.11.0:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Cache openssl/1.1.1q:24d596ecc3e7cfef35630620092c5615473ba82a - Cache Cross-build from 'Linux:x86_64' to 'Android:armv7' Installing (downloading, building) binaries... android-ndk/r25: Already installed! android-ndk/r25: Creating ANDROID_NDK_ROOT environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656 android-ndk/r25: Creating ANDROID_NDK_HOME environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656 android-ndk/r25: Creating CONAN_CMAKE_SYSTEM_PROCESSOR environment variable: x86_64 android-ndk/r25: Creating NDK_ROOT environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64 android-ndk/r25: Creating CHOST environment variable: arm-linux-androideabi android-ndk/r25: Creating CONAN_CMAKE_FIND_ROOT_PATH environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/sysroot android-ndk/r25: Creating SYSROOT environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/sysroot android-ndk/r25: Creating self.cpp_info.sysroot: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/sysroot android-ndk/r25: Creating ANDROID_NATIVE_API_LEVEL environment variable: 21 android-ndk/r25: Creating CONAN_CMAKE_PROGRAM environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/cmake-wrapper android-ndk/r25: Creating CONAN_CMAKE_TOOLCHAIN_FILE environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/build/cmake/android.toolchain.cmake android-ndk/r25: Creating CC environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang android-ndk/r25: Creating CXX environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi21-clang++ android-ndk/r25: Creating AR environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar android-ndk/r25: Creating AS environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-as android-ndk/r25: Creating RANLIB environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ranlib android-ndk/r25: Creating STRIP environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip android-ndk/r25: Creating ADDR2LINE environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-addr2line android-ndk/r25: Creating NM environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-nm android-ndk/r25: Creating OBJCOPY environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objcopy android-ndk/r25: Creating OBJDUMP environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objdump android-ndk/r25: Creating READELF environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-readelf android-ndk/r25: Creating LD environment variable: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/ld ninja/1.11.0: Already installed! openssl/1.1.1q: Already installed! cmake/3.24.0: Already installed! cmake/3.24.0: Appending PATH environment variable: /root/.conan/data/cmake/3.24.0/_/_/package/5c09c752508b674ca5cb1f2d327b5a2d582866c8/bin embree3/3.13.3: Applying build-requirement: android-ndk/r25 embree3/3.13.3: Applying build-requirement: cmake/3.24.0 embree3/3.13.3: Applying build-requirement: ninja/1.11.0 embree3/3.13.3: Applying build-requirement: openssl/1.1.1q embree3/3.13.3: WARN: Build folder is dirty, removing it: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461 embree3/3.13.3: Copying sources to build folder embree3/3.13.3: Building your package in /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461 embree3/3.13.3: Generator cmake created conanbuildinfo.cmake embree3/3.13.3: Aggregating env generators embree3/3.13.3: Calling build() Calling CMake via Android-NDK wrapper -- The C compiler identification is Clang 14.0.6 -- The CXX compiler identification is Clang 14.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler Clang>=8, checking major version 14 -- Conan: Checking correct version: 14 -- Conan: C++ stdlib: libc++ -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/build_subfolder Calling CMake via Android-NDK wrapper [6/78] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/condition.cpp.o In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/condition.cpp:4: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/condition.h:6: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/mutex.h:7: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/intrinsics.h:13: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/../simd/arm/emulation.h:12: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/../simd/arm/sse2neon.h:6755:9: warning: array designators are a C99 extension [-Wc99-designator] [0] = {SSE2NEON_sbox[vreinterpretq_nth_u8_m128i(a, 0)], ^~~ 1 warning generated. [7/78] Building CXX object source_subfolder/common/sys/CMakeFiles/sys.dir/mutex.cpp.o In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/mutex.cpp:4: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/mutex.h:7: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/intrinsics.h:13: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/../simd/arm/emulation.h:12: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/sys/../simd/arm/sse2neon.h:6755:9: warning: array designators are a C99 extension [-Wc99-designator] [0] = {SSE2NEON_sbox[vreinterpretq_nth_u8_m128i(a, 0)], ^~~ 1 warning generated. [8/78] Building CXX object source_subfolder/common/simd/CMakeFiles/simd.dir/sse.cpp.o FAILED: source_subfolder/common/simd/CMakeFiles/simd.dir/sse.cpp.o /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=armv7-none-linux-androideabi21 --sysroot=/root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DEMBREE_TARGET_SSE2 -DTASKING_INTERNAL -Wall -Wformat -Wformat-security -fsigned-char -fPIE -fPIC -std=c++11 -fvisibility=hidden -fvisibility-inlines-hidden -fno-strict-aliasing -fno-tree-vectorize -D_FORTIFY_SOURCE=2 -DNDEBUG -O3 -fPIC -D__SSE__ -D__SSE2__ -MD -MT source_subfolder/common/simd/CMakeFiles/simd.dir/sse.cpp.o -MF source_subfolder/common/simd/CMakeFiles/simd.dir/sse.cpp.o.d -o source_subfolder/common/simd/CMakeFiles/simd.dir/sse.cpp.o -c /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/simd/sse.cpp In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/simd/sse.cpp:4: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/simd/sse.h:7: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/simd/../sys/intrinsics.h:13: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/simd/../sys/../simd/arm/emulation.h:12: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/simd/../sys/../simd/arm/sse2neon.h:6755:9: warning: array designators are a C99 extension [-Wc99-designator] ...... /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:153:70: error: conversion from 'const embree::vboolf4' (aka 'const vboolf_impl<4>') to '__m128' (aka 'float32x4_t') is ambiguous __forceinline bool all (const vboolf4& b) { return _mm_movemask_ps(b) == 0xf; } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:38:19: note: candidate function __forceinline operator const __m128&() const { return v; } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:41:19: note: candidate function __forceinline operator const __m128d() const { return _mm_castps_pd(v); } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../simd/arm/sse2neon.h:2769:41: note: passing argument to parameter 'a' here FORCE_INLINE int _mm_movemask_ps(__m128 a) ^ In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/stat.cpp:4: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/stat.h:6: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/default.h:16: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/string.h:7: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/vec2.h:206: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/vec2fa.h:8: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/sse.h:31: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:154:70: error: conversion from 'const embree::vboolf4' (aka 'const vboolf_impl<4>') to '__m128' (aka 'float32x4_t') is ambiguous __forceinline bool any (const vboolf4& b) { return _mm_movemask_ps(b) != 0x0; } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:38:19: note: candidate function __forceinline operator const __m128&() const { return v; } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:41:19: note: candidate function __forceinline operator const __m128d() const { return _mm_castps_pd(v); } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../simd/arm/sse2neon.h:2769:41: note: passing argument to parameter 'a' here FORCE_INLINE int _mm_movemask_ps(__m128 a) ^ In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/stat.cpp:4: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/stat.h:6: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/default.h:16: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/string.h:7: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/vec2.h:206: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/vec2fa.h:8: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/sse.h:31: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:155:70: error: conversion from 'const embree::vboolf4' (aka 'const vboolf_impl<4>') to '__m128' (aka 'float32x4_t') is ambiguous __forceinline bool none(const vboolf4& b) { return _mm_movemask_ps(b) == 0x0; } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:38:19: note: candidate function __forceinline operator const __m128&() const { return v; } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:41:19: note: candidate function __forceinline operator const __m128d() const { return _mm_castps_pd(v); } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../simd/arm/sse2neon.h:2769:41: note: passing argument to parameter 'a' here FORCE_INLINE int _mm_movemask_ps(__m128 a) ^ In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/stat.cpp:4: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/stat.h:6: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/default.h:16: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/string.h:7: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/vec2.h:206: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/vec2fa.h:8: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/sse.h:31: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:161:76: error: conversion from 'const embree::vboolf4' (aka 'const vboolf_impl<4>') to '__m128' (aka 'float32x4_t') is ambiguous __forceinline size_t movemask(const vboolf4& a) { return _mm_movemask_ps(a); } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:38:19: note: candidate function __forceinline operator const __m128&() const { return v; } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:41:19: note: candidate function __forceinline operator const __m128d() const { return _mm_castps_pd(v); } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../simd/arm/sse2neon.h:2769:41: note: passing argument to parameter 'a' here FORCE_INLINE int _mm_movemask_ps(__m128 a) ^ In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/stat.cpp:4: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/stat.h:6: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/default.h:16: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/string.h:7: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/vec2.h:206: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/vec2fa.h:8: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/sse.h:33: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vint4_sse2.h:50:72: error: ambiguous conversion for C-style cast from 'const embree::vboolf4' (aka 'const vboolf_impl<4>') to '__m128' (aka 'float32x4_t') __forceinline explicit vint(const vboolf4& a) : v(_mm_castps_si128((__m128)a)) {} ^~~~~~~~~ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:38:19: note: candidate function __forceinline operator const __m128&() const { return v; } ^ /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/kernels/common/../../common/sys/../math/../simd/vboolf4_sse2.h:41:19: note: candidate function __forceinline operator const __m128d() const { return _mm_castps_pd(v); } ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. [19/78] Building CXX object source_subfolder/common/tasking/CMakeFiles/tasking.dir/taskschedulerinternal.cpp.o In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/tasking/taskschedulerinternal.cpp:4: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/tasking/taskschedulerinternal.h:8: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/tasking/../sys/barrier.h:6: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/tasking/../sys/intrinsics.h:13: In file included from /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/tasking/../sys/../simd/arm/emulation.h:12: /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/source_subfolder/common/tasking/../sys/../simd/arm/sse2neon.h:6755:9: warning: array designators are a C99 extension [-Wc99-designator] [0] = {SSE2NEON_sbox[vreinterpretq_nth_u8_m128i(a, 0)], ^~~ 1 warning generated. ninja: build stopped: subcommand failed. embree3/3.13.3: embree3/3.13.3: ERROR: Package 'd43665a6b085bc1fc95f4618760143e047d0d461' build failed embree3/3.13.3: WARN: Build folder /root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461 ERROR: embree3/3.13.3: Error in build() method, line 183 cmake.build() ConanException: Error 1 while executing /root/.conan/data/android-ndk/r25/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/cmake-wrapper --build '/root/.conan/data/embree3/3.13.3/_/_/build/d43665a6b085bc1fc95f4618760143e047d0d461/build_subfolder' '--' '-j12' ```
AndreyMlashkin commented 2 years ago

embree_log.txt Full log is here