Skip to content

Commit

Permalink
Add missing file packing/hwloc.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Aug 13, 2020
1 parent 85fe311 commit 56b8d79
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packaging/hwloc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -ru hwloc-2.2.0.orig/include/private/cpuid-x86.h hwloc-2.2.0/include/private/cpuid-x86.h
--- hwloc-2.2.0.orig/include/private/cpuid-x86.h 2020-03-23 08:43:39.000000000 +0000
+++ hwloc-2.2.0/include/private/cpuid-x86.h 2020-06-29 18:30:48.747605911 +0000
@@ -60,6 +60,8 @@
*ecx = regs[2];
*edx = regs[3];
#else /* HWLOC_HAVE_MSVC_CPUIDEX */
+ /* try to assuage msan */
+ *ebx = *edx = 0;
/* Note: gcc might want to use bx or the stack for %1 addressing, so we can't
* use them :/ */
#ifdef HWLOC_X86_64_ARCH

0 comments on commit 56b8d79

Please sign in to comment.