On Wed, Oct 14, 2015 at 4:38 AM, Paul TT <[email protected]> wrote: > Hello, > > I'm trying to build GNU Radio using a toolchain from Mentor Graphics > (arm-none-linux-gnueabi-). > Some gnuradio dependecies i have builded manually from source using this > toolchain. > > <snip>
> > export CC="arm-none-linux-gnueabi-gcc -mthumb -march=armv6t2 > -mfloat-abi=softfp -mfpu=neon" > export CXX="arm-none-linux-gnueabi-g++ -mthumb -march=armv6t2 > -mfloat-abi=softfp -mfpu=neon" > export CPP="arm-none-linux-gnueabi-gcc -E -mthumb -march=armv6t2 > -mfloat-abi=softfp -mfpu=neon" > <snip> > > And in this case build fails with error message related to VOLK: > > $ make > <snip> > /home/user/NT1004/toolchain_build/GR/gnuradio/volk/kernels/volk/asm/neon/volk_16i_max_star_horizontal_16i.s: > Assembler messages: > /home/user/NT1004/toolchain_build/GR/gnuradio/volk/kernels/volk/asm/neon/volk_16i_max_star_horizontal_16i.s:44: > Error: selected processor does not support ARM mode `sxth r6,r6' > make[2]: *** > [volk/lib/CMakeFiles/volk_obj.dir/__/kernels/volk/asm/neon/volk_16i_max_star_horizontal_16i.s.o] > Error 1 > make[1]: *** [volk/lib/CMakeFiles/volk_obj.dir/all] Error 2 > make: *** [all] Error 2 > > <snip> > > Regards, > Paul > > Paul, You appear to be targeting an processor that uses the armv6 ISA. I believe VOLK only supports armv7 at this point (although I'm uncertain if that's explicitly stated anywhere). You may be able to get a working build by disabling the inclusion of the assembly (.s) files - you would have to look at the lib/CMakeLists.txt file near line 408, and e.g. comment out the entire foreach/endforeach block. However I'm uncertain if all of the intrinsics-based kernels will similarly fail to build for you. Doug -- Doug Geiger [email protected]
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
