diff options
4 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.9.inc b/meta/recipes-devtools/gcc/gcc-4.9.inc index 736c95689a..641249037e 100644 --- a/meta/recipes-devtools/gcc/gcc-4.9.inc +++ b/meta/recipes-devtools/gcc/gcc-4.9.inc | |||
@@ -86,6 +86,7 @@ SRC_URI = "\ | |||
86 | file://0068-musl-dynamic-linker.patch \ | 86 | file://0068-musl-dynamic-linker.patch \ |
87 | file://0069-musl-no-fixincludes.patch \ | 87 | file://0069-musl-no-fixincludes.patch \ |
88 | file://0070-libstdc-musl.patch \ | 88 | file://0070-libstdc-musl.patch \ |
89 | file://0071-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch \ | ||
89 | " | 90 | " |
90 | SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327" | 91 | SRC_URI[md5sum] = "6f831b4d251872736e8e9cc09746f327" |
91 | SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e" | 92 | SRC_URI[sha256sum] = "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e" |
diff --git a/meta/recipes-devtools/gcc/gcc-4.9/0071-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch b/meta/recipes-devtools/gcc/gcc-4.9/0071-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch new file mode 100644 index 0000000000..e8f79b590a --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-4.9/0071-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 32593b38082ea65f4c82159254adf1e0dc2423be Mon Sep 17 00:00:00 2001 | ||
2 | From: bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Tue, 16 Feb 2016 03:15:15 -0500 | ||
4 | Subject: [PATCH] Ignore -fdebug-prefix-map in producer string (by Daniel Kahn | ||
5 | Gillmor) | ||
6 | |||
7 | * dwarf2out.c (gen_producer_string): Ignore -fdebug-prefix-map. | ||
8 | |||
9 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231835 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
10 | |||
11 | Upstream-Status: Backport | ||
12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
13 | --- | ||
14 | gcc/dwarf2out.c | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c | ||
18 | index 3614c10..526f114 100644 | ||
19 | --- a/gcc/dwarf2out.c | ||
20 | +++ b/gcc/dwarf2out.c | ||
21 | @@ -19670,6 +19670,7 @@ gen_producer_string (void) | ||
22 | case OPT_fpreprocessed: | ||
23 | case OPT_fltrans_output_list_: | ||
24 | case OPT_fresolution_: | ||
25 | + case OPT_fdebug_prefix_map_: | ||
26 | /* Ignore these. */ | ||
27 | continue; | ||
28 | default: | ||
29 | -- | ||
30 | 1.9.1 | ||
31 | |||
diff --git a/meta/recipes-devtools/gcc/gcc-5.3.inc b/meta/recipes-devtools/gcc/gcc-5.3.inc index 214af10c51..a653e5c4ff 100644 --- a/meta/recipes-devtools/gcc/gcc-5.3.inc +++ b/meta/recipes-devtools/gcc/gcc-5.3.inc | |||
@@ -80,6 +80,7 @@ SRC_URI = "\ | |||
80 | file://0048-ssp_nonshared.patch \ | 80 | file://0048-ssp_nonshared.patch \ |
81 | file://0049-Disable-the-weak-reference-logic-in-gthr.h-for-os-ge.patch \ | 81 | file://0049-Disable-the-weak-reference-logic-in-gthr.h-for-os-ge.patch \ |
82 | file://0050-powerpc-pass-secure-plt-to-the-linker.patch \ | 82 | file://0050-powerpc-pass-secure-plt-to-the-linker.patch \ |
83 | file://0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch \ | ||
83 | " | 84 | " |
84 | 85 | ||
85 | BACKPORTS = "" | 86 | BACKPORTS = "" |
diff --git a/meta/recipes-devtools/gcc/gcc-5.3/0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch b/meta/recipes-devtools/gcc/gcc-5.3/0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch new file mode 100644 index 0000000000..e8f79b590a --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-5.3/0051-Ignore-fdebug-prefix-map-in-producer-string-by-Danie.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 32593b38082ea65f4c82159254adf1e0dc2423be Mon Sep 17 00:00:00 2001 | ||
2 | From: bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Tue, 16 Feb 2016 03:15:15 -0500 | ||
4 | Subject: [PATCH] Ignore -fdebug-prefix-map in producer string (by Daniel Kahn | ||
5 | Gillmor) | ||
6 | |||
7 | * dwarf2out.c (gen_producer_string): Ignore -fdebug-prefix-map. | ||
8 | |||
9 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231835 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
10 | |||
11 | Upstream-Status: Backport | ||
12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
13 | --- | ||
14 | gcc/dwarf2out.c | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c | ||
18 | index 3614c10..526f114 100644 | ||
19 | --- a/gcc/dwarf2out.c | ||
20 | +++ b/gcc/dwarf2out.c | ||
21 | @@ -19670,6 +19670,7 @@ gen_producer_string (void) | ||
22 | case OPT_fpreprocessed: | ||
23 | case OPT_fltrans_output_list_: | ||
24 | case OPT_fresolution_: | ||
25 | + case OPT_fdebug_prefix_map_: | ||
26 | /* Ignore these. */ | ||
27 | continue; | ||
28 | default: | ||
29 | -- | ||
30 | 1.9.1 | ||
31 | |||