Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang: error: linker command failed with exit code 1 (use -v to see invocation) #1

Open
prithvish111 opened this issue May 9, 2022 · 0 comments

Comments

@prithvish111
Copy link

$ ./encode.sh binarysearch hello123 10 5 7 7 /home/kali/Sources
Found Error opening '../../llvm/llvm-project/build/lib/LLVMInitialAnalysis.so': ../../llvm/llvm-project/build/lib/LLVMInitialAnalysis.so: cannot open shared object file: No such file or directory
-load request ignored.
opt: Unknown command line argument '-InitialAnalysis'. Try: 'opt --help'
opt: Did you mean '--tailcallelim'?
opt: Unknown command line argument '-depth'. Try: 'opt --help'
opt: Did you mean '--tti'? possible insertion Points at depth 0
./encode.sh: line 39: [[: Error opening '../../llvm/llvm-project/build/lib/LLVMInitialAnalysis.so': ../../llvm/llvm-project/build/lib/LLVMInitialAnalysis.so: cannot open shared object file: No such file or directory
-load request ignored.
opt: Unknown command line argument '-InitialAnalysis'. Try: 'opt --help'
opt: Did you mean '--tailcallelim'?
opt: Unknown command line argument '-depth'. Try: 'opt --help'
opt: Did you mean '--tti'?: syntax error: invalid arithmetic operator (error token is "'../../llvm/llvm-project/build/lib/LLVMInitialAnalysis.so': ../../llvm/llvm-project/build/lib/LLVMInitialAnalysis.so: cannot open shared object file: No such file or directory
-load request ignored.
opt: Unknown command line argument '-InitialAnalysis'. Try: 'opt --help'
opt: Did you mean '--tailcallelim'?
opt: Unknown command line argument '-depth'. Try: 'opt --help'
opt: Did you mean '--tti'?")
No Posix input style
Traceback (most recent call last):
File "/home/kali/xmark/findinputsequence.py", line 406, in
maxind=int(sys.argv[2])
ValueError: invalid literal for int() with base 10: 'Error'
input sequence found:
indice sequence:
insertion done
/usr/bin/ld: /lib/x86_64-linux-gnu/crt1.o: in function _start': (.text+0x20): undefined reference to main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
cp: cannot create regular file 'insertedProgs/': Not a directory
touch: cannot touch 'insertedProgs/binarysearch-inp': No such file or directory
./encode.sh: line 152: insertedProgs/binarysearch-inp: No such file or directory
cp: cannot stat 'binarysearch': No such file or directory
rm: cannot remove 'outfile-': No such file or directory
rm: cannot remove 'klee-out-
': No such file or directory
rm: cannot remove 'binarysearch': No such file or directory
rm: cannot remove 'klee-last': No such file or directory
rm: cannot remove 'klee-out-0': No such file or directory
rm: cannot remove 'binarysearch-kleed.ll': No such file or directory
rm: cannot remove 'binarysearch-2kleed.ll': No such file or directory
cleanup done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant