Skip to content
This repository was archived by the owner on Jun 8, 2024. It is now read-only.
This repository was archived by the owner on Jun 8, 2024. It is now read-only.

Run time link error when using --coverage + clang + osx #92

@springmeyer

Description

@springmeyer

We hit this error (Symbol not found: _llvm_gcda_emit_arcs) when building osrm-backend and node-osrm on OS X with clang and the --coverage flag. This does not manifest when only node-osrm is built with --coverage

module.js:356
  Module._extensions[extension](this, filename);
                               ^
Error: dlopen(/Users/travis/build/Project-OSRM/node-osrm/lib/binding/osrm.node, 1): Symbol not found: _llvm_gcda_emit_arcs

and -flto builds are hitting: lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:186

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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