[mpich-devel] Weak symbols, clang, and users compiling with -fvisibility=hidden
jedbrown at mcs.anl.gov
Mon Jan 6 18:19:05 CST 2014
Jed Brown <jedbrown at mcs.anl.gov> writes:
> Pavan Balaji <balaji at mcs.anl.gov> writes:
>> This attribute is tested in configure before it’s added to mpi.h.in.
> Yes, the configure test is incorrect and the resulting usage in MPICH is
> broken (does not do what you intend).
As far as I know,
#pragma weak MPI_Xyz = PMPI_Xyz
is equivalent to what was intended with the attribute syntax
(which belongs in an implementation file, not in the public header). Is
there a reason to bother testing for the attribute syntax?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
More information about the devel