Skip to content

DFUZZTEST_COMPATIBILITY_MODE=libfuzzer failing on linking #787

Open

Description

I am using Ubuntu 22.04.2 LTS and the default clang version (14)

I am following exactly the documentation for the cmake for first_fuzz_test.cc file, but it fails in the linking:

../lib/libfuzztest_compatibility_mode.a(compatibility_mode.cc.o): in function fuzztest::internal::FuzzTestExternalEngineAdaptor::RunInFuzzingMode(int*, char***, fuzztest::internal::Configuration const&)': compatibility_mode.cc:(.text+0x113d): undefined reference to LLVMFuzzerRunDriver'
clang: error: linker command failed with exit code 1 (use -v to see invocation

Is this compatibility mode really working with clang 14?

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions