[uClibc 0000844]: SuperH "Only load shared libraries which can share their text segment" breaks busybox

bugs at busybox.net bugs at busybox.net
Fri Apr 21 10:26:21 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=844 
====================================================================== 
Reported By:                mastag
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   844
Category:                   Shared Library Support
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             04-21-2006 03:02 PDT
Last Modified:              04-21-2006 03:26 PDT
====================================================================== 
Summary:                    SuperH  "Only load shared libraries which can share
their text segment" breaks busybox
Description: 
I tried building a buildroot enviroment for sh4 little endian (gcc3.4.5)
It completes with success but when I try to load it on the dreamcast the
kernel will get tainted with an error about /lib/libbusybox.so containing
text.

I tried doing a make menuconfig in the toolchain_build_sh4/uClibc
directory and under "General Library Settings" there is support for shared
libraries.
However the option "---   Only load shared libraries which can share their
text segment" cannot be unchecked when Support for shared libraries is
checked.

This prevents me from running busybox.
I'm sorry for my bad english.

Regards,

Gino
====================================================================== 

---------------------------------------------------------------------- 
 psm - 04-21-06 03:23  
---------------------------------------------------------------------- 
there is only one case when that option can't be unselected, if you also
checked
UCLIBC_BUILD_PIE (Build utilities as ET_DYN/PIE executables).
Please reassign this bug to busybox, shared libs should not have text
relocations 

---------------------------------------------------------------------- 
 psm - 04-21-06 03:26  
---------------------------------------------------------------------- 
correction: for SH4 targets this option is enforced, probably the arch does
not
support text relocations at all 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-21-06 03:02  mastag         New Issue                                    
04-21-06 03:02  mastag         Status                   new => assigned     
04-21-06 03:02  mastag         Assigned To               => uClibc          
04-21-06 03:23  psm            Note Added: 0001312                          
04-21-06 03:26  psm            Note Added: 0001313                          
======================================================================




More information about the uClibc-cvs mailing list