Re: [mpich-devel] Weak symbols, clang, and users compiling with -fvisibility=hidden
Let me discuss this with Ken. We'll get back to you. Antonio On 01/06/2014 06:19 PM, Jed Brown wrote:
Jed Brown <[email protected]> writes:
Pavan Balaji <[email protected]> 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
__attribute__((weak, alias("PMPI_Xyz")))
(which belongs in an implementation file, not in the public header). Is there a reason to bother testing for the attribute syntax?
-- Antonio J. Peña Postdoctoral Appointee Mathematics and Computer Science Division Argonne National Laboratory 9700 South Cass Avenue, Bldg. 240, Of. 3148 Argonne, IL 60439-4847 [email protected] www.mcs.anl.gov/~apenya
participants (1)
-
"Antonio J. Peña"