Hi,
in linux/spectre.c the strcmp fails when comparing some strings because the whitespace at the beginning of some strings is not stripped.
I checked on Ubuntu 18.04.
Just strip possible whitespaces at the beginning or at the end of iter.key should fix the problem.