Bug 86240 - Need to update libbfd.so on RH AS 2.1 / IA64
Need to update libbfd.so on RH AS 2.1 / IA64
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: binutils (Show other bugs)
ia64 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2003-03-17 19:18 EST by David Connelly
Modified: 2007-11-30 17:06 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-06 14:57:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Connelly 2003-03-17 19:18:29 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; YComp; .NET CLR 1.0.3705)

Description of problem:
The installed version of libbfd.so cannot handle some object files generated 
by gcc 3.0. In particular, the function bfd_find_nearest_line will barf on 
some objects with the following error message:

   BFD: Dwarf Error: Invalid or unhandled FORM value: 14.

Unfortunately, the function will abort with this error message rather than 
just return an error code, so there is no easy workaround.

If you look at bfd/dwarf2.c in binutils-2.11.2 there is in fact no handler for 
DW_FORM_strp (14). This apparently has been fixed in binutils-2.13.2 so we 
should probably update to that.

- David

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Compile C program with gcc 3.0.2 and -g
2. Write program to open object bfd and call bfd_find_nearest_line
3. Run program on previously generated object file

Additional info:
Comment 3 Bob Johnson 2003-04-25 16:04:54 EDT
As a workaround, one answer  might be to compile programs with -gstabs or
-gstabs+ as a workaround.  That would probably bypass the Dwarf-2 issues.

gcc 3.x is not supported on AS 2.1
Only gcc 2.9x
Comment 4 Jakub Jelinek 2004-10-06 14:57:56 EDT
There are several changes that would be needed in binutils and
even more so in gdb, I don't think the changes are appropriate for
AS2.1 at this point.

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