grimar added a comment.
Possible workaround for linux kernel is
change include/linux/elfnote.h to:
#define ELFNOTE(name, type, desc) \
ELFNOTE_START(name, type, "a") \
desc ; \
ELFNOTE_END
https://reviews.llvm.org/D29324