You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I note that when compiling on MacOS 10.13/High Sierra, I get the following compilation warnings from patcher.
This is clearly not a problem yet (as of Sep 2018), but it will eventually bite us if MacOS actually removes syscall(). Someone else noted this same issue about 2 years ago (in MacOS 10.12/Sierra): hbowden/nextgen#11
CC memory_patcher_component.lo
memory_patcher_component.c:166:18: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
result = memory_patcher_syscall(SYS_munmap, start, length);
^
memory_patcher_component.c:98:32: note: expanded from macro 'memory_patcher_syscall'
#define memory_patcher_syscall syscall
^
/usr/include/unistd.h:745:6: note: 'syscall' has been explicitly marked deprecated here
int syscall(int, ...);
^
memory_patcher_component.c:268:18: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
result = memory_patcher_syscall(SYS_madvise, start, length, advice);
^
memory_patcher_component.c:98:32: note: expanded from macro 'memory_patcher_syscall'
#define memory_patcher_syscall syscall
^
/usr/include/unistd.h:745:6: note: 'syscall' has been explicitly marked deprecated here
int syscall(int, ...);
^
2 warnings generated.
The text was updated successfully, but these errors were encountered:
Open MPI doesn't support any transports on MacOS which require
memory manager hooks. The memory patcher component uses the
syscall interface, which has been deprecated in recent versions
of MacOS. Since we don't need it and it emits warnings about
deprecation, disable the memory patcher component on MacOS.
Fixesopen-mpi#5671
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
Open MPI doesn't support any transports on MacOS which require
memory manager hooks. The memory patcher component uses the
syscall interface, which has been deprecated in recent versions
of MacOS. Since we don't need it and it emits warnings about
deprecation, disable the memory patcher component on MacOS.
Fixesopen-mpi#5671
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
(cherry picked from commit 19e16d5)
jsquyres
pushed a commit
to jsquyres/ompi
that referenced
this issue
Nov 26, 2020
Open MPI doesn't support any transports on MacOS which require
memory manager hooks. The memory patcher component uses the
syscall interface, which has been deprecated in recent versions
of MacOS. Since we don't need it and it emits warnings about
deprecation, disable the memory patcher component on MacOS.
Fixesopen-mpi#5671
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
(cherry picked from commit 19e16d5)
(cherry picked from commit 8324b4e)
I note that when compiling on MacOS 10.13/High Sierra, I get the following compilation warnings from patcher.
This is clearly not a problem yet (as of Sep 2018), but it will eventually bite us if MacOS actually removes
syscall()
. Someone else noted this same issue about 2 years ago (in MacOS 10.12/Sierra): hbowden/nextgen#11The text was updated successfully, but these errors were encountered: