antirez/dump1090

Bus Error when using make

hf-ikea opened this issue · 0 comments

When using the command make, the console stops on line 408, right after function rtlsdrCallBack. It throws a bus error. I'm stuck and tried reinstalling everything I could, to no avail.
Log:
user@computer:~/building/dump1090$ make
cc -O2 -g -Wall -W -c dump1090.c
dump1090.c: In function ‘interactiveReceiveData’:
dump1090.c:1804:17: warning: absolute value function ‘abs’ given an argument of type ‘long long int’ but has parameter of type ‘int’ which may cause truncation of value [-Wabsolute-value]
1804 | if (abs(a->even_cprtime - a->odd_cprtime) <= 10000) {
| ^~~
during RTL pass: sched2
dump1090.c: In function ‘rtlsdrCallback’:
dump1090.c:408:1: internal compiler error: Bus error
408 | }
| ^
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-9/README.Bugs for instructions.
make: *** [Makefile:9: dump1090.o] Error 1

Make version: 4.2.1
GCC version: 9.3.0
I am running Linux Mint Latest release