DependableSystemsLab / LLFI

LLFI is an LLVM based fault injection tool, that injects faults into the LLVM IR of the application source code. The faults can be injected into specific program points, and the effect can be easily tracked back to the source code. Please refer to the paper below. NOTE: If you publish a paper using LLFI, please add it to PaperLLFI.bib
http://blogs.ubc.ca/karthik/2014/02/23/quantifying-the-accuracy-of-high-level-fault-injection-techniques/
Other
68 stars 35 forks source link

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

Open cclinus opened 9 years ago

cclinus commented 9 years ago

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.