Skip to content

UBSan doesn't work with clang #27

Description

@apsun

clang seems to insist on linking in the system libubsan even when we're compiling with -nostdlib.

Current workaround is to link the final executable with ld instead of cc when not using LTO, but that complicates our Makefile since the flags are different.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions