Thanks--I'll give that a try when the dust clears here.


On 9/4/18 1:59 PM, Martin Braun via USRP-users wrote:
On Fri, Aug 17, 2018 at 01:02:28PM -0400, Daryl Lee via USRP-users wrote:
In November of 2016, I cross-compiled UHD (git-cloned) on my Ubuntu 16.04
development host targeting a Zynq chip with Linux built with Petalinux
2016.3.  Life has passed me by and now I need to re-build the library using
the Petalinux 2017.3 toolchain.  I have only a few weeks to a major
milestone, with no time to adapt to all the changes that have no doubt
occurred during that gap.  Is there any way to use the older UHD with the
newer Petalinux tools?
You might be able to just remove all usage of Neon. Try removing these
lines:

https://github.com/EttusResearch/uhd/blob/6013a511370b9452020adfc72d7893f1c3bb2963/host/lib/convert/CMakeLists.txt#L65-L79

Of course, you'll lose the Neon assembly acceleration. Depending on your
app, that might still be fast enough.

-- M


Here's the first of many similar errors:

[  5%] Building CXX object
lib/CMakeFiles/uhd.dir/convert/convert_with_neon.cpp.o
In file included from
/home/daryl/RB/ZP/uhd/host/lib/convert/convert_with_neon.cpp:20:0:
/home/daryl/Petalinux/2017.3/tools/linux-i386/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/6.2.1/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)’:
/home/daryl/Petalinux/2017.3/tools/linux-i386/gcc-arm-linux-gnueabi/lib/gcc/arm-linux-gnueabihf/6.2.1/include/arm_neon.h:5811: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)

Any help will be appreciated.

--
Daryl Lee
Sr. Software Engineer


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

--
Daryl Lee
All our discontents about what we want appeared to
me to spring from the want of thankfulness for what we
have. -- Daniel Defoe

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to