Hello community,

here is the log from the commit of package llvm3_8 for openSUSE:Factory checked 
in at 2017-08-24 17:39:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/llvm3_8 (Old)
 and      /work/SRC/openSUSE:Factory/.llvm3_8.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "llvm3_8"

Thu Aug 24 17:39:36 2017 rev:11 rq:515147 version:3.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/llvm3_8/llvm3_8.changes  2017-07-11 
08:35:19.219251977 +0200
+++ /work/SRC/openSUSE:Factory/.llvm3_8.new/llvm3_8.changes     2017-08-24 
17:39:37.864308690 +0200
@@ -1,0 +2,6 @@
+Tue Aug  8 08:02:38 UTC 2017 - sch...@suse.de
+
+- xlocale.patch: don't use obsolete <xlocale.h>
+- libsanitizer.patch: fix use of undocumented types
+
+-------------------------------------------------------------------

New:
----
  libsanitizer.patch
  xlocale.patch

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

Other differences:
------------------
++++++ llvm3_8.spec ++++++
--- /var/tmp/diff_new_pack.bzuevr/_old  2017-08-24 17:39:39.832031660 +0200
+++ /var/tmp/diff_new_pack.bzuevr/_new  2017-08-24 17:39:39.836031097 +0200
@@ -69,6 +69,8 @@
 Patch20:        glibc-2.23-libcxx.patch
 Patch21:        glibc-2.24-libcxx.patch
 Patch22:        llvm-gcc7.patch
+Patch23:        xlocale.patch
+Patch24:        libsanitizer.patch
 BuildRequires:  binutils-devel >= 2.21.90
 BuildRequires:  bison
 BuildRequires:  cmake
@@ -151,8 +153,8 @@
 
 %package -n clang%{_sonum}
 Summary:        CLANG frontend for LLVM
-# Avoid multiple provider errors
 Group:          Development/Languages/Other
+# Avoid multiple provider errors
 Requires:       libLTO%{_sonum}
 Requires:       libclang%{_sonum}
 Recommends:     llvm-gold-devel
@@ -170,8 +172,8 @@
 
 %package -n clang%{_sonum}-checker
 Summary:        Static code analyzer for CLANG
-# Avoid multiple provider errors
 Group:          Development/Languages/Other
+# Avoid multiple provider errors
 Requires:       libclang%{_sonum}
 Conflicts:      scan-build
 Conflicts:      scan-view
@@ -184,8 +186,8 @@
 
 %package -n libclang%{_sonum}
 Summary:        Library files needed for clang
-# Avoid multiple provider errors
 Group:          Development/Libraries/C and C++
+# Avoid multiple provider errors
 Requires:       libLLVM%{_sonum}
 Requires:       libstdc++-devel
 
@@ -205,8 +207,8 @@
 
 %package -n libLTO%{_sonum}
 Summary:        Link-time optimizer for LLVM
-# Avoid multiple provider errors
 Group:          Development/Languages/Other
+# Avoid multiple provider errors
 Requires:       libLLVM%{_sonum}
 
 %description -n libLTO%{_sonum}
@@ -214,8 +216,8 @@
 
 %package LTO-devel
 Summary:        Link-time optimizer for LLVM (devel package)
-# Avoid multiple provider errors
 Group:          Development/Languages/Other
+# Avoid multiple provider errors
 Requires:       %{name}-devel = %{version}
 Requires:       libLTO%{_sonum}
 Conflicts:      libLTO.so
@@ -227,8 +229,8 @@
 
 %package gold
 Summary:        Gold linker plugin for LLVM
-# Avoid multiple provider errors
 Group:          Development/Languages/Other
+# Avoid multiple provider errors
 Requires:       %{name}-devel = %{version}
 Requires:       libLLVM%{_sonum}
 Conflicts:      LLVMgold.so()(64bit)
@@ -239,8 +241,8 @@
 
 %package -n libomp%{_sonum}-devel
 Summary:        OpenMP support for clang
-# Avoid multiple provider errors
 Group:          Development/Languages/Other
+# Avoid multiple provider errors
 Requires:       libLLVM%{_sonum}
 Provides:       libomp-devel
 Conflicts:      libomp-devel
@@ -280,8 +282,8 @@
 
 %package -n libc++abi-devel
 Summary:        C++ standard library ABI (devel package)
