[mpich-discuss] Error buildingmpich-master-v3.2-88-gbbb40df74d46

Halim Amer aamer at anl.gov
Thu Jan 14 10:33:01 CST 2016


you can check out that version from our git repo:
git clone http://git.mpich.org/mpich.git
cd mpich
git checkout 77592165aa3

--Halim
www.mcs.anl.gov/~aamer

On 1/14/16 9:52 AM, Siegmar Gross wrote:
> Hi,
>
> where can I find "version 77592165aa3"? I have only the following
> archives after the release of mpich-3.2.tar.gz.
>
> loki mpich-3.2.1 113 ls -C1 *.gz
> mpich-master-v3.2-42-g67631a5c0e9e.tar.gz
> mpich-master-v3.2-87-g7150bbc02ec8.tar.gz
> mpich-master-v3.2-88-gbbb40df74d46.tar.gz
>
> I've attached both config.log files from my gcc and cc version.
>
> I've searched for "libunwind tools" for our Linux version. It seems that
> they are available for "Suse Linux Enterprise Server", but I didn't find
> them for "Suse Linux Enterprise Desktop", which we use for most of our
> machines. Shall I ask our Admin to install them?
>
>
> Best regards
>
> Siegmar
>
>
> On 01/14/16 16:25, Rob Latham wrote:
>>
>>
>> On 01/14/2016 07:21 AM, Siegmar Gross wrote:
>>> Hi,
>>>
>>> today I tried to build mpich-master-v3.2-88-gbbb40df74d46 on my machine
>>> (SUSE Linux Enterprise Server 12.0 x86_64) with gcc-5.2.0 and Sun C
>>> 5.13.
>>> I used the following command to build the system for gcc.
>>
>> This looks like the "portable backtrace" functionality I added
>> recently.   Maybe I need to work on the "portable" part
>> of that.
>>
>> MPICH thinks your environment has the libunwind tools, and so it is
>> trying to use libunwind to display the backtrace.
>>
>> Unfortunately there's one more complication: a reorganization of the
>> MPL sources (commit 12c912ec6372).
>>
>> If you can provide me with two pieces of information that would be great:
>>
>> - what if you check out MPICH from a few weeks back?  I want to rule
>> out the source reorg, and if you check out version
>> 77592165aa3, that will have just my changes and none of the reorg
>> changes.
>>
>> - Can you send me your src/mpl/config.log ? (not the config.log from
>> top-level mpich, but the config.log subconfigure
>> from src/mpl)  I would like to see what backtrace libraries configure
>> found in your environment.   Then I can reproduce
>> it on my end.
>>
>> ==rob
>>
>>>
>>> mkdir
>>> mpich-master-v3.2-88-gbbb40df74d46-${SYSTEM_ENV}.${MACHINE_ENV}.64_gcc
>>> cd
>>> mpich-master-v3.2-88-gbbb40df74d46-${SYSTEM_ENV}.${MACHINE_ENV}.64_gcc
>>>
>>> ../mpich-master-v3.2-88-gbbb40df74d46/configure \
>>>    --prefix=/usr/local/mpich-3.2.1_64_gcc \
>>>    --libdir=/usr/local/mpich-3.2.1_64_gcc/lib64 \
>>>    --includedir=/usr/local/mpich-3.2.1_64_gcc/include64 \
>>>    CC="gcc" CXX="g++" F77="gfortran" FC="gfortran" \
>>>    CFLAGS="-m64 -z noexecstack" CXXFLAGS="-m64" FFLAGS="-m64"
>>> FCFLAGS="-m64" \
>>>    LDFLAGS="-m64" \
>>>    --enable-fortran=yes --enable-cxx --enable-romio \
>>>    --enable-debuginfo --enable-smpcoll \
>>>    --enable-threads=multiple --with-thread-package=posix \
>>>    --enable-shared \
>>>    |& tee log.configure.$SYSTEM_ENV.$MACHINE_ENV.64_gcc
>>>
>>> make |& tee log.make.$SYSTEM_ENV.$MACHINE_ENV.64_gcc
>>>
>>>
>>> "make" broke with the following error for "cc".
>>>
>>> loki mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc 111 cat
>>> log.make.Linux.x86_64.64_cc
>>> if test ! -h ./src/include/mpio.h ; then \
>>>      rm -f ./src/include/mpio.h ; \
>>>      ( cd ./src/include &&       \
>>>          ln -s ../mpi/romio/include/mpio.h ) ; \
>>> fi
>>> make  all-recursive
>>> make[1]: Entering directory
>>> '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc'
>>>
>>>
>>> Making all in
>>> /export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/mpl
>>>
>>>
>>> make[2]: Entering directory
>>> '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/mpl'
>>>
>>>
>>>    CC       src/bt/mpl_bt.lo
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 50: undefined symbol: unw_cursor_t
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 50: syntax error before or at: cursor
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 51: undefined symbol: unw_context_t
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 52: undefined symbol: unw_word_t
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 57: warning: implicit function declaration: unw_getcontext
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 57: undefined symbol: uc
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 58: warning: implicit function declaration: unw_init_local
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 58: undefined symbol: cursor
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 59: warning: implicit function declaration: unw_step
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 60: warning: implicit function declaration: unw_get_reg
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 60: undefined symbol: UNW_REG_IP
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 60: undefined symbol: ip
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 61: warning: implicit function declaration: unw_get_proc_name
>>> "../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c",
>>> line 62: undefined symbol: offset
>>> cc: acomp failed for
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c
>>> Makefile:923: recipe for target 'src/bt/mpl_bt.lo' failed
>>> make[2]: *** [src/bt/mpl_bt.lo] Error 1
>>> make[2]: Leaving directory
>>> '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/mpl'
>>>
>>>
>>> Makefile:38434: recipe for target 'all-recursive' failed
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory
>>> '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc'
>>>
>>>
>>> Makefile:10304: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> loki mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc 112
>>>
>>>
>>>
>>> "make" broke with the following error for "gcc".
>>>
>>> loki mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc 114 cat
>>> log.make.Linux.x86_64.64_gcc
>>> if test ! -h ./src/include/mpio.h ; then \
>>>      rm -f ./src/include/mpio.h ; \
>>>      ( cd ./src/include &&       \
>>>          ln -s ../mpi/romio/include/mpio.h ) ; \
>>> fi
>>> make  all-recursive
>>> make[1]: Entering directory
>>> '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc'
>>>
>>>
>>> Making all in
>>> /export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/mpl
>>>
>>>
>>> make[2]: Entering directory
>>> '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/mpl'
>>>
>>>
>>>    CC       src/bt/mpl_bt.lo
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c: In
>>> function ‘backtrace_libunwind’:
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:50:5:
>>> error:
>>> unknown type name ‘unw_cursor_t’
>>>       unw_cursor_t cursor;
>>>       ^
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:51:5:
>>> error:
>>> unknown type name ‘unw_context_t’
>>>       unw_context_t uc;
>>>       ^
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:52:5:
>>> error:
>>> unknown type name ‘unw_word_t’
>>>       unw_word_t ip, offset;
>>>       ^
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:57:5:
>>> warning:
>>> implicit declaration of function ‘unw_getcontext’
>>> [-Wimplicit-function-declaration]
>>>       unw_getcontext(&uc);
>>>       ^
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:58:5:
>>> warning:
>>> implicit declaration of function ‘unw_init_local’
>>> [-Wimplicit-function-declaration]
>>>       unw_init_local(&cursor, &uc);
>>>       ^
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:59:12:
>>>
>>> warning: implicit declaration of function ‘unw_step’
>>> [-Wimplicit-function-declaration]
>>>       while (unw_step(&cursor) > 0) {
>>>              ^
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:60:9:
>>> warning:
>>> implicit declaration of function ‘unw_get_reg’
>>> [-Wimplicit-function-declaration]
>>>           unw_get_reg(&cursor, UNW_REG_IP, &ip);
>>>           ^
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:60:30:
>>>
>>> error: ‘UNW_REG_IP’ undeclared (first use in this function)
>>>           unw_get_reg(&cursor, UNW_REG_IP, &ip);
>>>                                ^
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:60:30:
>>>
>>> note: each undeclared identifier is reported only once for each function
>>> it appears in
>>> ../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:61:9:
>>> warning:
>>> implicit declaration of function ‘unw_get_proc_name’
>>> [-Wimplicit-function-declaration]
>>>           unw_get_proc_name(&cursor, buffer,
>>>           ^
>>> Makefile:920: recipe for target 'src/bt/mpl_bt.lo' failed
>>> make[2]: *** [src/bt/mpl_bt.lo] Error 1
>>> make[2]: Leaving directory
>>> '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/mpl'
>>>
>>>
>>> Makefile:38434: recipe for target 'all-recursive' failed
>>> make[1]: *** [all-recursive] Error 1
>>> make[1]: Leaving directory
>>> '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc'
>>>
>>>
>>> Makefile:10304: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>> loki mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc 114
>>>
>>>
>>>
>>> I would be grateful if somebody can fix the problem. Thank you very
>>> much for any help in advance.
>>>
>>>
>>> Kind regards
>>>
>>> Siegmar
>>> _______________________________________________
>>> discuss mailing list     discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list