I am currently trying to use an eBPF program on a Raspberry Pi 3 Model B V1.2, that has Ubuntu installed. For managing the compilation, system calls and all that, I use the BPF compiler collection.
Whenever BCC tries to compile the program, I get a multitude of errors, one of which is "SMP is not supported on this platform" and another "SMP not supported on pre-ARMv6 CPUs".
This seems really strange to me, because looking at the headers, those should only occur, if __LINUX_ARM_ARCH__ is smaller than 6.
"uname -m" gives me armv7l, which should be sufficient, right? Looking at the kernel config, CONFIG_SMP is y and CONFIG_CPU_32v7 is y as well. So as far as I understand, everything seems correct.
So why doesn't it work and how can I fix it?
Also if you need more information, I'll gladly supply it. I've never been so deep into this stuff, so I don't know what's more and what's less important.