Skip to content

arm64be fails with -fsanitize=shadow-call-stack #45421

@arndb

Description

@arndb
mannequin
Bugzilla Link 46076
Resolution FIXED
Resolved on Jun 24, 2020 09:23
Version trunk
OS Linux
Blocks #4440 #44654
CC @MaskRay,@nickdesaulniers,@pcc,@zygoloid,@samitolvanen,@tstellar
Fixed by commit(s) a2a3e9f b9c6871 1a25347 f9da0a7

Extended Description

Building the Linux kernel with the newly added support for -fsanitize=shadow-call-stack fails on big-endian platforms with:

clang: error: unsupported option '-fsanitize=shadow-call-stack' for target 'aarch64_be-unknown-linux'

I have submitted a workaround for the kernel, but this is likely a bug in clang and there may be no technical reason to prevent the combination.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillaclang:driver'clang' and 'clang++' user-facing binaries. Not 'clang-cl'compiler-rtportability

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions