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

Bug 581400

Summary: llvm +multitarget should depend on binutils-libs +multitarget
Product: Gentoo Linux Reporter: Paul Osmialowski <newchief>
Component: [OLD] DevelopmentAssignee: Michał Górny <mgorny>
Status: RESOLVED NEEDINFO    
Severity: normal CC: williamh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Osmialowski 2016-04-27 22:08:24 UTC
While I was building llvm for both x86 and x86_64, at some point binutils headers (plugin-api.h) could not be found. To solve this, I had to build binutils-libs also for both x86 and x86_64. This dependency should be expressed in ebuild.

Reproducible: Always

Steps to Reproduce:
1. USE="multitarget abi_x86_32 abi_x86_64" emerge llvm
2.
3.
Actual Results:  
Building process interrupted, compiler can't find plugin-api.h

Expected Results:  
Building process completed

mesa +opencl dependency.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-04-29 21:17:54 UTC
Please attach a build log. 'emerge --info' would also be appreciated.

A few early notes:

1. this is purely about MULTILIB_USEDEP and not multitarget,

2. binutils-libs and the specific header you mention are only required for the gold plugin,

3. ...and we attempt to disable building this plugin for non-native ABIs.

So either the old method of disabling it stopped working at some point (in which version?), or you are using some non-standard configuration. In either case, build log would be of great help.