commit 5aaa5b76393dca40ed459d0e9552f56d24110342 Author: Adam Gołębiowski <ad...@pld-linux.org> Date: Wed Jan 3 16:50:55 2024 +0100
- release 2, oneline fix for sigsegv in libgomp (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111413) gcc-bug-111413.patch | 10 ++++++++++ gcc.spec | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) --- diff --git a/gcc.spec b/gcc.spec index b675f9e..3878a66 100644 --- a/gcc.spec +++ b/gcc.spec @@ -109,7 +109,7 @@ Summary(pl.UTF-8): Kolekcja kompilatorów GNU: kompilator C i pliki współdziel Summary(pt_BR.UTF-8): Coleção dos compiladores GNU: o compilador C e arquivos compartilhados Name: gcc Version: %{major_ver}.%{minor_ver} -Release: 1 +Release: 2 Epoch: 6 License: GPL v3+ Group: Development/Languages @@ -130,6 +130,7 @@ Patch4: %{name}-ada-x32.patch Patch10: %{name}-moresparcs.patch Patch11: %{name}-install-libffi.patch +Patch12: %{name}-bug-111413.patch URL: http://gcc.gnu.org/ BuildRequires: autoconf >= 2.64 %{?with_tests:BuildRequires: autogen >= 5.5.4} @@ -2773,6 +2774,7 @@ więc wtyczki muszą być przebudowywane przy każdej aktualizacji GCC. %if %{with gcc_libffi} %patch11 -p0 %endif +%patch12 -p1 %{__mv} ChangeLog ChangeLog.general diff --git a/gcc-bug-111413.patch b/gcc-bug-111413.patch new file mode 100644 index 0000000..1035051 --- /dev/null +++ b/gcc-bug-111413.patch @@ -0,0 +1,10 @@ +--- gcc-13.2.0/libgomp/env.c~ 2023-07-27 10:13:08.000000000 +0200 ++++ gcc-13.2.0/libgomp/env.c 2024-01-03 15:32:23.542720713 +0100 +@@ -2059,6 +2059,7 @@ + none = gomp_get_initial_icv_item (GOMP_DEVICE_NUM_FOR_NO_SUFFIX); + initialize_icvs (&none->icvs); + ++ if ( environ ) + for (env = environ; *env != 0; env++) + { + if (!startswith (*env, "OMP_")) ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/5aaa5b76393dca40ed459d0e9552f56d24110342 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit