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

Issues compiling bitcoin-core (__sancov_pcs has both ordered and unordered sections) #27

Closed
maflcko opened this issue Jan 10, 2022 · 6 comments

Comments

@maflcko
Copy link
Contributor

maflcko commented Jan 10, 2022

Steps to reproduce:

../run_both.sh bitcoin-core 50
...
Shortened name that we can use for analysis: std::exception
Shortened name that we can use for analysis: std::exception
Shortened name that we can use for analysis: std::exception
Shortened name that we can use for analysis: std::exception
Finished inspector module
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_cntrs'
/usr/bin/ld: /tmp/lto-llvm-43ae65.o: warning: sh_link not set for section `__sancov_pcs'
/usr/bin/ld: __sancov_pcs has both ordered [`__sancov_pcs[_ZNSt3__110shared_ptrIN10cryptofuzz6ModuleEED2Ev]' in /tmp/lto-llvm-43ae65.o] and unordered [`__sancov_pcs' in /tmp/lto-llvm-43ae65.o] sections
/usr/bin/ld: final link failed: bad value
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:49: cryptofuzz] Error 1
ERROR:root:Building fuzzers failed.
@maflcko maflcko changed the title Issues compiling bitcoin-core () Issues compiling bitcoin-core (__sancov_pcs has both ordered and unordered sections) Jan 10, 2022
@maflcko
Copy link
Contributor Author

maflcko commented Jan 10, 2022

I might try clang-14 to see if that fixes it

@DavidKorczynski
Copy link
Contributor

I haven't seen this issue before, but I will take a loot in the near future. There are a few things that could be improved in the llvm pass, which may assist here.

Is bitcoin-core able to compile with LTO by default?

@maflcko
Copy link
Contributor Author

maflcko commented Jan 11, 2022

Looks like clang-14 fixed it #29 for me. No idea why 🤷‍♂️

@maflcko
Copy link
Contributor Author

maflcko commented Jan 11, 2022

Oh, apologies. I forgot to press CTRL+C to continue the compilation.

clang-14 fails with some lto issue in cryptofuzz (which is part of OSS-Fuzz bitcoin-core):

[ 55%] Linking C static library libcpu_features.a
make[3]: Leaving directory '/src/cryptofuzz/third_party/cpu_features/build'
[ 55%] Built target cpu_features
make[3]: Entering directory '/src/cryptofuzz/third_party/cpu_features/build'
make[3]: Leaving directory '/src/cryptofuzz/third_party/cpu_features/build'
make[3]: Entering directory '/src/cryptofuzz/third_party/cpu_features/build'
[ 66%] Building C object CMakeFiles/list_cpu_features.dir/src/utils/list_cpu_features.c.o
[ 77%] Linking C executable list_cpu_features
make[3]: Leaving directory '/src/cryptofuzz/third_party/cpu_features/build'
[ 77%] Built target list_cpu_features
make[3]: Entering directory '/src/cryptofuzz/third_party/cpu_features/build'
make[3]: Leaving directory '/src/cryptofuzz/third_party/cpu_features/build'
make[3]: Entering directory '/src/cryptofuzz/third_party/cpu_features/build'
[ 88%] Building C object CMakeFiles/unix_based_hardware_detection.dir/src/hwcaps.c.o
[100%] Building C object CMakeFiles/unix_based_hardware_detection.dir/src/unix_features_aggregator.c.o
make[3]: Leaving directory '/src/cryptofuzz/third_party/cpu_features/build'
[100%] Built target unix_based_hardware_detection
make[2]: Leaving directory '/src/cryptofuzz/third_party/cpu_features/build'
make[1]: Leaving directory '/src/cryptofuzz/third_party/cpu_features/build'
clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -flto -fsanitize=fuzzer-no-link -stdlib=libc++ -DCRYPTOFUZZ_NO_OPENSSL -I /src/boost_1_74_0/ -DCRYPTOFUZZ_SECP256K1 -DCRYPTOFUZZ_TREZOR_FIRMWARE -DCRYPTOFUZZ_BOTAN -DCRYPTOFUZZ_BOTAN_IS_ORACLE -DCRYPTOFUZZ_BITCOIN -Wall -Wextra -std=c++17 -I include/ -I . -I fuzzing-headers/include -DFUZZING_HEADERS_NO_IMPL repository.cpp -c -o repository.o
In file included from driver.cpp:4:
./executor.h:36:78: warning: unused parameter 'module' [-Wunused-parameter]
        virtual std::optional<ResultType> callModule(std::shared_ptr<Module> module, OperationType& op) const { ::abort(); }
                                                                             ^
./executor.h:36:101: warning: unused parameter 'op' [-Wunused-parameter]
        virtual std::optional<ResultType> callModule(std::shared_ptr<Module> module, OperationType& op) const { ::abort(); }
                                                                                                    ^
In file included from executor.cpp:1:
./executor.h:36:78: warning: unused parameter 'module' [-Wunused-parameter]
        virtual std::optional<ResultType> callModule(std::shared_ptr<Module> module, OperationType& op) const { ::abort(); }
                                                                             ^
./executor.h:36:101: warning: unused parameter 'op' [-Wunused-parameter]
        virtual std::optional<ResultType> callModule(std::shared_ptr<Module> module, OperationType& op) const { ::abort(); }
                                                                                                    ^
2 warnings generated.
executor.cpp:1422:150: warning: unused parameter 'op' [-Wunused-parameter]
template<> void ExecutorBase<component::Bignum, operation::BLS_Compress_G1>::postprocess(std::shared_ptr<Module> module, operation::BLS_Compress_G1& op, const ExecutorBase<component::Bignum, operation::BLS_Compress_G1>::ResultPair& result) const {
                                                                                                                                                     ^
3 warnings generated.
test -fsanitize=fuzzer
clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -flto -fsanitize=fuzzer-no-link -stdlib=libc++ -DCRYPTOFUZZ_NO_OPENSSL -I /src/boost_1_74_0/ -DCRYPTOFUZZ_SECP256K1 -DCRYPTOFUZZ_TREZOR_FIRMWARE -DCRYPTOFUZZ_BOTAN -DCRYPTOFUZZ_BOTAN_IS_ORACLE -DCRYPTOFUZZ_BITCOIN -Wall -Wextra -std=c++17 -I include/ -I . -I fuzzing-headers/include -DFUZZING_HEADERS_NO_IMPL driver.o executor.o util.o entry.o tests.o operation.o datasource.o repository.o options.o components.o wycheproof.o crypto.o mutator.o numbers.o mutatorpool.o ecc_diff_fuzzer_importer.o ecc_diff_fuzzer_exporter.o botan_importer.o modules/bitcoin/module.a modules/secp256k1/module.a modules/trezor/module.a modules/botan/module.a -fsanitize=fuzzer third_party/cpu_features/build/libcpu_features.a  -o cryptofuzz
/usr/bin/ld: error: LLVM gold plugin: <unknown>:0: Undefined temporary symbol .Ltmp124085

clang-14: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:49: cryptofuzz] Error 1
ERROR:root:Building fuzzers failed.

@DavidKorczynski
Copy link
Contributor

Oh, apologies. I forgot to press CTRL+C to continue the compilation.

This is also an inconvenient aspect of the oss-fuzz integration. I added to the patch such that the webserver won't be launched 1520b5d so no more CTRL-C

@maflcko
Copy link
Contributor Author

maflcko commented Aug 31, 2022

I think this was fixed. Will open a new issue if it happens again.

@maflcko maflcko closed this as completed Aug 31, 2022
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

2 participants