Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 63618

Summary: Please provide full-featured BFD- and opcodes-libs
Product: [Retired] Red Hat Raw Hide Reporter: Enrico Scholz <rh-bugzilla>
Component: binutilsAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-04 23:13:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Enrico Scholz 2002-04-16 13:03:16 UTC
binutils can be configured with '--enable-targets=all' to compile the BFD libs
with support for all targets. Having such libraries is very useful in a cross
compiler environment and "normal" work will not affected by them.

Reversely, it is difficultly to create a consistent cross compiler environment
with the current binutils, because there must be used a library-path which does
not fit into a FHS compliant system.


The only drawback of such libraries is the need for more space (3MB vs. 0.5MB
for libbfd.so and 1.7MB vs. 0.1 MB for libopcodes.so). When this will become a
problem, these libraries can be split into own subpackages (e.g.
binutils-libs-minimal and binutils-libs-maximal).

Comment 1 Jakub Jelinek 2004-10-04 23:13:24 UTC
That's not the only drawback.  E.g. on 32-bit platforms it also
slows down linker/assembler, because bfd_vma etc. are 64-bit and
not 32-bit.
Furthermore, having --enable-targets=all doesn't help you much.
Although you get linker for all targets, you get assembler just
for one (gas is not built for all arches).
So for cross compiles you want binutils configured for the target
in question anyway.