Summary: | sys-devel/binutils: supporting multiple/versioned linker plugins (e.g. SLOT-ed gcc) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Kredba <kredba> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bircoph, bug, cruzki123, j.fikar, petros_20, rhill, tdalman, uran238 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59505 https://bugs.gentoo.org/show_bug.cgi?id=371951 https://bugs.gentoo.org/show_bug.cgi?id=422121 https://bugs.gentoo.org/show_bug.cgi?id=462554 https://sourceware.org/bugzilla/show_bug.cgi?id=17422 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 502952, 508418 |
Description
David Kredba
2013-12-14 11:46:17 UTC
Can the issue be solved through adding gcc's plugin to bfd-plugins alike outlined for clang in bug #462554? If yes, does it affect non-LTO builds? Then, can you check whether adding clang's LTO plugin interferes with gcc's LTO? Can we have both plugins together there? I'm thinking that the most friendly way of handling the clang side would be to create a separate package (PDEPEND) that would symlink the plugin to the appropriate binutils directories. (In reply to Michał Górny from comment #1) i don't think a symlink alone would help. all `gcc-ar` and such do is run ar with the option --plugin /usr/libexec/gcc/$CHOST/$GCC_VER/liblto_plugin.so. the upstream gcc bug includes a patch that changes the default --target to "plugin". not entirely sure what that accomplishes, but fairly certain that it alone wouldn't help either. we can't drop every gcc liblto_plugin.so into the bfd-plugins/ dir as it is a version-specific plugin. we can't let gcc-config manage it as people are allowed to run `gcc-$VER` at any time. This is being discussed upstream. I'll see if I can dig up a link. Support for gcc lto symbol plugin autoloading is in binutils already. It is now. We still need a way to handle installing multiple versions choosing the right one. *** Bug 502952 has been marked as a duplicate of this bug. *** *** Bug 544654 has been marked as a duplicate of this bug. *** *** Bug 522316 has been marked as a duplicate of this bug. *** *** Bug 462796 has been marked as a duplicate of this bug. *** I think that this case can be closed after bug #630066 was resolved. Can I please? (In reply to David Kredba from comment #11) > I think that this case can be closed after bug #630066 was resolved. > Can I please? Already done ;) |