[Bug lto/61526] relocation R_X86_64_PC32 in shared object with static and extern
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jun 17 09:00:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61526
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think this is a duplicate of PR61012. That is, works on the branch head for
me.
Reduced testcase that fails with 4.9.0:
static void *master;
void *foo () { return master; }
---
extern void *master;
void *bar () { return master; }
and using -flto-partition=1to1 at link.
*** This bug has been marked as a duplicate of bug 61012 ***
More information about the Gcc-bugs
mailing list