He should have a toolchain file that has this in it.

What stops you from cross compiling it?

I realize there is a lot of bad information on the web :(

Philip

On 2/6/21 2:24 PM, Ron Economos via USRP-users wrote:
> You have to specify a NEON architecture during CMake.
> 
> cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard
> -mfpu=neon -mtune=cortex-a9 -Wno-psabi"
> -DCMAKE_C_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon
> -mtune=cortex-a9 -Wno-psabi" -DCMAKE_ASM_FLAGS:STRING="-march=armv7-a
> -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -g" ../
> 
> Ron
> 
> On 2/6/21 07:57, Ofer Saferman via USRP-users wrote:
>> Hello,
>>
>> I made a small modification to UHD and would like to compile and use
>> my version.
>> Since I never succeeded to cross-compile I decided to try to compile
>> it on the target itself.
>> I am working with an USRP E310.
>> I cloned the 3.15.LTS repository, modified one of the files and tried
>> to compile.
>> During compilation I get the following errors (at about 11% of the
>> process):
>> --------------------------------------------------------------------
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h: In member
>> function ‘virtual void
>> __convert_fc32_1_sc16_item32_le_1_PRIORITY_SIMD::operator()(const
>> input_type&, const output_type&, size_t)’:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:6740:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vdupq_n_f32(float32_t)’: target specific option mismatch
>>  vdupq_n_f32 (float32_t __a)
>>  ^~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:27:33:
>> note: called from here
>>      float32x4_t Q0 = vdupq_n_f32(float(scale_factor));
>>                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10844:1:
>> error: inlining failed in call to always_inline ‘void
>> vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
>>  vst1_s16 (int16_t * __a, int16x4_t __b)
>>  ^~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:56:17:
>> note: called from here
>>  vst1_s16((reinterpret_cast<int16_t*>(&output[i + 6])), D15);
>>  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:9027:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vrev32_s16(int16x4_t)’: target specific option mismatch
>>  vrev32_s16 (int16x4_t __a)
>>  ^~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:55:37:
>> note: called from here
>>          int16x4_t D15   = vrev32_s16(D14);
>>                            ~~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7552:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vmovn_s32(int32x4_t)’: target specific option mismatch
>>  vmovn_s32 (int32x4_t __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:54:36:
>> note: called from here
>>          int16x4_t D14   = vmovn_s32(Q13);
>>                            ~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7440:1:
>> error: inlining failed in call to always_inline ‘int32x4_t
>> vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
>>  vcvtq_s32_f32 (float32x4_t __a)
>>  ^~~~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:53:40:
>> note: called from here
>>          int32x4_t Q13   = vcvtq_s32_f32(Q11);
>>                            ~~~~~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:1172:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
>>  vmulq_f32 (float32x4_t __a, float32x4_t __b)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:52:36:
>> note: called from here
>>          float32x4_t Q11 = vmulq_f32(Q10, Q0);
>>                            ~~~~~~~~~^~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10844:1:
>> error: inlining failed in call to always_inline ‘void
>> vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
>>  vst1_s16 (int16_t * __a, int16x4_t __b)
>>  ^~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:50:17:
>> note: called from here
>>  vst1_s16((reinterpret_cast<int16_t*>(&output[i + 4])), D13);
>>  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:9027:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vrev32_s16(int16x4_t)’: target specific option mismatch
>>  vrev32_s16 (int16x4_t __a)
>>  ^~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:49:36:
>> note: called from here
>>          int16x4_t D13  = vrev32_s16(D12);
>>                           ~~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7552:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vmovn_s32(int32x4_t)’: target specific option mismatch
>>  vmovn_s32 (int32x4_t __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:48:35:
>> note: called from here
>>          int16x4_t D12  = vmovn_s32(Q9);
>>                           ~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7440:1:
>> error: inlining failed in call to always_inline ‘int32x4_t
>> vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
>>  vcvtq_s32_f32 (float32x4_t __a)
>>  ^~~~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:47:39:
>> note: called from here
>>          int32x4_t Q9   = vcvtq_s32_f32(Q8);
>>                           ~~~~~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:1172:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
>>  vmulq_f32 (float32x4_t __a, float32x4_t __b)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:46:35:
>> note: called from here
>>          float32x4_t Q8 = vmulq_f32(Q7, Q0);
>>                           ~~~~~~~~~^~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10844:1:
>> error: inlining failed in call to always_inline ‘void
>> vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
>>  vst1_s16 (int16_t * __a, int16x4_t __b)
>>  ^~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:44:17:
>> note: called from here
>>  vst1_s16((reinterpret_cast<int16_t*>(&output[i + 2])), D11);
>>  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:9027:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vrev32_s16(int16x4_t)’: target specific option mismatch
>>  vrev32_s16 (int16x4_t __a)
>>  ^~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:43:36:
>> note: called from here
>>          int16x4_t D11  = vrev32_s16(D10);
>>                           ~~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7552:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vmovn_s32(int32x4_t)’: target specific option mismatch
>>  vmovn_s32 (int32x4_t __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:42:35:
>> note: called from here
>>          int16x4_t D10  = vmovn_s32(Q6);
>>                           ~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7440:1:
>> error: inlining failed in call to always_inline ‘int32x4_t
>> vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
>>  vcvtq_s32_f32 (float32x4_t __a)
>>  ^~~~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:41:39:
>> note: called from here
>>          int32x4_t Q6   = vcvtq_s32_f32(Q5);
>>                           ~~~~~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:1172:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
>>  vmulq_f32 (float32x4_t __a, float32x4_t __b)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:40:35:
>> note: called from here
>>          float32x4_t Q5 = vmulq_f32(Q4, Q0);
>>                           ~~~~~~~~~^~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10844:1:
>> error: inlining failed in call to always_inline ‘void
>> vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
>>  vst1_s16 (int16_t * __a, int16x4_t __b)
>>  ^~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:38:17:
>> note: called from here
>>  vst1_s16((reinterpret_cast<int16_t*>(&output[i])), D9);
>>  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:9027:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vrev32_s16(int16x4_t)’: target specific option mismatch
>>  vrev32_s16 (int16x4_t __a)
>>  ^~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:37:36:
>> note: called from here
>>          int16x4_t D9   = vrev32_s16(D8);
>>                           ~~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7552:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vmovn_s32(int32x4_t)’: target specific option mismatch
>>  vmovn_s32 (int32x4_t __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:36:35:
>> note: called from here
>>          int16x4_t D8   = vmovn_s32(Q3);
>>                           ~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7440:1:
>> error: inlining failed in call to always_inline ‘int32x4_t
>> vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
>>  vcvtq_s32_f32 (float32x4_t __a)
>>  ^~~~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:35:39:
>> note: called from here
>>          int32x4_t Q3   = vcvtq_s32_f32(Q2);
>>                           ~~~~~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:1172:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
>>  vmulq_f32 (float32x4_t __a, float32x4_t __b)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:34:35:
>> note: called from here
>>          float32x4_t Q2 = vmulq_f32(Q1, Q0);
>>                           ~~~~~~~~~^~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10392:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vld1q_f32(const float32_t*)’: target specific option mismatch
>>  vld1q_f32 (const float32_t * __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:32:36:
>> note: called from here
>>          float32x4_t Q10 = vld1q_f32(reinterpret_cast<const
>> float*>(&input[i + 6]));
>>  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10392:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vld1q_f32(const float32_t*)’: target specific option mismatch
>>  vld1q_f32 (const float32_t * __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:31:36:
>> note: called from here
>>          float32x4_t Q7  = vld1q_f32(reinterpret_cast<const
>> float*>(&input[i + 4]));
>>  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10392:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vld1q_f32(const float32_t*)’: target specific option mismatch
>>  vld1q_f32 (const float32_t * __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:30:36:
>> note: called from here
>>          float32x4_t Q4  = vld1q_f32(reinterpret_cast<const
>> float*>(&input[i + 2]));
>>  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10392:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vld1q_f32(const float32_t*)’: target specific option mismatch
>>  vld1q_f32 (const float32_t * __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:29:36:
>> note: called from here
>>          float32x4_t Q1  = vld1q_f32(reinterpret_cast<const
>> float*>(&input[i]));
>>  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:6740:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vdupq_n_f32(float32_t)’: target specific option mismatch
>>  vdupq_n_f32 (float32_t __a)
>>  ^~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:27:33:
>> note: called from here
>>      float32x4_t Q0 = vdupq_n_f32(float(scale_factor));
>>                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:6740:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vdupq_n_f32(float32_t)’: target specific option mismatch
>>  vdupq_n_f32 (float32_t __a)
>>  ^~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:27:33:
>> note: called from here
>>      float32x4_t Q0 = vdupq_n_f32(float(scale_factor));
>>                       ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10844:1:
>> error: inlining failed in call to always_inline ‘void
>> vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
>>  vst1_s16 (int16_t * __a, int16x4_t __b)
>>  ^~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:56:17:
>> note: called from here
>>  vst1_s16((reinterpret_cast<int16_t*>(&output[i + 6])), D15);
>>  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:9027:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vrev32_s16(int16x4_t)’: target specific option mismatch
>>  vrev32_s16 (int16x4_t __a)
>>  ^~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:55:37:
>> note: called from here
>>          int16x4_t D15   = vrev32_s16(D14);
>>                            ~~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7552:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vmovn_s32(int32x4_t)’: target specific option mismatch
>>  vmovn_s32 (int32x4_t __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:54:36:
>> note: called from here
>>          int16x4_t D14   = vmovn_s32(Q13);
>>                            ~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7440:1:
>> error: inlining failed in call to always_inline ‘int32x4_t
>> vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
>>  vcvtq_s32_f32 (float32x4_t __a)
>>  ^~~~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:53:40:
>> note: called from here
>>          int32x4_t Q13   = vcvtq_s32_f32(Q11);
>>                            ~~~~~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:1172:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
>>  vmulq_f32 (float32x4_t __a, float32x4_t __b)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:52:36:
>> note: called from here
>>          float32x4_t Q11 = vmulq_f32(Q10, Q0);
>>                            ~~~~~~~~~^~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10844:1:
>> error: inlining failed in call to always_inline ‘void
>> vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
>>  vst1_s16 (int16_t * __a, int16x4_t __b)
>>  ^~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:50:17:
>> note: called from here
>>  vst1_s16((reinterpret_cast<int16_t*>(&output[i + 4])), D13);
>>  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:9027:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vrev32_s16(int16x4_t)’: target specific option mismatch
>>  vrev32_s16 (int16x4_t __a)
>>  ^~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:49:36:
>> note: called from here
>>          int16x4_t D13  = vrev32_s16(D12);
>>                           ~~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7552:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vmovn_s32(int32x4_t)’: target specific option mismatch
>>  vmovn_s32 (int32x4_t __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:48:35:
>> note: called from here
>>          int16x4_t D12  = vmovn_s32(Q9);
>>                           ~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7440:1:
>> error: inlining failed in call to always_inline ‘int32x4_t
>> vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
>>  vcvtq_s32_f32 (float32x4_t __a)
>>  ^~~~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:47:39:
>> note: called from here
>>          int32x4_t Q9   = vcvtq_s32_f32(Q8);
>>                           ~~~~~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:1172:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
>>  vmulq_f32 (float32x4_t __a, float32x4_t __b)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:46:35:
>> note: called from here
>>          float32x4_t Q8 = vmulq_f32(Q7, Q0);
>>                           ~~~~~~~~~^~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10844:1:
>> error: inlining failed in call to always_inline ‘void
>> vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
>>  vst1_s16 (int16_t * __a, int16x4_t __b)
>>  ^~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:44:17:
>> note: called from here
>>  vst1_s16((reinterpret_cast<int16_t*>(&output[i + 2])), D11);
>>  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:9027:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vrev32_s16(int16x4_t)’: target specific option mismatch
>>  vrev32_s16 (int16x4_t __a)
>>  ^~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:43:36:
>> note: called from here
>>          int16x4_t D11  = vrev32_s16(D10);
>>                           ~~~~~~~~~~^~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7552:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vmovn_s32(int32x4_t)’: target specific option mismatch
>>  vmovn_s32 (int32x4_t __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:42:35:
>> note: called from here
>>          int16x4_t D10  = vmovn_s32(Q6);
>>                           ~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7440:1:
>> error: inlining failed in call to always_inline ‘int32x4_t
>> vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
>>  vcvtq_s32_f32 (float32x4_t __a)
>>  ^~~~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:41:39:
>> note: called from here
>>          int32x4_t Q6   = vcvtq_s32_f32(Q5);
>>                           ~~~~~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:1172:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
>>  vmulq_f32 (float32x4_t __a, float32x4_t __b)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:40:35:
>> note: called from here
>>          float32x4_t Q5 = vmulq_f32(Q4, Q0);
>>                           ~~~~~~~~~^~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10844:1:
>> error: inlining failed in call to always_inline ‘void
>> vst1_s16(int16_t*, int16x4_t)’: target specific option mismatch
>>  vst1_s16 (int16_t * __a, int16x4_t __b)
>>  ^~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:38:17:
>> note: called from here
>>  vst1_s16((reinterpret_cast<int16_t*>(&output[i])), D9);
>>  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:9027:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vrev32_s16(int16x4_t)’: target specific option mismatch
>>  vrev32_s16 (int16x4_t __a)
>>  ^~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:37:36:
>> note: called from here
>>          int16x4_t D9   = vrev32_s16(D8);
>>                           ~~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7552:1:
>> error: inlining failed in call to always_inline ‘int16x4_t
>> vmovn_s32(int32x4_t)’: target specific option mismatch
>>  vmovn_s32 (int32x4_t __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:36:35:
>> note: called from here
>>          int16x4_t D8   = vmovn_s32(Q3);
>>                           ~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:7440:1:
>> error: inlining failed in call to always_inline ‘int32x4_t
>> vcvtq_s32_f32(float32x4_t)’: target specific option mismatch
>>  vcvtq_s32_f32 (float32x4_t __a)
>>  ^~~~~~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:35:39:
>> note: called from here
>>          int32x4_t Q3   = vcvtq_s32_f32(Q2);
>>                           ~~~~~~~~~~~~~^~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:1172:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vmulq_f32(float32x4_t, float32x4_t)’: target specific option mismatch
>>  vmulq_f32 (float32x4_t __a, float32x4_t __b)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:34:35:
>> note: called from here
>>          float32x4_t Q2 = vmulq_f32(Q1, Q0);
>>                           ~~~~~~~~~^~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10392:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vld1q_f32(const float32_t*)’: target specific option mismatch
>>  vld1q_f32 (const float32_t * __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:32:36:
>> note: called from here
>>          float32x4_t Q10 = vld1q_f32(reinterpret_cast<const
>> float*>(&input[i + 6]));
>>  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10392:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vld1q_f32(const float32_t*)’: target specific option mismatch
>>  vld1q_f32 (const float32_t * __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:31:36:
>> note: called from here
>>          float32x4_t Q7  = vld1q_f32(reinterpret_cast<const
>> float*>(&input[i + 4]));
>>  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10392:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vld1q_f32(const float32_t*)’: target specific option mismatch
>>  vld1q_f32 (const float32_t * __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:30:36:
>> note: called from here
>>          float32x4_t Q4  = vld1q_f32(reinterpret_cast<const
>> float*>(&input[i + 2]));
>>  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> In file included from
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:10:
>> /usr/lib/gcc/arm-oe-linux-musleabi/8.2.0/include/arm_neon.h:10392:1:
>> error: inlining failed in call to always_inline ‘float32x4_t
>> vld1q_f32(const float32_t*)’: target specific option mismatch
>>  vld1q_f32 (const float32_t * __a)
>>  ^~~~~~~~~
>> /home/root/uhd/uhd-3.15.LTS/host/lib/convert/convert_with_neon.cpp:29:36:
>> note: called from here
>>          float32x4_t Q1  = vld1q_f32(reinterpret_cast<const
>> float*>(&input[i]));
>>  ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> make[2]: *** [lib/CMakeFiles/uhd.dir/build.make:467:
>> lib/CMakeFiles/uhd.dir/convert/convert_with_neon.cpp.o] Error 1
>> make[1]: *** [CMakeFiles/Makefile2:125: lib/CMakeFiles/uhd.dir/all]
>> Error 2
>> make: *** [Makefile:163: all] Error 2
>> -----------------------------------------------------------------------------------------
>>
>>
>> Can you help me out to make this compilation work?
>>
>> Regards,
>> Ofer Saferman
>>
>>
>> -- 
>> This message has been scanned for viruses and
>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
>> believed to be clean.
>>
>> _______________________________________________
>> USRP-users mailing list
>> [email protected]
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 
> 
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
> 

_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to