0
Apparently, the message appears before the program code itself even starts to be executed.
Here's the error message:
pi@autoradio:/import/valen/autoradio $ ./autoradio
ASAN:SIGSEGV
=================================================================
==22399==ERROR: AddressSanitizer: SEGV on unknown address 0xfffffff0 (pc 0x7602af44 sp 0x7eeafd18 bp 0x7eeb05cc T0)
<empty stack>
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
==22399==ABORTING
Here are the relevant lines in my makefile:
CFLAGS=-std=c++11 -ggdb -Wall -Wmultichar -Wabi-tag -O0 -fstack-protector-all -fsanitize=address
LDFLAGS=-L/usr/lib -L/usr/lib/arm-linux-gnueabihf -fsanitize=address
I'm using g++ version 4:4.9.2-2 on the current Raspbian on an RPi 3B with a 4.9.35 kernel.
What's going on here? Thank you for any useful hints.