Patch for s390x support

Neale Ferguson neale at
Tue Oct 13 13:22:58 UTC 2015

Thanks. I have the non-builtin version of the atomic operations written
for s390x, so on the off chance if someone wants to build using gcc < 4.1
then things will build/run. However, given then low probability of that is
it worth submitting the patch?

On 10/13/15, 8:44 AM, "nginx-devel on behalf of Maxim Dounin"
<nginx-devel-bounces at on behalf of mdounin at> wrote:

>On Mon, Oct 12, 2015 at 05:23:04PM כֿ, Neale Ferguson wrote:
>> Hi,
>> I would like to contribute the a fix to enable the Linux s390x platform.
>> The fix was built against today’s mercurial master and pertains to the
>> atomic functions. I note the other architectures use inline assembler
>> rather than the gcc builtin operations. Is this for historical reasons?
>GCC builtin atomic operations are used when available, grep
>NGX_HAVE_GCC_ATOMIC for details.

More information about the nginx-devel mailing list