Re: mpich FTBFS on sh4: MPIUI_Thread TLS definition mismatches tbss

[email protected] (Aaron M. Ucko)
Newsgroups gmane.linux.debian.ports.mips
Message-ID <udlefuxumzu.fsf__11872.0266073526$1496765315$gmane$org@contents-vnder-pressvre.mit.edu>
Drew Parsons <[email protected]> writes:

> The link error suggests 2 different versions of MPIUI_Thread are used. 
> But I can only see a definition in src/util/thread/mpiu_thread.c.
> src/mpi/comm does not refer to it, and comm_rank.c does not use any
> MPIU object. So the error message doesn't make sense to me.

comm_rank's reference to MPIUI_Thread is also present on at least amd64,
and presumably due to some macro that (directly or indirectly) calls
MPIU_THREADPRIV_FIELD.  However, it's not clear why multithreaded build
settings would be in effect for mpiu_thread but not also comm_rank.  (It
looks like MPIUI_Thread's thread-locality is conditional on
MPICH_IS_THREADED, which mpichconf.h defines centrally.)

I don't have time to dig deeper, but hope that brief analysis helps.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.