discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Build fails for ARMel


From: Philip Balister
Subject: Re: [Discuss-gnuradio] Build fails for ARMel
Date: Wed, 16 May 2012 07:11:26 -0400
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 05/16/2012 04:42 AM, Adam Baxter wrote:
> Hi, building GNURadio 3.5.3.2 from the Debian Testing sources fails on
> ARMel with GCC version 4.6.3 (Debian 4.6.3-1)


The gnuradio source assumes if you are on arm, you have access to the
NEON instructions. (Building gnuradio for arm without NEON will lead to
extremely poor performance)

My understanding is Debian armel is built for armv5 ISA, which does not
have NEON (and does not use several other armv7a instructions). So
Debian armel is a poor choice for running Gnuradio.

If you really want this to work, you need to improve the ISA detection
in gnuradio to work out the various arm ISA's available, but be warned,
running without NEON enabled leads to seriously poor floating point
performance.

Philip

> 
> /usr/src/gnuradio-3.5.3.2/build/gnuradio-core/src/lib && /usr/bin/gcc
> -Dgnuradio_core_EXPORTS -DTRY_SHM_VMCIRCBUF -DHAVE_NETDB_H
> -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H -DHAVE_SYS_SELECT_H
> -DHAVE_SYS_SOCKET_H -DHAVE_SYS_MMAN_H -DHAVE_SYS_IPC_H
> -DHAVE_SYS_SHM_H -DHAVE_SIGNAL_H -DHAVE_NETINET_IN_H
> -DHAVE_ARPA_INET_H -DHAVE_BYTESWAP_H -DHAVE_LINUX_PPDEV_H
> -DHAVE_UNISTD_H -DHAVE_MALLOC_H -DHAVE_SNPRINTF -DHAVE_SIGACTION
> -DHAVE_SELECT -DHAVE_SYSCONF -DHAVE_GETPAGESIZE -DHAVE_NANOSLEEP
> -DHAVE_GETTIMEOFDAY -DHAVE_POSIX_MEMALIGN -DHAVE_VALLOC
> -DALIGNED_MALLOC=0 -DHAVE_PTHREAD_SIGMASK -DHAVE_SHM_OPEN
> -DHAVE_SINCOS -DHAVE_SINCOSF -DHAVE_SINF -DHAVE_COSF -DHAVE_MMAP
> -DFFTW3F_THREADS -g -O2 -fstack-protector --param=ssp-buffer-size=4
> -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -O3 -DNDEBUG
> -fPIC -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/hier
> -I/usr/src/gnuradio-3.5.3.2/gruel/src/include
> -I/usr/src/gnuradio-3.5.3.2/build/gruel/src/include
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/runtime
> -I/usr/src/gnuradio-3.5.3.2/build/gnuradio-core/src/lib/general
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/general
> -I/usr/src/gnuradio-3.5.3.2/build/gnuradio-core/src/lib/gengen
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/gengen
> -I/usr/src/gnuradio-3.5.3.2/build/gnuradio-core/src/lib/filter
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/filter
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/missing
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/reed-solomon
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/viterbi
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/io
> -I/usr/src/gnuradio-3.5.3.2/build/gnuradio-core/src/lib/swig
> -I/usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/swig
> -I/usr/src/gnuradio-3.5.3.2/volk/include
> -I/usr/src/gnuradio-3.5.3.2/build/volk/include    -fvisibility=hidden
> -Wsign-compare -Wall -Wno-uninitialized -o
> CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o   -c
> /usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/filter/dotprod_fff_armv7_a.c
> /usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/filter/dotprod_fff_armv7_a.c:
> In function 'dotprod_fff_armv7_a':
> /usr/src/gnuradio-3.5.3.2/gnuradio-core/src/lib/filter/dotprod_fff_armv7_a.c:67:5:
> error: inconsistent operand constraints in an 'asm'
> make[3]: *** 
> [gnuradio-core/src/lib/CMakeFiles/gnuradio-core.dir/filter/dotprod_fff_armv7_a.c.o]
> Error 1
> 
> Any ideas?
> 
> Thanks,
> Adam Baxter
> 
> _______________________________________________
> 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]