Hello community,

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

Package is "llvm5"

Fri May 11 09:16:41 2018 rev:9 rq:606100 version:5.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm5/llvm5.changes      2018-04-17 
11:16:00.966634836 +0200
+++ /work/SRC/openSUSE:Factory/.llvm5.new/llvm5.changes 2018-05-11 
09:16:52.401562471 +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:
------------------
++++++ llvm5.spec ++++++
--- /var/tmp/diff_new_pack.OjHtec/_old  2018-05-11 09:16:54.569483928 +0200
+++ /var/tmp/diff_new_pack.OjHtec/_new  2018-05-11 09:16:54.573483783 +0200
@@ -564,10 +564,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