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

bugs at busybox.net bugs at busybox.net
Mon Aug 7 16:31:26 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             08-07-2006 09:31 PDT
Last Modified:              08-07-2006 09:31 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.

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

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          
         
======================================================================




More information about the uClibc-cvs mailing list