!533 [Sync] Sync patch from openeuler/gcc
From: @zhenyu--zhao_admin Reviewed-by: @li-yancheng Signed-off-by: @li-yancheng
This commit is contained in:
commit
661e8db609
26
0209-Bugfix-remove-extra-files-in-temp-dir.patch
Normal file
26
0209-Bugfix-remove-extra-files-in-temp-dir.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 99d6278b89cb5cb1d8ee4f4c6e3e794ba42795e6 Mon Sep 17 00:00:00 2001
|
||||
From: zhenyu--zhao_admin <zhaozhenyu17@huawei.com>
|
||||
Date: Wed, 11 Dec 2024 16:09:28 +0800
|
||||
Subject: [PATCH] [Bugfix]: remove extra files in temp dir.
|
||||
|
||||
---
|
||||
gcc/collect2.c | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/gcc/collect2.c b/gcc/collect2.c
|
||||
index cd29a9e97..0d859eb36 100644
|
||||
--- a/gcc/collect2.c
|
||||
+++ b/gcc/collect2.c
|
||||
@@ -393,6 +393,9 @@ tool_cleanup (bool from_signal)
|
||||
if (o_file != 0 && o_file[0])
|
||||
maybe_unlink (o_file);
|
||||
|
||||
+ if (ai_optimize_file != 0 && ai_optimize_file[0])
|
||||
+ maybe_unlink (ai_optimize_file);
|
||||
+
|
||||
#ifdef COLLECT_EXPORT_LIST
|
||||
if (export_file != 0 && export_file[0])
|
||||
maybe_unlink (export_file);
|
||||
--
|
||||
2.33.0
|
||||
|
||||
10
gcc.spec
10
gcc.spec
@ -61,7 +61,7 @@
|
||||
Summary: Various compilers (C, C++, Objective-C, ...)
|
||||
Name: gcc
|
||||
Version: %{gcc_version}
|
||||
Release: 66
|
||||
Release: 67
|
||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
|
||||
URL: https://gcc.gnu.org
|
||||
|
||||
@ -316,6 +316,7 @@ Patch205: 0205-bolt-plugin-supports-optimization-for-dyn-and-pie.patch
|
||||
Patch206: 0206-Strcut-Reorg-fix-spec2017-505-build-issue-with-fipa-.patch
|
||||
Patch207: 0207-Use-AI-ability-to-enable-Link-Time-Optimization.patch
|
||||
patch208: 0208-Bugfix-fix-some-typo-errors.patch
|
||||
patch209: 0209-Bugfix-remove-extra-files-in-temp-dir.patch
|
||||
|
||||
%global gcc_target_platform %{_arch}-linux-gnu
|
||||
|
||||
@ -977,6 +978,7 @@ not stable, so plugins must be rebuilt any time GCC is updated.
|
||||
%patch206 -p1
|
||||
%patch207 -p1
|
||||
%patch208 -p1
|
||||
%patch209 -p1
|
||||
|
||||
%build
|
||||
|
||||
@ -3011,6 +3013,12 @@ end
|
||||
%doc rpm.doc/changelogs/libcc1/ChangeLog*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 16 2024 zhenyu zhao <zhaozhenyu17@huawei.com> - 10.3.1-67
|
||||
- Type:Bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC: Sync patch from openeuler/gcc
|
||||
|
||||
* Thu Oct 10 2024 zhenyu zhao <zhaozhenyu17@huawei.com> - 10.3.1-66
|
||||
- Type:Bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user