Old CPU supports till AVX, problem with build camera drivers
We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information
- OS Platform and Distribution (e.g., Linux Ubuntu 18.04):20.04
- Apollo installed from (source or binary):source
- Apollo version (3.5, 5.0, 5.5, 6.0):9.0
-
Output of
apollo.sh configif onmasterbranch:
Steps to reproduce the issue:
- Please use bullet points and include as much details as possible: bash apollo.sh build_opt_nvidia
Supporting materials (screenshots, command lines, code/script snippets):
ERROR: /apollo/modules/drivers/camera/BUILD:56:18: Compiling modules/drivers/camera/util.cc failed: (Exit 1): crosstool_wrapper_driver_is_not_gcc failed: error executing command external/local_config_cuda/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc -MD -MF bazel-out/k8-opt/bin/modules/drivers/camera/_objs/libapollo_camera_util.so/util.pic.d ... (remaining 135 arguments skipped) In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0, from ./modules/drivers/camera/util.h:34, from modules/drivers/camera/util.cc:17: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h: In function '__m256i apollo::drivers::SaturateI16ToU8(__m256i)': /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:398:1: error: inlining failed in call to always_inline '__m256i _mm256_min_epi16(__m256i, __m256i)': target specific option mismatch _mm256_min_epi16 (__m256i __A, __m256i __B) ^~~~~~~~~~~~~~~~ In file included from modules/drivers/camera/util.cc:17:0: ./modules/drivers/camera/util.h:362:68: note: called from here return _mm256_min_epi16(K16_00FF, _mm256_max_epi16(value, K_ZERO)); ^ In file included from /usr/lib/gcc/x86_64-linux-gnu/7/include/immintrin.h:43:0, from ./modules/drivers/camera/util.h:34, from modules/drivers/camera/util.cc:17: /usr/lib/gcc/x86_64-linux-gnu/7/include/avx2intrin.h:356:1: error: inlining failed in call to always_inline '__m256i _mm256_max_epi16(__m256i, __m256i)': target specific option mismatch _mm256_max_epi16 (__m256i __A, __m256i __B) ^~~~~~~~~~~~~~~~ In file included from modules/drivers/camera/util.cc:17:0: ./modules/drivers/camera/util.h:362:26: note: called from here return _mm256_min_epi16(K16_00FF, _mm256_max_epi16(value, K_ZERO)); ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unsolved error https://github.com/ApolloAuto/apollo/issues/13422