]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- release 2, oneline fix for sigsegv in libgomp master auto/th/gcc-13.2.0-2
authorAdam Gołębiowski <adamg@pld-linux.org>
Wed, 3 Jan 2024 15:50:55 +0000 (16:50 +0100)
committerAdam Gołębiowski <adamg@pld-linux.org>
Wed, 3 Jan 2024 15:50:55 +0000 (16:50 +0100)
  (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111413)

gcc-bug-111413.patch [new file with mode: 0644]
gcc.spec

diff --git a/gcc-bug-111413.patch b/gcc-bug-111413.patch
new file mode 100644 (file)
index 0000000..1035051
--- /dev/null
@@ -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_"))
index b675f9ef4cd32b9eaad3680f92076887550ecedf..3878a66c9610b29ccd04b70e5c9996376f8c3edc 100644 (file)
--- 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
 
This page took 0.121493 seconds and 4 git commands to generate.