[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/19842] LTO build fails to write call address for weak symbol r
From: |
ccoutant at gmail dot com |
Subject: |
[Bug gold/19842] LTO build fails to write call address for weak symbol reference |
Date: |
Tue, 22 Mar 2016 07:29:31 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19842
--- Comment #27 from Cary Coutant <ccoutant at gmail dot com> ---
> The case where this came up is when we are merging the optimised object, and
> were given a weak symbol. The non-LTO object (from -ffat-lto-objects) isn't
> loaded if the plugin claims the object.
Sorry, I don't follow.
Merging? (ld -r?)
Merging with what? By "optimized object", do you mean an IR file? Or
the result of an LTO link?
Who's giving you a weak symbol? Where? Why does it even matter that it's weak?
A non-LTO object from -ffat-lto-objects? Not sure what that means, or
why you'd want it. Do you mean the non-IR sections in a fat IR file?
Plus, we're talking about comdat groups here. We pick the first comdat
group we see, which is from the IR file, and discard all the rest. We
don't even process the symbols from the discarded ones at all, except
to treat them as unsats. It doesn't matter if they're weak.
-cary
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, (continued)
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, ccoutant at gmail dot com, 2016/03/21
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, hjl.tools at gmail dot com, 2016/03/21
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, ccoutant at gmail dot com, 2016/03/21
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, hjl.tools at gmail dot com, 2016/03/21
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, ccoutant at gmail dot com, 2016/03/21
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, ccoutant at gmail dot com, 2016/03/21
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, amodra at gmail dot com, 2016/03/21
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, ccoutant at gmail dot com, 2016/03/22
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, cvs-commit at gcc dot gnu.org, 2016/03/22
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, amodra at gmail dot com, 2016/03/22
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference,
ccoutant at gmail dot com <=
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, amodra at gmail dot com, 2016/03/22
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, hubicka at ucw dot cz, 2016/03/22
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, ccoutant at gmail dot com, 2016/03/22
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, matt at godbolt dot org, 2016/03/30
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, hubicka at ucw dot cz, 2016/03/30
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, matt at godbolt dot org, 2016/03/30
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, ccoutant at gmail dot com, 2016/03/30
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, matt at godbolt dot org, 2016/03/30
- [Bug gold/19842] LTO build fails to write call address for weak symbol reference, matt at godbolt dot org, 2016/03/30