Bug 199473

Summary: debugedit "Unhandled relocation" errors on ppc
Product: [Fedora] Fedora Reporter: Roland McGrath <roland>
Component: rpmAssignee: Paul Nasrat <nobody+pnasrat>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-19 19:51:34 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:
Bug Depends On:    
Bug Blocks: 199487    
Attachments:
Description Flags
simple patch for debugedit.c braino none

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