On 02/08/2018 01:22, Matthias Klose wrote:
On 30.07.2018 12:26, Alastair McKinstry wrote:
Package: libstdc++6
Version: 8.2.0-1
Severity: important
With a program I'm working on, its run
$ mpiexec -n 1 ./bin/server.exe : -n 1 ./bin/client.exe
both programs hang, with:
#0 std::local_Rb_tree_decrement (__x=0x55f54daac538) at
../../../../../src/libstdc++-v3/src/c++98/tree.cc:99
#1 0x000055f54d04eba8 in xios::CReorderDomain::registerTrans() ()
#2 0x000055f54cf5953f in _GLOBAL__sub_I__ZN4xios14CReorderDomainC2Ev ()
The MPI nature of the code should be irrelevant (they're independent processes,
not interacting at this point but running the same piece of code)
This code works with g++ 7.3, but fails with 8.1/ 8.2
there are no changes in this area, afaics. Does openmpi already build with
C++11? But maybe not all it's reverse dependencies.
Yes, I don't understand it.
The program (XIOS, open source but not packaged in Debian) compiles fine
under both g++ 7.3 and 8.1, but hangs when the 8.* version is run.
(The libstdc++ is the same in both cases). No (new or relevant) warnings
are given when compiling; the 7.3 code works ok against the 8.* version
of libstdc++.
No -stdc= flags are used; just -g -O2 / -O3 -D__NONE__
(I don't know why __NONE__ is defined; it might be a boost/blitz thing
as these are included).
--
Alastair McKinstry, <alast...@sceal.ie>, <mckins...@debian.org>,
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.