Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 478816

Summary: sys-devel/llvm: fix paths to libprofile_rt
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli, ryao, voyageur
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 434200    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-30 14:04:57 UTC
Since my earlier 'install-libs' did result in libLTO and libprofile_rt not being installed for 32-bit libs, I've been lazy and just hardcoded 64-bit paths in sources.

The library install was fixed along with bug #478348 and now it's time to fix those paths as well.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-30 15:09:58 UTC
Oh, it's libprofile_rt solely. LLVMgold was the other lib but since it is binutils plugin, we should probably always pass the native lib.

As for libprofile_rt, I'd appreciate some help. I'm trying hard and I can't get 'clang -v' to use it a single time -- all profiling related options seem to trigger clang_rt instead...
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-30 22:43:25 UTC
Let's try -l:llvm/libprofile_rt.a that should fix multilib as well.

Will commit after the test build succeeds.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-07-30 23:13:14 UTC
And committed.