On Sun, 18 Dec 2016 13:44:32 +0000 Ansgar Burchardt <ans...@debian.org> wrote: > Package: libopenmpi-dev > Version: 2.0.2~git.20161225-8 > Severity: important > > [ CC'ed debian-mips@ as a segfault in the linker might not be a bug in MPI ] > > OpenMPI crashed frequenly in the runtime linker on mips64el, even for a > trivial program calling just MPI_Init and MPI_Finalize: > > +--- > | #include <mpi.h> > | > | int main(int argc, char** argv) > | { > | MPI_Init(&argc, &argv); > | MPI_Finalize(); > | return 0; > | } > +---[ test.cc ] > > After building with `mpic++ -o test test.cc`, I often get the following > backtrace from the core file: > > +--- > | Core was generated by `./test'. > | Program terminated with signal SIGSEGV, Segmentation fault. > | #0 elf_machine_runtime_link_map (gpreg=<optimized out>, > stub_pc=1099310712688) > | at ../sysdeps/mips/dl-trampoline.c:84 > | 84 ../sysdeps/mips/dl-trampoline.c: No such file or directory. > | [Current thread is 1 (LWP 2837)] > | (gdb) bt > | #0 elf_machine_runtime_link_map (gpreg=<optimized out>, > stub_pc=1099310712688) > | at ../sysdeps/mips/dl-trampoline.c:84 > | #1 __dl_runtime_resolve (sym_index=151, return_address=<optimized out>, > old_gpreg=<optimized out>, > | stub_pc=1099310712688) at ../sysdeps/mips/dl-trampoline.c:125 > | #2 0x000000fff5e341ac in _dl_runtime_resolve () from /lib64/ld.so.1 > | Backtrace stopped: frame did not save the PC > +---[ backtrace from `gdb ./test core` ]
It is quite strange that it won't fail if run with gdb. > > I noticed as src:dune-common/2.5.0-1 failed on mips64el even though the last > upload build sucessfully. > > Ansgar > > -- System Information: > Debian Release: stretch/sid > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: mips64el (mips64) > > Kernel: Linux 4.7.0-0.bpo.1-octeon (SMP w/4 CPU cores) > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > Shell: /bin/sh linked to /bin/dash > Init: unable to detect > > Versions of packages libopenmpi-dev depends on: > ii libc6 2.24-8 > ii libhwloc-dev 1.11.5-1 > ii libhwloc5 1.11.5-1 > ii libibverbs-dev 1.2.1-2