On 07/09/2017 16:29, Jeff Squyres (jsquyres) wrote:
On Sep 7, 2017, at 9:09 AM, Marco Atzeri <marco.atz...@gmail.com> wrote:


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).



It seems the configure portion of patcher is not correctly
managing the failures.
All tests in the last portion of patcher/configure.m4 failed,
but the component is selected.

extracted from config.log
-----------------------------------------------------
configure:122286: result: malloc_solaris, patcher
configure:5683: --- MCA component memory:patcher (m4 configuration macro, priori
ty 41)
configure:122374: checking for MCA component memory:patcher compile mode
configure:122377: result: static
configure:122388: checking for __curbrk
configure:122388: gcc -o conftest.exe -DNDEBUG -ggdb -O2 -pipe -Wimplicit-functi
[cut]
truncated to fit: R_X86_64_PC32 against undefined symbol `__curbrk'
collect2: error: ld returned 1 exit status
configure:122388: $? = 1
configure: failed program was:
configure:122388: result: no
configure:122401: checking linux/mman.h usability
[cut]
conftest.c:690:24: fatal error: linux/mman.h: No such file or directory
 #include <linux/mman.h>
                        ^
compilation terminated.
configure:122401: $? = 1
configure: failed program was:
configure:122401: result: no
configure:122401: checking linux/mman.h presence
[cut]
conftest.c:657:24: fatal error: linux/mman.h: No such file or directory
 #include <linux/mman.h>
                        ^
compilation terminated.
configure:122401: $? = 1
configure: failed program was:
configure:122401: result: no
configure:122401: checking for linux/mman.h
configure:122401: result: no
[cut]
configure:122452: checking for __syscall
configure:122452: gcc -o conftest.exe -DNDEBUG -ggdb -O2 -pipe [cut[]
relocation truncated to fit: R_X86_64_PC32 against undefined symbol `__syscall'
collect2: error: ld returned 1 exit status
configure:122452: $? = 1
configure: failed program was:
configure:122452: result: no
configure:122496: checking if MCA component memory:patcher can compile
configure:122498: result: yes
------------------------------------------------

malloc_solaris/configure.m4 is working properly.

configure:5683: --- MCA component memory:malloc_solaris (m4 configuration macro, priority 0) configure:123083: checking for MCA component memory:malloc_solaris compile mode
configure:123086: result: static
configure:123133: checking for Solaris
configure:123306: result: no
configure:123839: checking if MCA component memory:malloc_solaris can compile
configure:123841: result: no

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

Reply via email to