[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779423: unblock: llvm-toolchain-3.5/1:3.5-10



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Hello,


Please unblock package llvm-toolchain-3.5

The lldb arch detection is broken. This breaks the usage of lldb.
Cf bug #779332

unblock llvm-toolchain-3.5/1:3.5-10

Thanks,
Sylvestre

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'stable-updates'), (500, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru llvm-toolchain-3.5-3.5/debian/changelog llvm-toolchain-3.5-3.5/debian/changelog
--- llvm-toolchain-3.5-3.5/debian/changelog	2014-12-14 22:55:29.000000000 +0100
+++ llvm-toolchain-3.5-3.5/debian/changelog	2015-02-27 15:29:28.000000000 +0100
@@ -1,3 +1,10 @@
+llvm-toolchain-3.5 (1:3.5-10) unstable; urgency=medium
+
+  * lldb-arch.diff: Fix a critical bug on lldb arch detection
+    (Closes: #779332)
+
+ -- Sylvestre Ledru <sylvestre@debian.org>  Fri, 27 Feb 2015 11:26:38 +0100
+
 llvm-toolchain-3.5 (1:3.5-9) unstable; urgency=medium
 
   * Fix scan-build (patch removed during a conflict) (Closes: #773050)
diff -Nru llvm-toolchain-3.5-3.5/debian/patches/lldb-arch.diff llvm-toolchain-3.5-3.5/debian/patches/lldb-arch.diff
--- llvm-toolchain-3.5-3.5/debian/patches/lldb-arch.diff	1970-01-01 01:00:00.000000000 +0100
+++ llvm-toolchain-3.5-3.5/debian/patches/lldb-arch.diff	2015-02-27 15:29:28.000000000 +0100
@@ -0,0 +1,13 @@
+Index: llvm-toolchain-3.5-3.5/lldb/source/Core/Module.cpp
+===================================================================
+--- llvm-toolchain-3.5-3.5.orig/lldb/source/Core/Module.cpp
++++ llvm-toolchain-3.5-3.5/lldb/source/Core/Module.cpp
+@@ -1590,7 +1590,7 @@ Module::SetArchitecture (const ArchSpec
+         m_arch = new_arch;
+         return true;
+     }    
+-    return m_arch.IsExactMatch(new_arch);
++    return m_arch.IsCompatibleMatch(new_arch);
+ }
+ 
+ bool 
diff -Nru llvm-toolchain-3.5-3.5/debian/patches/series llvm-toolchain-3.5-3.5/debian/patches/series
--- llvm-toolchain-3.5-3.5/debian/patches/series	2014-12-14 22:55:29.000000000 +0100
+++ llvm-toolchain-3.5-3.5/debian/patches/series	2015-02-27 15:29:28.000000000 +0100
@@ -51,3 +51,4 @@
 ignore-ifcvt3.ll.diff
 scan-build-clang-path.diff
 
+lldb-arch.diff

Reply to: