Hello community,

here is the log from the commit of package llvm4 for openSUSE:Factory checked 
in at 2018-05-11 09:16:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm4 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm4"

Fri May 11 09:16:51 2018 rev:17 rq:606101 version:4.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm4/llvm4.changes      2018-05-03 
12:33:17.698329739 +0200
+++ /work/SRC/openSUSE:Factory/.llvm4.new/llvm4.changes 2018-05-11 
09:17:04.117138018 +0200
@@ -1,0 +2,8 @@
+Wed May  9 10:32:04 UTC 2018 - [email protected]
+
+- Do not build stage1 with debug info. It was accidentally added
+  with the use of %optflags. This should fix out of memory errors
+  on 32bit architectures and speed up build everywhere else.
+  (bsc#1092697)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ llvm4.spec ++++++
--- /var/tmp/diff_new_pack.IsbKoj/_old  2018-05-11 09:17:06.289059329 +0200
+++ /var/tmp/diff_new_pack.IsbKoj/_new  2018-05-11 09:17:06.293059184 +0200
@@ -592,10 +592,12 @@
 
 %build
 
-# Remove the -D_FORTIFY_SOURCE=2 from optflags because llvm does not build
-# correctly with hardening. The problem is in sanitizers from compiler-rt.
-flags="%{optflags}"
-flags=${flags//-D_FORTIFY_SOURCE=?/-D_FORTIFY_SOURCE=0}
+# Use optflags, but:
+# 1) Remove the -D_FORTIFY_SOURCE=2 because llvm does not build correctly with
+#    hardening. The problem is in sanitizers from compiler-rt.
+# 2) Remove the -g. We don't want it in stage1 and it will be added by cmake in
+#    the following stage.
+flags=$(echo %{optflags} | sed 
's/-D_FORTIFY_SOURCE=./-D_FORTIFY_SOURCE=0/;s/\B-g\b//g')
 
 flags+=" -fno-strict-aliasing"
 


Reply via email to