Skip to content

linker command failed with exit code 1 during instrument pass #56

@cclinus

Description

@cclinus

When I instrument this IR file using current LLFI version, it gives


/usr/bin/ld: h_errno: TLS definition in /lib/x86_64-linux-gnu/libc.so.6 section .tbss mismatches non-TLS reference in /home/anthony/Downloads/test_justin/llfi/showdbctl_final-profiling.o
/lib/x86_64-linux-gnu/libc.so.6: error adding symbols: Bad value
clang-3.4: error: linker command failed with exit code 1 (use -v to see invocation)

ERROR: there was an error during linking and generating executables,Please take /home/anthony/Downloads/test_justin/llfi/showdbctl_final-profiling.ll and /home/anthony/Downloads/test_justin/llfi/showdbctl_final-faultinjection.ll and generate the executables manually (linking llfi-rt in directory /home/anthony/llfi-merge/bin/../runtime_lib)


The IR under test is compiled from https://github.com/CMU-Quake/hercules

Contact me to get compiled IR file as I can not upload files here.

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