Hello!
On Mon, Apr 17, 2023 at 04:54:37PM +0400, Sergey Kandaurov wrote:
>
> > On 17 Apr 2023, at 07:47, Maxim Dounin wrote:
> >
> > # HG changeset patch
> > # User Maxim Dounin
> > # Date 1681703207 -10800
> > # Mon Apr 17 06:46:47 2023 +0300
> > # Node ID 910ee4cb25e07423a40fa6951d62f7
Hello!
On Tue, Apr 18, 2023 at 02:07:06AM +0300, Vadim Fedorenko via nginx-devel wrote:
> GCC version 11 and newer use more aggressive way to eliminate dead stores
> which ends up removing ngx_memzero() calls in several places. Such
> optimization
> affects calculations of md5 and sha1 implement
GCC version 11 and newer use more aggressive way to eliminate dead stores
which ends up removing ngx_memzero() calls in several places. Such optimization
affects calculations of md5 and sha1 implemented internally in nginx. The
effect could be easily observed by adding a random data to buffer array
# HG changeset patch
# User Vadim Fedorenko
# Date 1681771220 -10800
# Tue Apr 18 01:40:20 2023 +0300
# Node ID 5663d8ff4399e7e76369c024db59c40178290213
# Parent 8f8773a3076bdbd91fc7a4e96d7a068f7ff29b09
sha1: use explicit memzero to avoid optimizations.
GCC11 is optimizing memzero functions
# HG changeset patch
# User Vadim Fedorenko
# Date 1681771200 -10800
# Tue Apr 18 01:40:00 2023 +0300
# Node ID 8f8773a3076bdbd91fc7a4e96d7a068f7ff29b09
# Parent 0a1c8cb5c05141f3ea3135d9f01688f7693fc7df
md5: use explicit memzero to avoid optimizations.
GCC11 is optimizing memzero functions
# HG changeset patch
# User Vadim Fedorenko
# Date 1681771255 -10800
# Tue Apr 18 01:40:55 2023 +0300
# Node ID 460c71c36b00fdd510cb511a5714face68280dac
# Parent 5663d8ff4399e7e76369c024db59c40178290213
inet: use explicit memzero to avoid optimizations.
GCC11+ removes memzero call in ngx_in
# HG changeset patch
# User Vadim Fedorenko
# Date 1681771172 -10800
# Tue Apr 18 01:39:32 2023 +0300
# Node ID 0a1c8cb5c05141f3ea3135d9f01688f7693fc7df
# Parent 252a7acd35ceff4fca7a8c60a9aa6d4d22b688bf
Core: use explicit_bzero if possible.
GCC 11+ expanded the scope of dead store eliminati
> On 17 Apr 2023, at 07:47, Maxim Dounin wrote:
>
> # HG changeset patch
> # User Maxim Dounin
> # Date 1681703207 -10800
> # Mon Apr 17 06:46:47 2023 +0300
> # Node ID 910ee4cb25e07423a40fa6951d62f74029e7db2d
> # Parent 5f1d05a21287ba0290dd3a17ad501595b442a194
> Fixed segfault if regex s
details: https://hg.nginx.org/nginx/rev/e70cd097490a
branches:
changeset: 8161:e70cd097490a
user: Sergey Kandaurov
date: Mon Apr 17 14:07:59 2023 +0400
description:
Year 2023.
diffstat:
docs/text/LICENSE | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (11 lines):
details: https://hg.nginx.org/nginx/rev/252a7acd35ce
branches:
changeset: 8162:252a7acd35ce
user: Sergey Kandaurov
date: Mon Apr 17 14:08:00 2023 +0400
description:
Added stream modules realip and ssl_preread to win32 builds.
diffstat:
misc/GNUmakefile | 2 ++
1 files changed, 2
details: https://hg.nginx.org/nginx/rev/ea658355015b
branches:
changeset: 8160:ea658355015b
user: Sergey Kandaurov
date: Mon Apr 17 14:06:43 2023 +0400
description:
Version bump.
diffstat:
src/core/nginx.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (14 line
> On 17 Apr 2023, at 07:53, Maxim Dounin wrote:
>
> Hello!
>
> On Wed, Apr 12, 2023 at 05:44:29PM +0400, Sergey Kandaurov wrote:
>
>> # HG changeset patch
>> # User Sergey Kandaurov
>> # Date 1681306935 -14400
>> # Wed Apr 12 17:42:15 2023 +0400
>> # Node ID bdfbd7ed2433d1a68d466f3539838
12 matches
Mail list logo