[uClibc 0000986]: Incorrect error message for unresolved symbols (powerpc)

bugs at busybox.net bugs at busybox.net
Wed Oct 8 11:18:55 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=986 
====================================================================== 
Reported By:                eswierk
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   986
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             08-07-2006 09:31 PDT
Last Modified:              10-08-2008 04:18 PDT
====================================================================== 
Summary:                    Incorrect error message for unresolved symbols
(powerpc)
Description: 
[I reported this issue on the uclibc mailing list before I was aware of the
existence of this bug database.]

On PowerPC, an unresolved symbol during shared library load is
incorrectly reported as a bad reloc type.

For example, during a failed attempt to load the readline Python module I
get:

python: symbol 'PC': can't handle reloc type 'R_PPC_ADDR32' in lib
'/lib/libreadline.so.5'
python: symbol 'tgetnum': can't handle reloc type 'R_PPC_JMP_SLOT' in
lib '/lib/libreadline.so.5'

instead of the more accurate:

python: symbol 'PC': can't resolve symbol in lib '/lib/libreadline.so.5'.
python: symbol 'tgetnum': can't resolve symbol in lib
'/lib/libreadline.so.5'.

The attached patch makes the PowerPC elfinterp.c behave like the i386
version.

====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 10-08-08 04:18  
---------------------------------------------------------------------- 
This was fixed in r18743. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-07-06 09:31  eswierk        New Issue                                    
08-07-06 09:31  eswierk        Status                   new => assigned     
08-07-06 09:31  eswierk        Assigned To               => uClibc          
08-07-06 09:31  eswierk        File Added: 001-powerpc-elfinterp.patch          
         
10-08-08 04:18  bernhardf      Status                   assigned => closed  
10-08-08 04:18  bernhardf      Note Added: 0013074                          
======================================================================




More information about the uClibc-cvs mailing list