Skip to content

AddressSanitizer does not work on the aarch64-unknown-linux-gnu target #73038

Closed

Description

@emilyalbini

When running the rustc test suite on AArch64, the codegen/sanitizer-no-sanitize.rs fails with the following message:

error: AddressSanitizer only works with the `x86_64-unknown-linux-gnu` or `x86_64-apple-darwin` or `x86_64-fuchsia` or `aarch64-fuchsia` target

Activity

  1. added
    A-sanitizersArea: Sanitizers for correctness and code quality
    C-enhancementCategory: An issue proposing an enhancement or a PR with one.
    O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state
    on Jun 5, 2020
  2. emilyalbini commented on Jun 8, 2020

    @emilyalbini
    MemberAuthor

    The src/test/rustdoc/sanitizer-option.rs test also fails because of this.

  3. emilyalbini commented on Jun 9, 2020

    @emilyalbini
    MemberAuthor

    cc @Stammark @JamieCunliffe @vigoux @joaopaulocarreiro @raw-bin, this is one of the tests that are failing on AArch64.

    There is a PR open #73058 that apparently should fix this.

  4. emilyalbini commented on Aug 3, 2020

    @emilyalbini
    MemberAuthor

    This was fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-sanitizersArea: Sanitizers for correctness and code qualityC-enhancementCategory: An issue proposing an enhancement or a PR with one.O-ArmTarget: 32-bit Arm processors (armv6, armv7, thumb...), including 64-bit Arm in AArch32 state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions