Description of problem: The volk library that comes with gnuradio does not seem to work on armv7l. For example, gqrx program core dumps after spitting out several of these: VOLK: Error allocating memory (posix_memalign: 22) There seems to be a workaround for this given in: https://gnuradio.org/redmine/issues/692 http://lists.gnu.org/archive/html/discuss-gnuradio/2014-03/msg00419.html I recompiled gnuradio from source with the suggested patch: diff --git a/volk/lib/volk_malloc.c b/volk/lib/volk_malloc.c index b2b77dd..e913ffc 100644 --- a/volk/lib/volk_malloc.c +++ b/volk/lib/volk_malloc.c @@ -54,7 +54,8 @@ // Otherwise, test if we are a POSIX or X/Open system // This only has a restriction that alignment be a power of 2. -#if _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 +//#if _POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 +#if 0 void *volk_malloc(size_t size, size_t alignment) { and it seems to work now. So, maybe include this patch form arm for now or it would be even better to fix the code properly. Version-Release number of selected component (if applicable): Current FC 20 packages. How reproducible: Every time Steps to Reproduce: 1. Install gnuradio and gqrx 2. Plugin rtl usb dongle (sdr) 3. Start gqrx Actual results: Program core dumps. Expected results: gqrx should display the waterfall and demodulate the RF signals. Additional info:
Thanks for the report. I think upstream has it wrong in the current code [1]. I am applying the "upstream proposed workaround for now. [1] https://gnuradio.org/redmine/issues/692#note-14
Forgot - in addition to disabling the posix malloc, I also had to disable neon to get it to compile - just like the above web page mentions.
(In reply to Jussi Eloranta from comment #2) > Forgot - in addition to disabling the posix malloc, I also had to disable > neon to get it to compile - just like the above web page mentions. Neon is disabled by default in Fedora, it needs to be build --with=neon to enable.
gnuradio-3.7.5.1-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/gnuradio-3.7.5.1-2.fc21
gnuradio-3.7.3-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/gnuradio-3.7.3-3.fc20
Package gnuradio-3.7.3-3.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gnuradio-3.7.3-3.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-1186/gnuradio-3.7.3-3.fc20 then log in and leave karma (feedback).
gnuradio-3.7.5.1-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
gnuradio-3.7.3-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.