Skip to content

[clang 17.0.1] [regression] Hangs when compiling NSS with -O2 -march=skylake #67333

Closed
llvm/llvm-project-release-prs
#724
@StormBytePP

Description

@StormBytePP

When using clang 17.0.1 in Gentoo and compiling dev-libs/nss an infinite loop is detected in sha512.c compilation unit (reported downstream Gentoo bug report) which is not reproducible using Clang 16.

An initial testing revealed that march=native (also tested march=skylake and march=alderlake triggering the problem) might be causing the trouble.

In order to ease the test process, I attach the preprocessed output for that compile unit which I expect can reproduce this issue easily (remove the .txt extension)

sha512-preprocessed.c.txt

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions