Re: [mpich-devel] Weak symbols, clang, and users compiling with -fvisibility=hidden
6 Jan
2014
6 Jan
'14
1:43 p.m.
Jed Brown <[email protected]> writes:
So in summary, we can't have __attribute__((weak,alias("PMPI_..."))) in the header because:
1. it does not compile with gcc
It also does not compile with the new version of clang. conftest.c:37:34: error: alias must point to a defined variable or function int foo(void) __attribute((weak, alias("__foo"))); ^
2. it breaks PMPI interposition with clang 3. it breaks -fvisibility=hidden with clang
4582
Age (days ago)
4582
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown