However, this change may not be correct. In particular the _NR_membarrier value (which I set to 283) is platform-independent. It may not be correct, certainly unlikely to be for both arm and i486. So this needs to be fixed.
One fix would be to build against Linux kernel headers 4.16 or newer.
ESR 91 introduced some membarrier code that needs newer Linux kernel headers.
The following commit patches around this to avoid the need for the headers 5a88215c32d63ba40125afa722a6ee8680a49968.
However, this change may not be correct. In particular the
_NR_membarrier
value (which I set to 283) is platform-independent. It may not be correct, certainly unlikely to be for both arm and i486. So this needs to be fixed.One fix would be to build against Linux kernel headers 4.16 or newer.
See: