[Bug target/83782] [9/10/11/12 Regression] Inconsistent address for hidden ifunc in a shared library

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Jun 19 14:20:55 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83782

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
             Blocks|                            |51469
            Summary|Inconsistent address for    |[9/10/11/12 Regression]
                   |hidden ifunc in a shared    |Inconsistent address for
                   |library                     |hidden ifunc in a shared
                   |                            |library
     Ever confirmed|0                           |1
         Resolution|DUPLICATE                   |---
   Last reconfirmed|                            |2021-06-19
                 CC|hjl at gcc dot gnu.org             |hjl.tools at gmail dot com,
                   |                            |meissner at linux dot ibm.com

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
This introduced in GCC 4.7 by

commit 15ce64af29141facd203687d000e21fe6f877234
Author: Michael Meissner <meissner@the-meissners.org>
Date:   Fri Dec 9 17:10:27 2011 +0000

    Fix PR51469 (attr-ifunc fails on ppc); Make #pragma GCC target ("...")
change macros on PPC

    From-SVN: r182169

The issue is PowerPC specific.  But the fix impacts all targets.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51469
[Bug 51469] attr-ifunc-* tests fail on PowerPC if
--enable-gnu-indirect-function is used


More information about the Gcc-bugs mailing list