Bug 63618 - Please provide full-featured BFD- and opcodes-libs
Summary: Please provide full-featured BFD- and opcodes-libs
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: binutils (Show other bugs)
(Show other bugs)
Version: 1.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2002-04-16 13:03 UTC by Enrico Scholz
Modified: 2007-04-18 16:42 UTC (History)
0 users

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-04 23:13:24 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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.

Note You need to log in before you can comment on or make changes to this bug.