Bug 199473 - debugedit "Unhandled relocation" errors on ppc
Summary: debugedit "Unhandled relocation" errors on ppc
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: powerpc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks: 199487
TreeView+ depends on / blocked
 
Reported: 2006-07-19 19:11 UTC by Roland McGrath
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-07-19 19:51:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
simple patch for debugedit.c braino (356 bytes, patch)
2006-07-19 19:11 UTC, Roland McGrath
no flags Details | Diff

Description Roland McGrath 2006-07-19 19:11:19 UTC
Description of problem:

The debugedit program fails to recognize relocs in debug info that it can fix up
on ppc.

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

rpm-4.4.2, and looks like all rpm-4.3 and later.

How reproducible:

100%
Steps to Reproduce:
1. do a kernel rpm build on ppc
2. see errors
3. marvel that noone noticed in all these years
  
Actual results:

Lots of errors like this one:

/usr/lib/rpm/debugedit:
/var/tmp/kernel-2.6.17-1.2419.fc6-root/lib/modules/2.6.17-1.2419.fc6smp/kernel/net/ipv6/ipv6.ko:
Unhandled relocation 1 in .debug_info section

Expected results:

It should be able to handle that reloc type.

Additional info:

This looks like a simple braino/typo in the ppc part of the original reloc-fixup
patch to debugedit.  I'll attach the trivial patch to fix it.

Comment 1 Roland McGrath 2006-07-19 19:11:19 UTC
Created attachment 132704 [details]
simple patch for debugedit.c braino


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