Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 565312 - sys-devel/llvm doesn't link libLTO.so to binutils plugins
Summary: sys-devel/llvm doesn't link libLTO.so to binutils plugins
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-10 04:28 UTC by Jason Schulz
Modified: 2015-12-28 05:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Schulz 2015-11-10 04:28:46 UTC
The llvm ebuilds don't link to libLTO.so in the binutils plugins directory (/usr/${CHOST}/binutils-bin/lib/bfd-plugins).  This causes problems for ar and friends when building with lto.

Reproducible: Always

Steps to Reproduce:
emerge llvm
Actual Results:  
libLTO.so isn't linked in /usr/${CHOST}/binutils-bin/lib/bfd-plugins

Expected Results:  
libLTO.so is linked in /usr/${CHOST}/binutils-bin/lib/bfd-plugins
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-27 22:46:36 UTC
$ qlist llvm | grep binutils
/usr/x86_64-pc-linux-gnu/binutils-bin/lib/bfd-plugins/LLVMgold.so

This is supported in all versions 3.3-r3 onwards...
Comment 2 Jason Schulz 2015-12-28 05:17:48 UTC
My apologies, LLVMgold does fully support LLVM bitcode for the gold linker (ar, nm, etc...).