Disable clang plugin on riscv64
[..] /usr/bin/ld: /usr/bin/../lib64/LLVMgold.so: error loading plugin: /usr/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file or directory [..] Note that ld.gold in general are not implemented for riscv. Note sure if this is available in a modern LLVM/Clang version. To be tested later on. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
383ed10bca
commit
787416c6ba
|
@ -24,7 +24,13 @@ URL: https://sourceware.org/annobin/
|
|||
%bcond_with debuginfod
|
||||
|
||||
# Use "--without clangplugin" to disable the building of the annobin plugin for Clang.
|
||||
%ifnarch riscv64
|
||||
%bcond_without clangplugin
|
||||
%else
|
||||
# riscv64: LLVMgold.so: cannot open shared object file: No such file or directory
|
||||
# In general Gold was never implemented for riscv.
|
||||
%bcond_with clangplugin
|
||||
%endif
|
||||
|
||||
# Use "--without gccplugin" to disable the building of the annobin plugin for GCC.
|
||||
%bcond_without gccplugin
|
||||
|
@ -487,6 +493,7 @@ fi
|
|||
%changelog
|
||||
* Wed Aug 03 2022 David Abdurachmanov <davidlt@rivosinc.com> - 10.79-1.0.riscv64
|
||||
- Fix riscv targets
|
||||
- Disable clang plugin on riscv targets
|
||||
|
||||
* Mon Jul 25 2022 Nick Clifton <nickc@redhat.com> - 10.79-1
|
||||
- Annocheck: Fixes for libannocheck.h.
|
||||
|
|
Loading…
Reference in New Issue