# GNU radio with 1 - qa\_test\_all failed

**URL:** <https://www.ruby-forum.com/t/gnu-radio-with-1-qa-test-all-failed/241946>\
**Category:** GNU Radio\
**Created:** [May 14, 2015, 6:52pm UTC](https://www.ruby-forum.com/t/gnu-radio-with-1-qa-test-all-failed/241946 "2015-05-14T18:52:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [May 14, 2015, 6:52pm UTC](https://www.ruby-forum.com/t/gnu-radio-with-1-qa-test-all-failed/241946/1 "2015-05-14T18:52:15Z")

</div>

Hello all

I am installing GNUradio in two boards, one is Odroid XU3, with Ubuntu  
14.04  
system. The other one is Hummingboard i2ex with Debian Jessie system.

I build from source with version 3.7.8 in git. Both boards have same  
issue  
when I make test.

$ make test  
Running tests…  
Test project /home/gnuradio/build  
Start 1: qa\_volk\_test\_all  
1/1 Test #1: qa\_volk\_test\_all …\*\*\*Failed 5.11 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 5.12 sec

The following tests FAILED:  
1 - qa\_volk\_test\_all (Failed)  
Errors while running CTest  
make: \*\*\* [test] Error 8

I run ctest -V \_R qa\_volk\_test\_all, I attached the output in the ctest  
file

Thank you so much. I really appreciate your help! ctest.rtf  
[http://gnuradio.4.n7.nabble.com/file/n53710/ctest.rtf](http://gnuradio.4.n7.nabble.com/file/n53710/ctest.rtf)

Shaun

–  
View this message in context:  
[http://gnuradio.4.n7.nabble.com/GNU-radio-with-1-qa-test-all-failed-tp53710.html](http://gnuradio.4.n7.nabble.com/GNU-radio-with-1-qa-test-all-failed-tp53710.html)  
Sent from the GnuRadio mailing list archive at [Nabble.com](http://Nabble.com).

---

<div class="post-metadata">

**Author:** ![shaunwang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@shaunwang](https://www.ruby-forum.com/u/shaunwang)\
**Post date:** [May 15, 2015, 2:11am UTC](https://www.ruby-forum.com/t/gnu-radio-with-1-qa-test-all-failed/241946/2 "2015-05-15T02:11:35Z")

</div>

Hi Shaun,

This is the first I’ve seen something like this in a while. It’s  
definitely  
memory corruption in our QA. Can you provide some information on how you  
are building VOLK? Are you cross-compiling or native? What cmake flags  
are  
you providing? What compiler are you using? Is your OS soft-float or  
hard-float?

If you just want to get rid of this problem try removing orc and  
rebuilding  
VOLK.

-Nathan

PS, in the future can you send text through a pasting service like  
[fpaste.com](http://fpaste.com)? I’m a little uneasy about downloading files from weird  
websites  
like [nabble.com](http://nabble.com).

On Thu, May 14, 2015 at 11:32 AM, shaunwang [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![shaunwang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@shaunwang](https://www.ruby-forum.com/u/shaunwang)\
**Post date:** [May 15, 2015, 7:43pm UTC](https://www.ruby-forum.com/t/gnu-radio-with-1-qa-test-all-failed/241946/3 "2015-05-15T19:43:07Z")

</div>

Hello Nathan

Can you provide some information on how you are building VOLK?  
I download the VOLK file from the git, cause the master of gnuradio does  
not have volk included. [GitHub - gnuradio/volk: The Vector Optimized Library of Kernels](https://github.com/gnuradio/volk) And then I just  
follow the instruction in the building website

$ mkdir build  
$ cd build  
$ cmake …/  
$ make && make test  
$ sudo make install

Are you cross-compiling or native?  
I am building it native. I actually don’t know how to cross compile  
this.  
If you can give me a website to learn, that would be awesome.  
What cmake flags are you providing?  
I used the cmake from [https://gnuradio.org/redmine/issues/692](https://gnuradio.org/redmine/issues/692) if I  
just  
use cmake, building will fail in the volk test\_all step.  
Here is my cmake command for the pi:

@ cmake -Dhave\_mfpu\_neon=0 -DCMAKE\_CXX\_FLAGS:STRING=“-march=armv6  
-mfpu=vfp  
-mfloat-abi=hard” -DCMAKE\_C\_FLAGS:STRING=“-march=armv6 -mfpu=vfp  
-mfloat-abi=hard” …/  
But it also works with just:  
@cmake -Dhave\_mfpu\_neon=0 …/

What compiler are you using?  
I don’t know the version of my compiler. I use debian jessie in  
Hummingboard, you probably know which version it is. And I use the image  
from this website for Odroid.  
[http://odroid.com/dokuwiki/doku.php?id=en:xu3\_release\_linux\_ubuntu](http://odroid.com/dokuwiki/doku.php?id=en:xu3_release_linux_ubuntu)

Is your OS soft-float or hard-float?  
I don’t think I can answer this question. Sorry

Could you please tell me how to remove ORC. I googled ORC, the only  
result  
I get is from this website,  
[https://gnuradio.org/redmine/projects/gnuradio/repository/revisions/05161c9f48acf448d31abd88a5378608213e3574](https://gnuradio.org/redmine/projects/gnuradio/repository/revisions/05161c9f48acf448d31abd88a5378608213e3574)  
where is ORC? I cannot find ORC file in my VOLK. I need more details for  
how to remove ORC.  
I really appreciate your help!

Shaun

On Thu, May 14, 2015 at 5:52 PM, West, Nathan [via GnuRadio] \<

---

<div class="post-metadata">

**Author:** ![shaunwang](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5e9695/32.png) [@shaunwang](https://www.ruby-forum.com/u/shaunwang)\
**Post date:** [May 18, 2015, 7:16pm UTC](https://www.ruby-forum.com/t/gnu-radio-with-1-qa-test-all-failed/241946/4 "2015-05-18T19:16:12Z")

</div>

On Fri, May 15, 2015 at 12:23 PM, shaunwang [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> $ make && make test  
> @ cmake -Dhave\_mfpu\_neon=0 -DCMAKE\_CXX\_FLAGS:STRING="-march=armv6
> 
> Shaun

Hi Shaun,

You need to make sure that the compiler flags you are using make sense  
for  
your hardware and libraries you link against. For example, The  
ODROID-XU3  
uses a cortex-a7 processor which uses an armv7 architecture, but you are  
telling your compiler that your architecture is armv6 (you copied  
instructions intended for a raspberry pi). You also tell it that you are  
targetting a hard-float ABI; you need to make sure that is actually the  
case or you will get some wrong results and potentially segfaults (it’s  
unpredictable what will happen, but it will only fail at runtime). This  
explains why your log has no NEON protokernels running. The  
-Dhave\_mfpu\_neon=0 line is just telling VOLK that you have no NEON unit,  
which you probably don’t want and has little influence on ORC.

Assuming you installed orc with your package manager, just remove it  
with  
your package manager. If you’re on a debian based system that’s ‘apt-get  
remove orc’, or whatever the orc package(s) are called.

-Nathan
