[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/14330] failure to link global hidden symbol
From: |
wingo at pobox dot com |
Subject: |
[Bug gold/14330] failure to link global hidden symbol |
Date: |
Mon, 09 Jul 2012 14:51:02 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14330
--- Comment #4 from Andy Wingo <wingo at pobox dot com> 2012-07-09 14:51:02 UTC
---
(In reply to comment #3)
> It looks like the symbol was discarded for some reason, and the error is
> occurring because it is hidden. My guess is that the error should be
> suppressed--you should only be getting the warning about "relocation refers to
> discarded section". That warning is most likely about debug info, though it's
> hard to know for sure.
Thanks for the thoughts. I wonder, though -- since the relocation seems to be
coming from the use of the hidden symbol and not the definition, I don't see
how it could be related to debug info. But I'm also fairl ignorant about these
things.
I guess the thing is to figure out why ld is deciding to discard that symbol,
fix that (in our code, gcc, or gold), and then see what's left. Is there
somewhere in gold that I should instrument, or will --debug=all be enough to
figure it out? I'll try it tomorrow.
Cheers,
Andy
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gold/14330] New: failure to link global hidden symbol, wingo at pobox dot com, 2012/07/04
- [Bug gold/14330] failure to link global hidden symbol, wingo at pobox dot com, 2012/07/04
- [Bug gold/14330] failure to link global hidden symbol, wingo at pobox dot com, 2012/07/05
- [Bug gold/14330] failure to link global hidden symbol, ian at airs dot com, 2012/07/09
- [Bug gold/14330] failure to link global hidden symbol,
wingo at pobox dot com <=
- [Bug gold/14330] failure to link global hidden symbol, ccoutant at google dot com, 2012/07/09
- [Bug gold/14330] failure to link global hidden symbol, ccoutant at google dot com, 2012/07/09