!8 adapted gcc
From: @cherry530 Reviewed-by: @wu-leilei, @wang--ge Signed-off-by: @wang--ge
This commit is contained in:
commit
c0f9e7c7f5
15
adapte-gcc.patch
Normal file
15
adapte-gcc.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/plugin/annobin.cc b/plugin/annobin.cc
|
||||
index ac34d5f..67a2837 100644
|
||||
--- a/plugin/annobin.cc
|
||||
+++ b/plugin/annobin.cc
|
||||
@@ -638,7 +638,9 @@ compute_GOWall_options (void)
|
||||
}
|
||||
else
|
||||
val = write_symbols;
|
||||
-
|
||||
+ /*Because commit https://gitee.com/src-openeuler/gcc/pulls/425 removes use_gnu_debug_info_extensions, we modify it by setting use_gnu_debug_info_extensions locally to false*/
|
||||
+ bool use_gnu_debug_info_extensions;
|
||||
+ use_gnu_debug_info_extensions = false;
|
||||
if (use_gnu_debug_info_extensions)
|
||||
val |= (1 << 3);
|
||||
|
||||
@ -13,11 +13,14 @@
|
||||
|
||||
Name: annobin
|
||||
Version: 8.92
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Binary annotation plugin for GCC
|
||||
License: GPLv3+
|
||||
URL: https://fedoraproject.org/wiki/Toolchain/Watermark
|
||||
Source: https://nickc.fedorapeople.org/annobin-%{version}.tar.xz
|
||||
|
||||
Patch0: adapte-gcc.patch
|
||||
|
||||
# For the latest sources use: git clone git://sourceware.org/git/annobin.git
|
||||
BuildRequires: gcc gcc-plugin-devel gcc-c++
|
||||
|
||||
@ -114,6 +117,9 @@ make check
|
||||
%doc %{_mandir}/man1/run-on-binaries-in.1.gz
|
||||
|
||||
%changelog
|
||||
* Mon May 20 2024 xu_ping <707078654@qq.com> - 8.92-2
|
||||
- Adapted gcc for openeuler
|
||||
|
||||
* Wed Oct 18 2023 yaoxin <yao_xin001@hoperun.com> - 8.92-1
|
||||
- Upgrade to 8.92
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user