Closed mpichbot closed 8 years ago
Originally by apenya on 2014-03-17 14:57:18 -0500
As the old behavior seems to be treated as a bug and the compilers have switched to the new one, I'll adjust our test accordingly. In case the user is having an old compiler, the weak,alias support will be disabled.
Originally by Ken Raffenetti raffenet@mcs.anl.gov on 2014-07-07 16:37:18 -0500
In 0011344aee9fadd4c2e879da9b14e764bfbf837a: Fix weak alias support detection
Since GCC4, it is required that when declaring a function alias, the target function is defined in the same compilation unit.
See #2002
Signed-off-by: Ken Raffenetti raffenet@mcs.anl.gov
Originally by Ken Raffenetti raffenet@mcs.anl.gov on 2014-07-07 16:37:18 -0500
In b208dd70c27812397afe3568ba97fd835c00030e: Fix usage of weak,alias attributes
Moved the weak,alias attribute declarations from header files to the implementation. Complies with the requirement that alias targets are defined in the same compilation unit.
Fixes #2002
Signed-off-by: Ken Raffenetti raffenet@mcs.anl.gov
Originally by @raffenet on 2014-01-13 18:27:59 -0600
Jed Brown reported this issue to the mailing list. His report is below. The clang issue he references has been fixed in newer versions, but we should test for it in case users haven't updated.
On 01/06/2014 12:14 PM, Jed Brown wrote: