[mpich-discuss] Error buildingmpich-master-v3.2-88-gbbb40df74d46
Siegmar Gross
Siegmar.Gross at informatik.hs-fulda.de
Fri Jan 15 06:56:10 CST 2016
Hi Rob,
I had to change "#if" to "#elif", but I still get errors. I've attached the
log files.
loki bt 111 diff mpl_bt.c*
47,51c47
< /* we need not only the symbols but the header file too (for the cursor and
< * context), so tighten up when we take the libunwind path. Thanks
< * Siegmar.Gross at informatik.hs-fulda.de for the bug report about systems with
< * libunwind libraries but no libunwind development headers */
< #elif defined MPL_HAVE_LIBUNWIND && defined(MPL_HAVE_LIBUNWIND_H)
---
> #elif defined MPL_HAVE_LIBUNWIND
loki bt 112
Best regards
Siegmar
On 01/14/16 20:00, Rob Latham wrote:
>
>
> On 01/14/2016 10:39 AM, Rob Latham wrote:
>
>>
>> For example, our configure also found the backtrace_symbols and
>> backtrace_create_state functions. These are often part of GCC, or maybe
>> standalone in the libbacktrace package. On your system (as is common on
>> many systems) there is no backtrace.h
>>
>> I will send you a patch to try out that will only use libunwind if it
>> finds both the header file and the symbols.
>
> Please let me know if the attached patch solves your problem.
>
> ==rob
>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
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 ‘MPL_backtrace_show’:
../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpl/src/bt/mpl_bt.c:128:5: warning: implicit declaration of function ‘backtrace_libunwind’ [-Wimplicit-function-declaration]
backtrace_libunwind(output);
^
CC src/env/mpl_env.lo
CC src/mem/mpl_trmem.lo
CC src/msg/mpl_msg.lo
CC src/sock/mpl_sock.lo
CC src/str/mpl_str.lo
CC src/timer/mpl_timer_clock_gettime.lo
CC src/timer/mpl_timer_gcc_ia64_cycle.lo
CC src/timer/mpl_timer_gethrtime.lo
CC src/timer/mpl_timer_gettimeofday.lo
CC src/timer/mpl_timer_linux86_cycle.lo
CC src/timer/mpl_timer_mach_absolute_time.lo
CC src/timer/mpl_timer_query_performance_counter.lo
CC src/timer/mpl_timer_win86_cycle.lo
CC src/timer/mpl_timer_device.lo
CCLD libmpl.la
make[2]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/mpl'
Making all in /export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa
make[2]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa'
Making all in src
make[3]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa/src'
make all-am
make[4]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa/src'
CC opa_primitives.lo
CC opa_queue.lo
CCLD libopa.la
make[4]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa/src'
make[3]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa/src'
Making all in test
make[3]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa/test'
make[3]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa'
make[2]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/openpa'
Making all in src/mpi/romio
make[2]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/mpi/romio'
Making all in mpl
make[3]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/mpi/romio/mpl'
CC src/bt/mpl_bt.lo
../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c: In function ‘backtrace_libunwind’:
../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/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/mpi/romio/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/mpi/romio/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/mpi/romio/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/mpi/romio/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/mpi/romio/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/mpi/romio/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/mpi/romio/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/mpi/romio/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/mpi/romio/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[3]: *** [src/bt/mpl_bt.lo] Error 1
make[3]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/mpi/romio/mpl'
Makefile:4279: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_gcc/src/mpi/romio'
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
-------------- next part --------------
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 128: warning: implicit function declaration: backtrace_libunwind
CC src/env/mpl_env.lo
CC src/mem/mpl_trmem.lo
CC src/msg/mpl_msg.lo
CC src/sock/mpl_sock.lo
CC src/str/mpl_str.lo
CC src/timer/mpl_timer_clock_gettime.lo
CC src/timer/mpl_timer_gcc_ia64_cycle.lo
CC src/timer/mpl_timer_gethrtime.lo
CC src/timer/mpl_timer_gettimeofday.lo
CC src/timer/mpl_timer_linux86_cycle.lo
CC src/timer/mpl_timer_mach_absolute_time.lo
CC src/timer/mpl_timer_query_performance_counter.lo
CC src/timer/mpl_timer_win86_cycle.lo
CC src/timer/mpl_timer_device.lo
CCLD libmpl.la
make[2]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/mpl'
Making all in /export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa
make[2]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa'
Making all in src
make[3]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa/src'
make all-am
make[4]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa/src'
CC opa_primitives.lo
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 95: warning: parameter in inline asm statement unused: %2
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 103: warning: parameter in inline asm statement unused: %1
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 111: warning: parameter in inline asm statement unused: %1
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 121: warning: parameter in inline asm statement unused: %2
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 129: warning: parameter in inline asm statement unused: %3
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 142: warning: parameter in inline asm statement unused: %1
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 151: warning: parameter in inline asm statement unused: %1
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 159: warning: parameter in inline asm statement unused: %3
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 167: warning: parameter in inline asm statement unused: %3
CC opa_queue.lo
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 95: warning: parameter in inline asm statement unused: %2
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 103: warning: parameter in inline asm statement unused: %1
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 111: warning: parameter in inline asm statement unused: %1
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 121: warning: parameter in inline asm statement unused: %2
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 129: warning: parameter in inline asm statement unused: %3
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 142: warning: parameter in inline asm statement unused: %1
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 151: warning: parameter in inline asm statement unused: %1
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 159: warning: parameter in inline asm statement unused: %3
"../../../../mpich-master-v3.2-88-gbbb40df74d46/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 167: warning: parameter in inline asm statement unused: %3
CCLD libopa.la
make[4]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa/src'
make[3]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa/src'
Making all in test
make[3]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa/test'
make[3]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa'
make[2]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/openpa'
Making all in src/mpi/romio
make[2]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/mpi/romio'
Making all in mpl
make[3]: Entering directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/mpi/romio/mpl'
CC src/bt/mpl_bt.lo
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 50: undefined symbol: unw_cursor_t
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 50: syntax error before or at: cursor
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 51: undefined symbol: unw_context_t
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 52: undefined symbol: unw_word_t
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 57: warning: implicit function declaration: unw_getcontext
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 57: undefined symbol: uc
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 58: warning: implicit function declaration: unw_init_local
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 58: undefined symbol: cursor
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 59: warning: implicit function declaration: unw_step
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 60: warning: implicit function declaration: unw_get_reg
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 60: undefined symbol: UNW_REG_IP
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 60: undefined symbol: ip
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 61: warning: implicit function declaration: unw_get_proc_name
"../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c", line 62: undefined symbol: offset
cc: acomp failed for ../../../../../mpich-master-v3.2-88-gbbb40df74d46/src/mpi/romio/mpl/src/bt/mpl_bt.c
Makefile:923: recipe for target 'src/bt/mpl_bt.lo' failed
make[3]: *** [src/bt/mpl_bt.lo] Error 1
make[3]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/mpi/romio/mpl'
Makefile:4279: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/export2/src/mpich-3.2.1/mpich-master-v3.2-88-gbbb40df74d46-Linux.x86_64.64_cc/src/mpi/romio'
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log_gcc
Type: text/x-log
Size: 83432 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20160115/abec5811/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log_cc
Type: text/x-log
Size: 83545 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20160115/abec5811/attachment-0001.bin>
-------------- next part --------------
_______________________________________________
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