discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] E100 compile error: trondeau safe_align branch


From: Philip Balister
Subject: Re: [Discuss-gnuradio] E100 compile error: trondeau safe_align branch
Date: Thu, 16 Feb 2012 10:16:09 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 02/16/2012 09:39 AM, Nowlan, Sean wrote:
> Hi all,
> 
> I'm trying to build Tom's branch with the recent changes to use Volk, but I'm 
> getting an error. I ran this command:
> 
> cmake -DCMAKE_INSTALL_PREFIX=/usr 
> -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchains/arm_cortex_a8_native.cmake 
> -DENABLE_GR_QTGUI=OFF -DCMAKE_BUILD_TYPE=release  ../
> 
> And got this error:
> 
> [ 18%] generating filter files
> [ 18%] Building CXX object 
> gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/sysconfig_armv7_a.cc.o
> [ 18%] Building CXX object 
> gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/gr_fir_sysconfig_armv7_a.cc.o
> [ 18%] Building CXX object 
> gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/gr_cpu_armv7_a.cc.o
> [ 18%] Building CXX object 
> gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/gr_fir_fff_armv7_a.cc.o
> [ 18%] Building C object 
> gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o
> /tmp/cct93Ve1.s: Assembler messages:
> /tmp/cct93Ve1.s:27: Error: bad instruction `vmov.f32 q8,#0.0'
> /tmp/cct93Ve1.s:28: Error: bad instruction `vmov.f32 q9,#0.0'
> /tmp/cct93Ve1.s:31: Error: bad instruction `vld1.32 {d0,d1,d2,d3},[r3]!'
> /tmp/cct93Ve1.s:32: Error: bad instruction `vld1.32 {d4,d5,d6,d7},[r1]!'
> /tmp/cct93Ve1.s:33: Error: bad instruction `vmla.f32 q8,q0,q2'
> /tmp/cct93Ve1.s:34: Error: bad instruction `vmla.f32 q9,q1,q3'
> /tmp/cct93Ve1.s:36: Error: bad instruction `vadd.f32 q8,q8,q9'
> /tmp/cct93Ve1.s:37: Error: bad instruction `vpadd.f32 d0,d16,d17'
> /tmp/cct93Ve1.s:38: Error: bad instruction `vadd.f32 s16,s0,s1'
> make[2]: *** 
> [gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o]
>  Error 1
> make[1]: *** [gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/all] Error 2
> make: *** [all] Error 2
> 
> Any hints/ideas? Thanks!

I feel like the flags from the toolchain file are not getting through to
gcc, try passing the compiler flags via the command line.

Philip

> 
> Sean
> 
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]