-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
After upgrading my NanoPI NEO from Bullseye to Bookworm and rebuilding tfrec it started failing with "Illegal instruction".
Trace from gdb:
Thread 1 "tfrec" received signal SIGILL, Illegal instruction.
0x004068fe in whb_demod::demod(int, int, int, short*) ()
(gdb) bt
#0 0x004068fe in whb_demod::demod(int, int, int, short*) ()
#1 0x00404b44 in fsk_demod::process(short*, int) ()
#2 0x004042c6 in engine::run(int) ()
#3 0x00403aa8 in main ()
On Bullseye I had:
$ gcc -march=native -Q --help=target | grep mfpu
-mfpu= vfpv3-d16
On Bookworm:
$ gcc -march=native -Q --help=target | grep mfpu
-mfpu= auto
I got it working by changing from -mfpu=crypto-neon-fp-armv8 to -mfpu=auto under # RPi 3/4 32Bit / ifeq ($(ARCH), armv7l).
Metadata
Metadata
Assignees
Labels
No labels