Hello community,

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

Package is "llvm4"

Tue Jan 16 09:33:34 2018 rev:12 rq:563863 version:4.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm4/llvm4.changes      2017-12-16 
20:53:31.645094676 +0100
+++ /work/SRC/openSUSE:Factory/.llvm4.new/llvm4.changes 2018-01-16 
09:33:35.734330073 +0100
@@ -1,0 +2,16 @@
+Wed Jan 10 14:56:18 UTC 2018 - m...@suse.com
+
+- Place gold plugin to the right directory. (bnc#1073210)
+  * It must be in /usr/lib/bfd-plugins on all architectures.
+  * Remove llvm5-gold from baselibs.conf - nothing needs a 32bit
+    version of it and it would now conflict with the 64bit one.
+- Reduce _constraints requirements on 32bit architectures.
+  * Since we had to disable debuginfo on them, they require much
+    less.
+
+-------------------------------------------------------------------
+Tue Jan  9 06:29:32 UTC 2018 - dmuel...@suse.com
+
+- disable debuginfo for arm as well
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ llvm4.spec ++++++
--- /var/tmp/diff_new_pack.tPhZT7/_old  2018-01-16 09:33:38.370206746 +0100
+++ /var/tmp/diff_new_pack.tPhZT7/_new  2018-01-16 09:33:38.374206559 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package llvm4
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -299,8 +299,8 @@
 Group:          Development/Languages/Other
 Requires:       %{name}-devel = %{version}
 Requires:       libLLVM%{_sonum}
-Conflicts:      LLVMgold.so()(64bit)
-Provides:       LLVMgold.so()(64bit)
+Conflicts:      llvm-gold-provider
+Provides:       llvm-gold-provider
 
 %description gold
 This package contains the Gold linker plugin for LLVM.
@@ -656,7 +656,7 @@
     -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
     -DCMAKE_C_FLAGS="$flags" \
     -DCMAKE_CXX_FLAGS="$flags" \
-%ifarch s390 %{ix86}
+%ifarch %{arm} s390 %{ix86}
     -DCMAKE_C_FLAGS_RELWITHDEBINFO="-O2 -g1 -DNDEBUG" \
     -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-O2 -g1 -DNDEBUG" \
 %endif
@@ -737,8 +737,9 @@
 popd
 %endif
 
-mkdir -p %{buildroot}%{_libdir}/bfd-plugins
-ln -s %{_libdir}/LLVMgold.so %{buildroot}%{_libdir}/bfd-plugins/
+# Note that bfd-plugins is always in /usr/lib/bfd-plugins, no matter what 
_libdir is.
+mkdir -p %{buildroot}/usr/lib/bfd-plugins
+ln -s %{_libdir}/LLVMgold.so %{buildroot}/usr/lib/bfd-plugins/
 
 install -m 755 -d %{buildroot}%{_datadir}/vim/site/
 for i in ftdetect ftplugin indent syntax; do
@@ -1379,8 +1380,9 @@
 %files gold
 %defattr(-,root,root)
 %{_libdir}/LLVMgold.so
-%dir %{_libdir}/bfd-plugins/
-%{_libdir}/bfd-plugins/LLVMgold.so
+# Note that bfd-plugins is always in /usr/lib/bfd-plugins, no matter what 
_libdir is.
+%dir /usr/lib/bfd-plugins/
+/usr/lib/bfd-plugins/LLVMgold.so
 
 %if %{with openmp}
 %files -n libomp%{_sonum}-devel

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.tPhZT7/_old  2018-01-16 09:33:38.410204875 +0100
+++ /var/tmp/diff_new_pack.tPhZT7/_new  2018-01-16 09:33:38.410204875 +0100
@@ -2,18 +2,39 @@
 <constraints>
   <hardware>
     <disk>
-        <size unit="G">45</size>
+      <size unit="G">45</size>
     </disk>
     <memory>
       <size unit="M">6500</size>
     </memory>
   </hardware>
   <overwrite>
+    <!--
+      We have disabled debuginfo on 32 bit architecture because they simply 
can no address enough memory to link llvm libraries with it.
+      Without debuginfo the disk and memory requirements are much lower.
+    -->
+    <conditions>
+      <arch>i586</arch>
+      <arch>s390</arch>
+    </conditions>
+    <hardware>
+      <disk>
+        <size unit="G">10</size>
+      </disk>
+      <memory>
+        <size unit="M">4096</size>
+      </memory>
+    </hardware>
+  </overwrite>
+  <overwrite>
     <conditions>
       <arch>armv6l</arch>
       <arch>armv7l</arch>
     </conditions>
     <hardware>
+      <disk>
+        <size unit="G">10</size>
+      </disk>
       <memory>
         <size unit="M">768</size>
       </memory>

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.tPhZT7/_old  2018-01-16 09:33:38.438203565 +0100
+++ /var/tmp/diff_new_pack.tPhZT7/_new  2018-01-16 09:33:38.438203565 +0100
@@ -12,6 +12,3 @@
 llvm4-LTO-devel
   provides "llvm-LTO-devel-<targettype> = <version>"
   conflicts "otherproviders(llvm-LTO-devel-<targettype>)"
-llvm4-gold
-  provides "llvm-gold-devel-<targettype> = <version>"
-  conflicts "otherproviders(llvm-gold-devel-<targettype>)"


Reply via email to