Hello community,

here is the log from the commit of package legion for openSUSE:Factory checked 
in at 2018-06-19 12:00:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/legion (Old)
 and      /work/SRC/openSUSE:Factory/.legion.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "legion"

Tue Jun 19 12:00:56 2018 rev:11 rq:616656 version:18.02.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/legion/legion.changes    2018-02-07 
18:42:44.804436866 +0100
+++ /work/SRC/openSUSE:Factory/.legion.new/legion.changes       2018-06-19 
12:01:08.579646981 +0200
@@ -1,0 +2,6 @@
+Wed Jun 13 15:39:50 UTC 2018 - [email protected]
+
+- Workaround GCC8 bug in TW with patch:
+  * gcc-8.patch
+
+-------------------------------------------------------------------

New:
----
  gcc-8.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ legion.spec ++++++
--- /var/tmp/diff_new_pack.fym0lX/_old  2018-06-19 12:01:09.847599903 +0200
+++ /var/tmp/diff_new_pack.fym0lX/_new  2018-06-19 12:01:09.847599903 +0200
@@ -33,6 +33,7 @@
 Url:            http://legion.stanford.edu/
 Source0:        %{name}-%{version}%{git_ver}.tar.gz
 Patch0:         legion-fix-potential-return-of-random-data.patch
+Patch1:         gcc-8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  %{mpi_implem}
@@ -94,6 +95,10 @@
 %prep
 %setup -q -n  %{name}-%{version}%{git_ver}
 %patch0
+%if 0%{suse_version} > 1500
+# Workaround GCC8 bug in TW
+%patch1 -p1
+%endif
 
 %build
 . %{_libdir}/mpi/gcc/%{mpi_implem}/bin/mpivars.sh

++++++ gcc-8.patch ++++++
>From ca6bd6b00d89f3e0a865f048addf8d68adf07dbb Mon Sep 17 00:00:00 2001
From: Christoph Junghans <[email protected]>
Date: Sun, 4 Feb 2018 13:05:18 -0700
Subject: [PATCH] workaround for gcc-8 compiler bug

Ref: StanfordLegion/legion#350
https://github.com/StanfordLegion/legion/issues/350#issuecomment-363245859
---
 runtime/realm/id.inl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/runtime/realm/id.inl b/runtime/realm/id.inl
index 8fdd114b2..a0675d9c2 100644
--- a/runtime/realm/id.inl
+++ b/runtime/realm/id.inl
@@ -96,7 +96,7 @@ namespace Realm {
     ID id;
     id.rsrv.type_tag = FMT_Reservation::TAG_VALUE;
     id.rsrv.creator_node = creator_node;
-    id.rsrv.unused = 0;
+    //id.rsrv.unused = 0;
     id.rsrv.rsrv_idx = rsrv_idx;
     return id;
   }
@@ -111,7 +111,7 @@ namespace Realm {
     ID id;
     id.memory.type_tag = FMT_Memory::TAG_VALUE;
     id.memory.owner_node = owner_node;
-    id.memory.unused = 0;
+    //id.memory.unused = 0;
     id.memory.mem_idx = mem_idx;
     return id;
   }
@@ -126,7 +126,7 @@ namespace Realm {
     ID id;
     id.memory.type_tag = FMT_IB_Memory::TAG_VALUE;
     id.memory.owner_node = owner_node;
-    id.memory.unused = 0;
+    //id.memory.unused = 0;
     id.memory.mem_idx = mem_idx;
     return id;
   }
@@ -157,7 +157,7 @@ namespace Realm {
     ID id;
     id.proc.type_tag = FMT_Processor::TAG_VALUE;
     id.proc.owner_node = owner_node;
-    id.proc.unused = 0;
+    //id.proc.unused = 0;
     id.proc.proc_idx = proc_idx;
     return id;
   }
-- 
2.14.3


Reply via email to