1 |
commit: 8c55e39248c6290c15762fc0ae6e8aae93ff0df1 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 19:02:33 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 19:02:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=8c55e392 |
7 |
|
8 |
4.9.4: backport 'objdump' lookup for plugins |
9 |
|
10 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
11 |
|
12 |
4.9.4/gentoo/105_all_plugin-objdump.patch | 34 +++++++++++++++++++++++++++++++ |
13 |
4.9.4/gentoo/README.history | 3 +++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/4.9.4/gentoo/105_all_plugin-objdump.patch b/4.9.4/gentoo/105_all_plugin-objdump.patch |
17 |
new file mode 100644 |
18 |
index 0000000..a9c33fd |
19 |
--- /dev/null |
20 |
+++ b/4.9.4/gentoo/105_all_plugin-objdump.patch |
21 |
@@ -0,0 +1,34 @@ |
22 |
+https://gcc.gnu.org/PR95648 |
23 |
+--- a/config/gcc-plugin.m4 |
24 |
++++ b/config/gcc-plugin.m4 |
25 |
+@@ -45,7 +45,7 @@ AC_DEFUN([GCC_ENABLE_PLUGINS], |
26 |
+ ;; |
27 |
+ *) |
28 |
+ if test x$build = x$host; then |
29 |
+- export_sym_check="objdump${exeext} -T" |
30 |
++ export_sym_check="$ac_cv_prog_OBJDUMP -T" |
31 |
+ elif test x$host = x$target; then |
32 |
+ export_sym_check="$gcc_cv_objdump -T" |
33 |
+ else |
34 |
+--- a/gcc/configure |
35 |
++++ b/gcc/configure |
36 |
+@@ -30386,7 +30386,7 @@ fi |
37 |
+ ;; |
38 |
+ *) |
39 |
+ if test x$build = x$host; then |
40 |
+- export_sym_check="objdump${exeext} -T" |
41 |
++ export_sym_check="$ac_cv_prog_OBJDUMP -T" |
42 |
+ elif test x$host = x$target; then |
43 |
+ export_sym_check="$gcc_cv_objdump -T" |
44 |
+ else |
45 |
+--- a/libcc1/configure |
46 |
++++ b/libcc1/configure |
47 |
+@@ -14819,7 +14819,7 @@ fi |
48 |
+ ;; |
49 |
+ *) |
50 |
+ if test x$build = x$host; then |
51 |
+- export_sym_check="objdump${exeext} -T" |
52 |
++ export_sym_check="$ac_cv_prog_OBJDUMP -T" |
53 |
+ elif test x$host = x$target; then |
54 |
+ export_sym_check="$gcc_cv_objdump -T" |
55 |
+ else |
56 |
|
57 |
diff --git a/4.9.4/gentoo/README.history b/4.9.4/gentoo/README.history |
58 |
index db046cd..fe06197 100644 |
59 |
--- a/4.9.4/gentoo/README.history |
60 |
+++ b/4.9.4/gentoo/README.history |
61 |
@@ -1,3 +1,6 @@ |
62 |
+4 TODO |
63 |
+ + 105_all_plugin-objdump.patch |
64 |
+ |
65 |
3 1 Aug 2020 |
66 |
+ 104_all_gcc-c++17.patch |