On Sep 7, 2017, at 9:09 AM, Marco Atzeri <marco.atz...@gmail.com> wrote:
> 
> further issue on cygwin, in addition to an easy libevent issue that I already 
> patched.

Is that a patch we should:

a) submit upstream to libevent
b) patch locally in Open MPI

?

> it seems "opal/mca/memory/patcher" is new compared to 1.10.x and the 
> compilation fail
> 
> 
> /cygdrive/e/cyg_pub/devel/openmpi/v2.1/prova/openmpi-2.1.2-0.3.x86_64/src/openmpi-2.1.2rc3/opal/mca/memory/patcher/memory_patcher_component.c:98:32:
>  warning: implicit declaration of function ‘syscall’ 
> [-Wimplicit-function-declaration]
> #define memory_patcher_syscall syscall
>                                ^
> /cygdrive/e/cyg_pub/devel/openmpi/v2.1/prova/openmpi-2.1.2-0.3.x86_64/src/openmpi-2.1.2rc3/opal/mca/memory/patcher/memory_patcher_component.c:165:18:
>  note: in expansion of macro ‘memory_patcher_syscall’
>         result = memory_patcher_syscall(SYS_munmap, start, length);
>                  ^~~~~~~~~~~~~~~~~~~~~~
> /cygdrive/e/cyg_pub/devel/openmpi/v2.1/prova/openmpi-2.1.2-0.3.x86_64/src/openmpi-2.1.2rc3/opal/mca/memory/patcher/memory_patcher_component.c:165:41:
>  error: ‘SYS_munmap’ undeclared (first use in this function)
>         result = memory_patcher_syscall(SYS_munmap, start, length);
> 
> 
> can someone guide me on the scope of new component in
> which case is supposed to be included ?
> I supposed it should be excluded like the others linux
> and malloc_solaris directory

Yes, "patcher" replaces the old malloc hooks.

I don't think we looked at how patcher would function on Cygwin at all -- it 
probably isn't relevant on Windows, because it's only necessary for OS-bypass 
networks (which I'm pretty sure Open MPI doesn't support on Windows).

-- 
Jeff Squyres
jsquy...@cisco.com

_______________________________________________
devel mailing list
devel@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/devel

Reply via email to