This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld does not recognize lto objects?
- From: LRN <lrn1986 at gmail dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Tue, 29 Apr 2014 16:12:39 +0400
- Subject: Re: ld does not recognize lto objects?
- Authentication-results: sourceware.org; auth=none
- References: <535DA057 dot 7070503 at gmail dot com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 28.04.2014 4:27, LRN wrote:
>
> With gcc-4.9.0 defaulting to slim lto objects the old unfixed lto issues
> made a massive comeback.
>
> There's a bug[1] opened for this on bugzilla already, i've added some info
> to it, which might, i hope, help in fixing the problem.
>
> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=13557
Allright, i think i've found what's going on, and even came up with a hack
that seems to be working.
The only question now is this: which plugin function should be called to
verify that a bfd object should be linked? claim_file()?
bfd_plugin_object_p() calls it, but bfd_plugin_object_p() seems to be only
for *alien* files (files that are neither archives, nor objects - files that
only plugins understand).
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJTX5c3AAoJEOs4Jb6SI2CwvLcIAIbpJmmjyTDgA9WkPteBM1r6
6xNa/tJUZ+yJsGT9/Ihdrh3g+U13ME5ko7DEy+knMAj+nRu6wtifHpfe/UuPZgmJ
IlmHDL0wMRs5p7Zm1HQkuO4ucxHoelfkxSuGWVrOKvg3sD0W8m+dVNXZzQfSvn76
+u7YIdOYtU2zXEJwcSgXOnjB48IYDjB2DHcjFz97Cf7luM0NFkxG+S/Hda5dQAdf
orKwZV1TxbPqtNnP0airPSc5+f/oahoQf/auJbrvpjZWLzyHWxSOdXwUkpqAlXFY
RNZoZY6n5wWplDEf/RSheP4qerpYADQi52X+dldePSLPashqW8Lj0h5fIVKI8g0=
=G6RM
-----END PGP SIGNATURE-----