[uClibc] Crash in dynamic loader

Rolf Offermanns roffermanns at sysgo.com
Tue Jul 13 09:23:17 UTC 2004


On Monday 12 July 2004 16:57, frederic.goddeeris at banksys.be wrote:
> In the meantime I have discovered that the problem is due to the fact that
> the code of the loader is not writable. The _dl_mprotect is never called
> because tpnt->dynamic_info[DT_TEXTREL] is 0. I commented this out (wild
> guess :-> ) and it continues now ... I have tried with setting
> FORCE_SHAREABLE_TEXT_SEGMENTS, but is does not improve things. What could
> be wrong?
>
> So, now the libraries are loaded. Relocation of ld-uClibc and libfloat
> succeeds but during the relocation of libc there is again a segmentation
> error...
>
Hi Frederic!
Check the following threads. They might help you. Which binutils version are 
you using?
<http://www.uclibc.org/lists/uclibc/2004-May/008869.html>
<http://www.uclibc.org/lists/uclibc/2004-May/009018.html>
<http://www.uclibc.org/lists/uclibc/2004-May/009067.html>

<http://sources.redhat.com/ml/binutils/2004-05/msg00583.html>

-Rolf




More information about the uClibc mailing list