Skip to content

[Build]: Clang does not support -static-libasan, blocking static ASAN builds #7033

@bendrissou

Description

@bendrissou

Operating System

Ubuntu 20.04

Compiler

clang version 10.0.0

ChakraCore Version

ch version 1.13.0.0-beta

Compiler output

Build is successful, but no AddressSanitizer outputs!

Additional Context

Attempting to build ChakraCore statically with Clang and AddressSanitizer (-fsanitize=address) fails because Clang does not support -static-libasan.
Note that dynamic linking with ASAN does not works, and gcc is not supported.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions