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: Nowlan, Sean
Subject: Re: [Discuss-gnuradio] E100 compile error: trondeau safe_align branch
Date: Thu, 16 Feb 2012 21:39:13 +0000

That was the next thing I did and now (4 hours later :-P) it appears to have 
worked. I'm not sure why it didn't pick up CMAKE_TOOLCHAIN_FILE.

Thanks,
Sean

-----Original Message-----
From: Philip Balister [mailto:address@hidden 
Sent: Thursday, February 16, 2012 1:16 PM
To: Nowlan, Sean; GNURadio Discussion List
Subject: Re: [Discuss-gnuradio] E100 compile error: trondeau safe_align branch

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_ar
> mv7_a.cc.o [ 18%] Building CXX object 
> gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/gr_fir_sysco
> nfig_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_a
> rmv7_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]