[uClibc] odd segfault with uclibc cvs / environ

Joakim Tjernlund Joakim.Tjernlund at lumentis.se
Mon Oct 11 20:50:13 UTC 2004


> ive hit a real show stopper lately while playing around with cvs ... hoping 
> someone will recognize this before i go digging through cvs changes :)
> 
> simple test program:
> extern char **environ;
> int main() {
>     printf("%s\n", environ[0]);
>     return 0;
> }
> 
> now, this code works just fine with uclibc from ~August 8 ... but with recent 
> cvs snapshots this thing segfaults :(
> in my case, this totally destroys bash because the first thing bash does is 
> check environ variables like POSIX :)
> -mike

Could possibly be related to my changing the way COPY relocs are handled in ldso.
test app works fine here with PPC.

 Jocke




More information about the uClibc mailing list