Skip to content

[RISC-V] Infinite loop when compiling w/ -fstack-clash-protection on RISC-V #135206

@ilovepi

Description

@ilovepi

When compiling some Fuchsia code for RISC-V, we found that enabling -fstack-clash-protection started causing our builders to time out. When investigating locally, I found that the build would not complete, even after more than a full day. Typically these files compile on the order of seconds, so there seems to be something wrong in the RISC-V implementation of stack clash protection. Note: we don't see these issues on x86_64 or Aarch64.

I'm uploading a reproducer, but I haven't had a chance to reduce it yet.

clang-crashreports.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions