Disable Clang and LLVM plugins on riscv64
[..] make[1]: Leaving directory '/builddir/build/BUILD/annobin-10.91/clang-plugin' In file included from annobin.cpp:15: In file included from /usr/include/clang/Frontend/FrontendPluginRegistry.h:16: In file included from /usr/include/clang/Frontend/FrontendAction.h:21: In file included from /usr/include/clang/Basic/LLVM.h:21: In file included from /usr/include/llvm/Support/Casting.h:17: In file included from /usr/include/llvm/ADT/Optional.h:19: In file included from /usr/include/llvm/ADT/Hashing.h:49: /usr/include/llvm/Support/SwapByteOrder.h:17:10: fatal error: 'cstddef' file not found ^~~~~~~~~ 1 error generated. make[1]: *** [Makefile:33: annobin-for-clang.so] Error 1 [..] Enable again once LLVM/Clang 16 lands. Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
7e385b8e90
commit
ac06ca2a7f
13
annobin.spec
13
annobin.spec
|
@ -2,7 +2,7 @@
|
||||||
Name: annobin
|
Name: annobin
|
||||||
Summary: Annotate and examine compiled binary files
|
Summary: Annotate and examine compiled binary files
|
||||||
Version: 11.08
|
Version: 11.08
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://sourceware.org/annobin/
|
URL: https://sourceware.org/annobin/
|
||||||
# Maintainer: nickc@redhat.com
|
# Maintainer: nickc@redhat.com
|
||||||
|
@ -25,13 +25,21 @@ URL: https://sourceware.org/annobin/
|
||||||
%bcond_with debuginfod
|
%bcond_with debuginfod
|
||||||
|
|
||||||
# Use "--without clangplugin" to disable the building of the annobin plugin for Clang.
|
# Use "--without clangplugin" to disable the building of the annobin plugin for Clang.
|
||||||
|
%ifnarch riscv64
|
||||||
%bcond_without clangplugin
|
%bcond_without clangplugin
|
||||||
|
%else
|
||||||
|
%bcond_with clangplugin
|
||||||
|
%endif
|
||||||
|
|
||||||
# Use "--without gccplugin" to disable the building of the annobin plugin for GCC.
|
# Use "--without gccplugin" to disable the building of the annobin plugin for GCC.
|
||||||
%bcond_without gccplugin
|
%bcond_without gccplugin
|
||||||
|
|
||||||
# Use "--without llvmplugin" to disable the building of the annobin plugin for LLVM.
|
# Use "--without llvmplugin" to disable the building of the annobin plugin for LLVM.
|
||||||
|
%ifnarch riscv64
|
||||||
%bcond_without llvmplugin
|
%bcond_without llvmplugin
|
||||||
|
%else
|
||||||
|
%bcond_with llvmplugin
|
||||||
|
%endif
|
||||||
|
|
||||||
# Set this to zero to disable the requirement for a specific version of gcc.
|
# Set this to zero to disable the requirement for a specific version of gcc.
|
||||||
# This should only be needed if there is some kind of problem with the version
|
# This should only be needed if there is some kind of problem with the version
|
||||||
|
@ -522,6 +530,9 @@ fi
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 01 2023 David Abdurachmanov <davidlt@rivosinc.com> - 11.08-1.0.riscv64
|
||||||
|
- Disable Clang and LLVM plugins on riscv64
|
||||||
|
|
||||||
* Tue Jan 31 2023 Nick Clifton <nickc@redhat.com> - 11.08-1
|
* Tue Jan 31 2023 Nick Clifton <nickc@redhat.com> - 11.08-1
|
||||||
- Annocheck: Fix atexit test. Fix recording of version numbers. (#2165528)
|
- Annocheck: Fix atexit test. Fix recording of version numbers. (#2165528)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue