jgaeddert / liquid-dsp

digital signal processing library for software-defined radios
http://liquidsdr.org
MIT License
1.87k stars 439 forks source link

liquid-dsp-fpm // error: non-floating-point argument in call to function #125

Closed talfonsin closed 4 years ago

talfonsin commented 6 years ago

Hello,

I'm trying to build liquid-dsp-fpm version and I get this error while is building:

src/math/src/poly.findroots.c: In function ‘polyc_findroots_bairstow_recursion’:
src/math/src/poly.findroots.c:302:9: error: non-floating-point argument in call to function ‘__builtin_isnan’
         if (isnan(du) || isnan(dv)) {
         ^
src/math/src/poly.findroots.c:302:9: error: non-floating-point argument in call to function ‘__builtin_isnan’
<integrado>: fallo en las instrucciones para el objetivo 'src/math/src/polyc.o'
make: *** [src/math/src/polyc.o] Error 1

I found some similar error in the issues but not the way to fix it

Thanks in advance for your support.

ludovicmartin commented 4 years ago

I have de same issue... Any help is welcome :-) Here is the full build trace.

~/liquid-dsp (fpm) $ git status
Sur la branche fpm
Votre branche est à jour avec 'origin/fpm'.

rien à valider, la copie de travail est propre
~/liquid-dsp (fpm) $ ./bootstrap.sh 
~/liquid-dsp (fpm) $ ./configure 
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for error_at_line... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for main in -lc... yes
checking for main in -lm... yes
checking for malloc... yes
checking for realloc... yes
checking for free... yes
checking for memset... yes
checking for memmove... yes
checking for sinf... yes
checking for cosf... yes
checking for expf... yes
checking for cargf... yes
checking for cexpf... yes
checking for crealf... yes
checking for cimagf... yes
checking for sqrtf... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking for string.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking fec.h usability... no
checking fec.h presence... no
checking for fec.h... no
checking fftw3.h usability... yes
checking fftw3.h presence... yes
checking for fftw3.h... yes
checking for fftwf_plan_dft_1d in -lfftw3f... yes
checking for create_viterbi27 in -lfec... no
configure: WARNING: fec library useful but not required
checking for inline... inline
checking for size_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking size of int... 4
checking size of unsigned int... 4
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc architecture flag... 
checking for x86 cpuid 0 output... d:756e6547:6c65746e:49656e69
checking for x86 cpuid 1 output... 306c3:100800:7fdafbbf:bfebfbff
checking whether C compiler accepts -march=core2... yes
checking for gcc architecture flag... -march=core2
checking target system type... x86_64-unknown-linux-gnu
checking for x86 cpuid 0x00000001 output... 306c3:100800:7fdafbbf:bfebfbff
checking mmintrin.h usability... yes
checking mmintrin.h presence... yes
checking for mmintrin.h... yes
checking xmmintrin.h usability... yes
checking xmmintrin.h presence... yes
checking for xmmintrin.h... yes
checking emmintrin.h usability... yes
checking emmintrin.h presence... yes
checking for emmintrin.h... yes
checking pmmintrin.h usability... yes
checking pmmintrin.h presence... yes
checking for pmmintrin.h... yes
checking tmmintrin.h usability... yes
checking tmmintrin.h presence... yes
checking for tmmintrin.h... yes
checking smmintrin.h usability... yes
checking smmintrin.h presence... yes
checking for smmintrin.h... yes
checking immintrin.h usability... yes
checking immintrin.h presence... yes
checking for immintrin.h... yes
checking whether mmx is supported... yes
checking whether sse is supported... yes
checking whether sse2 is supported... yes
checking whether sse3 is supported... yes
checking whether ssse3 is supported... yes
checking whether sse4.1 is supported... yes
checking whether sse4.2 is supported... yes
checking whether avx is supported... yes
checking whether C compiler accepts -mmmx... yes
checking whether C compiler accepts -msse... yes
checking whether C compiler accepts -msse2... yes
checking whether C compiler accepts -msse3... yes
checking whether C compiler accepts -mssse3... yes
checking whether C compiler accepts -msse4.1... yes
checking whether C compiler accepts -msse4.2... yes
checking whether C compiler accepts -mavx... yes
configure: creating ./config.status
config.status: creating makefile
config.status: creating config.h
~/liquid-dsp (fpm) $ make
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/libliquid.o src/libliquid.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/agc/src/agc_crcf.o src/agc/src/agc_crcf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/agc/src/agc_rrrf.o src/agc/src/agc_rrrf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/agc/src/agc_crcq16.o src/agc/src/agc_crcq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/agc/src/agc_rrrq16.o src/agc/src/agc_rrrq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/audio/src/cvsd.o src/audio/src/cvsd.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/buffer/src/bufferf.o src/buffer/src/bufferf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/buffer/src/buffercf.o src/buffer/src/buffercf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/buffer/src/bufferq16.o src/buffer/src/bufferq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/buffer/src/bufferq32.o src/buffer/src/bufferq32.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/buffer/src/buffercq16.o src/buffer/src/buffercq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/buffer/src/buffercq32.o src/buffer/src/buffercq32.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_cccf.mmx.o src/dotprod/src/dotprod_cccf.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_crcf.mmx.o src/dotprod/src/dotprod_crcf.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_rrrf.mmx.o src/dotprod/src/dotprod_rrrf.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/sumsq.mmx.o src/dotprod/src/sumsq.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_cccq16.mmx.o src/dotprod/src/dotprod_cccq16.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_crcq16.mmx.o src/dotprod/src/dotprod_crcq16.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_rrrq16.mmx.o src/dotprod/src/dotprod_rrrq16.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_cccq32.mmx.o src/dotprod/src/dotprod_cccq32.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_crcq32.mmx.o src/dotprod/src/dotprod_crcq32.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/dotprod_rrrq32.mmx.o src/dotprod/src/dotprod_rrrq32.mmx.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/dotprod/src/sumsqq16.o src/dotprod/src/sumsqq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/equalization/src/equalizer_cccf.o src/equalization/src/equalizer_cccf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/equalization/src/equalizer_rrrf.o src/equalization/src/equalizer_rrrf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/crc.o src/fec/src/crc.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec.o src/fec/src/fec.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_conv.o src/fec/src/fec_conv.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_conv_poly.o src/fec/src/fec_conv_poly.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_conv_pmatrix.o src/fec/src/fec_conv_pmatrix.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_conv_punctured.o src/fec/src/fec_conv_punctured.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_golay2412.o src/fec/src/fec_golay2412.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_hamming74.o src/fec/src/fec_hamming74.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_hamming84.o src/fec/src/fec_hamming84.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_hamming128.o src/fec/src/fec_hamming128.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_hamming1511.o src/fec/src/fec_hamming1511.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_hamming3126.o src/fec/src/fec_hamming3126.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_hamming128_gentab.o src/fec/src/fec_hamming128_gentab.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_pass.o src/fec/src/fec_pass.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_rep3.o src/fec/src/fec_rep3.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_rep5.o src/fec/src/fec_rep5.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_rs.o src/fec/src/fec_rs.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_secded2216.o src/fec/src/fec_secded2216.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_secded3932.o src/fec/src/fec_secded3932.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/fec_secded7264.o src/fec/src/fec_secded7264.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/interleaver.o src/fec/src/interleaver.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/packetizer.o src/fec/src/packetizer.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fec/src/sumproduct.o src/fec/src/sumproduct.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fft/src/fftf.o src/fft/src/fftf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fft/src/fftq16.o src/fft/src/fftq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fft/src/fftq32.o src/fft/src/fftq32.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fft/src/asgram.o src/fft/src/asgram.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fft/src/spgram.o src/fft/src/spgram.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fft/src/fft_utilities.o src/fft/src/fft_utilities.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/bessel.o src/filter/src/bessel.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/butter.o src/filter/src/butter.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/cheby1.o src/filter/src/cheby1.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/cheby2.o src/filter/src/cheby2.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/ellip.o src/filter/src/ellip.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/filter_rrrf.o src/filter/src/filter_rrrf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/filter_crcf.o src/filter/src/filter_crcf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/filter_cccf.o src/filter/src/filter_cccf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/filter_rrrq16.o src/filter/src/filter_rrrq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/filter_crcq16.o src/filter/src/filter_crcq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/filter_cccq16.o src/filter/src/filter_cccq16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/firdes.o src/filter/src/firdes.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/firdespm.o src/filter/src/firdespm.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/fnyquist.o src/filter/src/fnyquist.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/gmsk.o src/filter/src/gmsk.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/group_delay.o src/filter/src/group_delay.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/hM3.o src/filter/src/hM3.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/iirdes.pll.o src/filter/src/iirdes.pll.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/iirdes.o src/filter/src/iirdes.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/lpc.o src/filter/src/lpc.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/rcos.o src/filter/src/rcos.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/rkaiser.o src/filter/src/rkaiser.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/filter/src/rrcos.o src/filter/src/rrcos.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/src/q16.o src/fpm/src/q16.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/src/q32.o src/fpm/src/q32.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2   -o src/fpm/gentab/gentab.qtype_constants src/fpm/gentab/gentab.qtype_constants.c -lfftw3f -lm -lc 
./src/fpm/gentab/gentab.qtype_constants -n16 > src/fpm/gentab/q16_constants.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q16_constants.o src/fpm/gentab/q16_constants.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2   -o src/fpm/gentab/gentab.qtype_logexp_shiftadd src/fpm/gentab/gentab.qtype_logexp_shiftadd.c -lfftw3f -lm -lc 
./src/fpm/gentab/gentab.qtype_logexp_shiftadd -n16 > src/fpm/gentab/q16_logexp_shiftadd.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q16_logexp_shiftadd.o src/fpm/gentab/q16_logexp_shiftadd.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2   -o src/fpm/gentab/gentab.qtype_logexp_frac src/fpm/gentab/gentab.qtype_logexp_frac.c -lfftw3f -lm -lc 
./src/fpm/gentab/gentab.qtype_logexp_frac -n16 > src/fpm/gentab/q16_logexp_frac.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q16_logexp_frac.o src/fpm/gentab/q16_logexp_frac.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2   -o src/fpm/gentab/gentab.qtype_cordic src/fpm/gentab/gentab.qtype_cordic.c -lfftw3f -lm -lc 
./src/fpm/gentab/gentab.qtype_cordic -n16 > src/fpm/gentab/q16_cordic.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q16_cordic.o src/fpm/gentab/q16_cordic.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2   -o src/fpm/gentab/gentab.qtype_hyperbolic_cordic src/fpm/gentab/gentab.qtype_hyperbolic_cordic.c -lfftw3f -lm -lc 
./src/fpm/gentab/gentab.qtype_hyperbolic_cordic -n16 > src/fpm/gentab/q16_hyperbolic_cordic.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q16_hyperbolic_cordic.o src/fpm/gentab/q16_hyperbolic_cordic.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2   -o src/fpm/gentab/gentab.qtype_trigtab src/fpm/gentab/gentab.qtype_trigtab.c -lfftw3f -lm -lc 
./src/fpm/gentab/gentab.qtype_trigtab -n16 > src/fpm/gentab/q16_trigtab.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q16_trigtab.o src/fpm/gentab/q16_trigtab.c
./src/fpm/gentab/gentab.qtype_constants -n32 > src/fpm/gentab/q32_constants.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q32_constants.o src/fpm/gentab/q32_constants.c
./src/fpm/gentab/gentab.qtype_logexp_shiftadd -n32 > src/fpm/gentab/q32_logexp_shiftadd.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q32_logexp_shiftadd.o src/fpm/gentab/q32_logexp_shiftadd.c
./src/fpm/gentab/gentab.qtype_logexp_frac -n32 > src/fpm/gentab/q32_logexp_frac.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q32_logexp_frac.o src/fpm/gentab/q32_logexp_frac.c
./src/fpm/gentab/gentab.qtype_cordic -n32 > src/fpm/gentab/q32_cordic.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q32_cordic.o src/fpm/gentab/q32_cordic.c
./src/fpm/gentab/gentab.qtype_hyperbolic_cordic -n32 > src/fpm/gentab/q32_hyperbolic_cordic.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q32_hyperbolic_cordic.o src/fpm/gentab/q32_hyperbolic_cordic.c
./src/fpm/gentab/gentab.qtype_trigtab -n32 > src/fpm/gentab/q32_trigtab.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/fpm/gentab/q32_trigtab.o src/fpm/gentab/q32_trigtab.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/bpacketgen.o src/framing/src/bpacketgen.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/bpacketsync.o src/framing/src/bpacketsync.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/bpresync_cccf.o src/framing/src/bpresync_cccf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/bsync_rrrf.o src/framing/src/bsync_rrrf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/bsync_crcf.o src/framing/src/bsync_crcf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/bsync_cccf.o src/framing/src/bsync_cccf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/detector_cccf.o src/framing/src/detector_cccf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/framesyncstats.o src/framing/src/framesyncstats.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/framegen64.o src/framing/src/framegen64.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/framesync64.o src/framing/src/framesync64.c
In file included from src/framing/src/framesync64.c:31:0:
src/framing/src/framesync64.c: In function ‘framesync64_decode_payload’:
src/framing/src/framesync64.c:639:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
     assert(num_written = _q->payload_enc_len);
            ^
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/flexframegen.o src/framing/src/flexframegen.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/flexframesync.o src/framing/src/flexframesync.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/gmskframegen.o src/framing/src/gmskframegen.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/gmskframesync.o src/framing/src/gmskframesync.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/ofdmflexframegen.o src/framing/src/ofdmflexframegen.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/ofdmflexframesync.o src/framing/src/ofdmflexframesync.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/framing/src/presync_cccf.o src/framing/src/presync_cccf.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/math/src/poly.o src/math/src/poly.c
gcc -I . -I include -Wall -fPIC -g -O2 -march=core2     -c -o src/math/src/polyc.o src/math/src/polyc.c
In file included from src/math/src/polyc.c:34:0:
src/math/src/poly.findroots.c: In function ‘polyc_findroots_bairstow_recursion’:
src/math/src/poly.findroots.c:302:13: error: non-floating-point argument in call to function ‘__builtin_isnan’
         if (isnan(du) || isnan(dv)) {
             ^~~~~
src/math/src/poly.findroots.c:302:26: error: non-floating-point argument in call to function ‘__builtin_isnan’
         if (isnan(du) || isnan(dv)) {
                          ^~~~~
<commande interne>: recipe for target 'src/math/src/polyc.o' failed
make: *** [src/math/src/polyc.o] Error 1
jgaeddert commented 4 years ago

I think this was addressed in 3055eb3da9d0a202c1a975f7db0c8370a09a30bc. Merging master into fpm is going to take some considerable work, so for now I just cherry-picked this commit. It builds on passes on my Linux box.

ludovicmartin commented 4 years ago

It compiles like a charm, thank you!

jgaeddert commented 4 years ago

Great! I'll work on closing out some of those failing tests.