For the benefit of future readers: this turned out to be gcc compiler bugs
in the versions we were using.
On nealef-s390x-1 we are using gcc 4.4.7. Neale sent
https://github.com/mono/mono/pull/2488 to workaround this problem which
worked fine there.
However, it broke the build on nealef-s390x-2
> From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-
> boun...@lists.ximian.com] On Behalf Of Neale Ferguson
>
> Further to the problem, tt seems to be a threading issue since if a lock
> is put around this method call:
>
> return ProtectedData.Protect(data, extraEntropy,