[uClibc]Problems with uClibc 0.9.11 on powerpc

David Schleef ds at schleef.org
Fri Apr 12 23:20:32 UTC 2002


On Thu, Apr 11, 2002 at 01:19:53PM -0700, Bodo Bauer wrote:
> However if I run arg_test without arguments I get this interesting
> message and no segfault:
> 
>     bb at pmacg4:~/work/RescueNew/Build/uClibc-0.9.11/test/args [563] 
>     > ./arg_test 
>     stack pointer is unaligned! (7ffff5a8)
>     argc=1
>     argv[0]='./arg_test'
>     environ[0]='PWD=/home/bb/work/RescueNew/Build/uClibc-0.9.11/test/args'
>     environ[1]='GS_FONTPATH=/usr/share/lilypond/afm:/usr/share/lilypond/pfa'
>     environ[2]='XAUTHORITY=/tmp/ssh-XXQwVgBE/cookies'
>     environ[3]='PAGER=less'
>     environ[4]='HOSTNAME=pmacg4'
>     ...
>     
> Note the unaligned stack pointer. Could this be part of the problem?

Yes.

Can you make sure that it's not using an old version of
ld-uClibc.so?  The best way to figure this out is to start the
program in gdb, wait for it to crash, and (in a different
terminal), look at /proc/NNNN/maps, where NNNN is the PID of
the offending process.

Also, what kernel versoin are you running?



dave...




More information about the uClibc mailing list