mpiP/mpip.unwinder.patch
Egbert Eich 598ebb31b2 Accepting request 851546 from home:eeich:branches:science:HPC
- Update to mpiP version 3.5
   * Update deprecated functions.
   * Fix ARM typo and add LSE configure test.
   * Correct pt2pt histogram reporting check.
   * Address compiler warnings for some mt function return types.
   * Correct build behavior for testing multi-threaded support
     with Spectrum MPI.
   * Missing function argument entry.
   * Additional I/O routines
   * currBasetype fix
   * Update to test suite to include multi-threaded tests
   * Followup for renaming wrappers.c to mpiP-wrappers.c
   * Include mpiP in wrappers file name for call site reporting
   * Clarify stack tracing behavior
   * Correct autoheader error with HAVE_BFD_GET_SECTION_MACROS.
     Make define behavior consistent.
   * Convenience functionality to avoid SMPI libmpiP
   * Arch files corrections for gcc and opal code.
   * update to work with binutils-2.34
   * Fixed report header printing bug with large argument counts.
   * fix make-wrappers.py indentation and make python 2 and 3 compatible
   * Re-organized sizeof test to avoid CC defaulting to gcc.
     Re-organized default compilers.
   * Add Multi-Threading (MT) test suite
   * Fix FORTRAN Bindings: properly handle strings
   * Fix the code accounting the application time
   * Fix TLS cleanup code
   * Fix MT timings
   * Refine statistics reset procedure
   * Reduce the number of TLS accesses

OBS-URL: https://build.opensuse.org/request/show/851546
OBS-URL: https://build.opensuse.org/package/show/science:HPC/mpiP?expand=0&rev=33
2020-11-28 16:53:30 +00:00

30 lines
1003 B
Diff

diff -ruN mpiP-3.4.1.old/Defs.mak.in mpiP-3.4.1/Defs.mak.in
--- mpiP-3.4.1.old/Defs.mak.in 2014-03-13 19:46:07.000000000 +0000
+++ mpiP-3.4.1/Defs.mak.in 2017-01-10 07:51:53.771837043 +0000
@@ -63,6 +63,9 @@
endif
ifeq ($(OS),Linux)
+ ifeq ($(ARCH), aarch64)
+ CPPFLAGS += -DAARCH64
+ endif
ifeq ($(ARCH),i686)
CPPFLAGS += -DIA32
endif
diff -ruN mpiP-3.4.1.old/mpiPi.h.in mpiP-3.4.1/mpiPi.h.in
--- mpiP-3.4.1.old/mpiPi.h 2014-03-13 19:46:07.000000000 +0000
+++ mpiP-3.4.1/mpiPi.h 2017-01-10 07:52:48.783447707 +0000
@@ -276,6 +276,12 @@
#define FramePC(fp) ((void *) *(long *) (((long) fp) + (2 * sizeof (void *))))
#define NextFP(fp) ((void *) *(long *) fp)
+/* AArch64 Linux */
+#elif defined(Linux) && defined(AARCH64)
+#define ParentFP(jb) ((void*) jb[0].__jmpbuf[10])
+#define FramePC(fp) ((void*)(((void**)fp)[1]))
+#define NextFP(fp) ((void*)((void**)fp)[0])
+
/* IA32 Linux */
#elif defined(Linux) && defined(IA32)
#define ParentFP(jb) ((void*) jb[0].__jmpbuf[3])