Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581400 - llvm +multitarget should depend on binutils-libs +multitarget
Summary: llvm +multitarget should depend on binutils-libs +multitarget
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-27 22:08 UTC by Paul Osmialowski
Modified: 2016-04-29 21: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 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.