[uClibc] Question on 'C compiler cannot create executables' error message

Manuel Novoa III mjn3 at codepoet.org
Wed Mar 3 21:45:46 UTC 2004


On Wed, Mar 03, 2004 at 10:40:53PM +0100, Martin Buck wrote:
> On Mon, Mar 01, 2004 at 09:55:50AM -0500, Steve Lazaridis wrote:
> > Or if anyone knows what remains to be done in the ldso code for mipsel
> > in the latest code base, we'd be glad to help finish it up.
> 
> This has been working fine for me for a few days now, at least on big
> endian MIPS:
> 
> *** uClibc/ldso/ldso/mips/elfinterp.c.orig	Sat Feb 14 13:33:19 2004
> --- uClibc/ldso/ldso/mips/elfinterp.c	Wed Mar  3 22:33:10 2004
> ***************
> *** 301,307 ****
>   			}
>   			else {
>   				*got_entry = (unsigned long) _dl_find_hash(strtab +
> ! 					sym->st_name, tpnt->symbol_scope, ELF_RTYPE_CLASS_COPY);
>   			}
>   
>   			got_entry++;
> --- 301,307 ----
>   			}
>   			else {
>   				*got_entry = (unsigned long) _dl_find_hash(strtab +
> ! 					sym->st_name, tpnt->symbol_scope, ELF_RTYPE_CLASS_PLT);
>   			}
>   
>   			got_entry++;
> 
> 
> Please note that I don't have the slightest idea whether the other
> calls to _dl_find_hash() in the same function have to be changed as well.
> But not changing them hasn't caused any noticeable problems for me so far.

That modification, as well as a couple of others, should be in current
cvs.  And yes, it does all some things to run.  But (at least for me),
tests 3 and 4 in test/dlopen are still segfaulting and I've seen some
other application segfaults as well.

Manuel



More information about the uClibc mailing list