-# Avoid multiple provider errors
 Group:          Development/Languages/C and C++
+# Avoid multiple provider errors
 Requires:       libc++-devel
 Conflicts:      libc++abi.so
 Provides:       libc++abi.so
@@ -340,6 +342,8 @@
 %patch21
 %endif
 %patch22 -p1
+%patch23
+%patch24
 
 # Move into right place
 mv cfe-%{version}.src tools/clang

++++++ libsanitizer.patch ++++++
Index: compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_linux.cc
===================================================================
--- compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_linux.cc.orig
+++ compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_linux.cc
@@ -565,8 +565,8 @@ uptr internal_prctl(int option, uptr arg
 }
 #endif
 
-uptr internal_sigaltstack(const struct sigaltstack *ss,
-                         struct sigaltstack *oss) {
+uptr internal_sigaltstack(const void *ss,
+                         void *oss) {
   return internal_syscall(SYSCALL(sigaltstack), (uptr)ss, (uptr)oss);
 }
 
Index: compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_linux.h
===================================================================
--- compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_linux.h.orig
+++ compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_linux.h
@@ -21,7 +21,6 @@
 #include "sanitizer_platform_limits_posix.h"
 
 struct link_map;  // Opaque type returned by dlopen().
-struct sigaltstack;
 
 namespace __sanitizer {
 // Dirent structure for getdents(). Note that this structure is different from
@@ -30,8 +29,8 @@ struct linux_dirent;
 
 // Syscall wrappers.
 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count);
-uptr internal_sigaltstack(const struct sigaltstack* ss,
-                          struct sigaltstack* oss);
+uptr internal_sigaltstack(const void* ss,
+                          void* oss);
 uptr internal_sigprocmask(int how, __sanitizer_sigset_t *set,
     __sanitizer_sigset_t *oldset);
 void internal_sigfillset(__sanitizer_sigset_t *set);
Index: 
compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
===================================================================
--- 
compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc.orig
+++ 
compiler-rt-3.8.1.src/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
@@ -272,7 +272,7 @@ static int TracerThread(void* argument)
 
   // Alternate stack for signal handling.
   InternalScopedBuffer<char> handler_stack_memory(kHandlerStackSize);
-  struct sigaltstack handler_stack;
+  stack_t handler_stack;
   internal_memset(&handler_stack, 0, sizeof(handler_stack));
   handler_stack.ss_sp = handler_stack_memory.data();
   handler_stack.ss_size = kHandlerStackSize;
Index: compiler-rt-3.8.1.src/lib/tsan/rtl/tsan_platform_linux.cc
===================================================================
--- compiler-rt-3.8.1.src/lib/tsan/rtl/tsan_platform_linux.cc.orig
+++ compiler-rt-3.8.1.src/lib/tsan/rtl/tsan_platform_linux.cc
@@ -45,7 +45,6 @@
 #include <sched.h>
 #include <dlfcn.h>
 #if SANITIZER_LINUX
-#define __need_res_state
 #include <resolv.h>
 #endif
 
@@ -311,7 +310,7 @@ bool IsGlobalVar(uptr addr) {
 int ExtractResolvFDs(void *state, int *fds, int nfd) {
 #if SANITIZER_LINUX && !SANITIZER_ANDROID
   int cnt = 0;
-  __res_state *statp = (__res_state*)state;
+  res_state statp = (res_state)state;
   for (int i = 0; i < MAXNS && cnt < nfd; i++) {
     if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1)
       fds[cnt++] = statp->_u._ext.nssocks[i];
++++++ xlocale.patch ++++++
Index: libcxx-3.8.1.src/include/__locale
===================================================================
--- libcxx-3.8.1.src/include/__locale.orig
+++ libcxx-3.8.1.src/include/__locale
@@ -34,7 +34,7 @@
 # include <support/solaris/xlocale.h>
 #elif defined(_NEWLIB_VERSION)
 # include <support/newlib/xlocale.h>
-#elif (defined(__GLIBC__) || defined(__APPLE__)      || defined(__FreeBSD__) \
+#elif (defined(__APPLE__)      || defined(__FreeBSD__) \
     || defined(__EMSCRIPTEN__) || defined(__IBMCPP__))
 # include <xlocale.h>
 #elif defined(_LIBCPP_HAS_MUSL_LIBC)

Reply via email to