discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Build problem on E100


From: Philip Balister
Subject: Re: [Discuss-gnuradio] Build problem on E100
Date: Wed, 09 Nov 2011 08:40:12 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110928 Fedora/3.1.15-1.fc14 Thunderbird/3.1.15

On 11/09/2011 03:18 AM, Nowlan, Sean wrote:
> For some reason the ARM Assembler doesn't like the NEON instructions in 
> dotprod_fff_armv7_a.c:
> 
> [   9%]  Building C object 
> gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o
> /tmp/ccAcWVL4.s: 27: Error: bad instruction `vmov.f32 q8,#0.0'
> /tmp/ccAcWVL4.s: 28: Error: bad instruction `vmov.f32 q9,#0.0'
> /tmp/ccAcWVL4.s: 31: Error: bad instruction `vldl.32 {d0,d1,d2,d3},[r3]!'
> /tmp/ccAcWVL4.s: 32: Error: bad instruction `vldl.32 {d4,d5,d6,d7},[r1]!'
> /tmp/ccAcWVL4.s: 33: Error: bad instruction `vmla.f32 q8,q0,q2'
> /tmp/ccAcWVL4.s: 34: Error: bad instruction `vmla.f32 q9,q1,q3'
> /tmp/ccAcWVL4.s: 36: Error: bad instruction `vadd.f32 q8,q8,q9'
> /tmp/ccAcWVL4.s: 37: Error: bad instruction `vpadd.f32 d0,d16,d17'
> /tmp/ccAcWVL4.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/filter/all]  Error 2
> make:  ***  [all] Error 2

Can you try "make VERBOSE=1"? I'd like to see what the compiler command
line looks like. I am guessing it doesn't have the flags enabling neon.

Philip

> 
> My cmake command was as follows:
> 
> $ cmake -DCMAKE_TOOLCHAIN_DIR=../cmake/Toolchains/arm_cortex_a8_native.cmake 
> -DENABLE_GRC=OFF -DENABLE_GR_QTGUI=OFF 
> -DQT_QTCORE_INCLUDE_DIR=/usr/include/qt4/QtCore 
> -DQT_QTGUI_INCLUDE_DIR=/usr/include/qt4/QtGui ../
> 
> And the CC and CXX FLAGS in arm_cortex_a8_native.cmake were: "-march=armv7-a 
> -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize 
> -fsingle-precision-constant"
> 
> I also tried without "-ftree-vectorize -fsingle-precision-constant" to 
> similar effect.
> 
> This is using a gnuradio build I pulled less than 6 hours ago. Can anybody 
> else with an E100 reproduce this error?
> 
> Thanks,
> 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]