[uClibc]Problems on powerpc with shared libs and odd argument count
Andreas Liebe
liebe at hrz.tu-darmstadt.de
Sun Feb 24 13:29:03 UTC 2002
Dear all,
I'm trying to convert a tiny PPC855 system from glibc to uclibc, but
I'm having problem with dynamically linked programmes. They all fail
with memory fault/segv when invoked with an even number of arguments
(means argc is odd). So "prog" fails, "prog 1" works, "prog 1 2"
fails, "prog 1 2 3" works, and so on. If I link them statically everything
works great.
I'm not a PowerPC expert, so looking through crt0 and ls.so sources
didn't help me very much.
Maybe it's a similar problem as with glibc, as the PPC8xx processors
only have 16 byte cache-line size? BTW: everything is compiled with a
gcc2.95.3 -msoft-float -mcpu=860.
I would apprciate any hint to solve this.
Thanks,
-Andreas
--
Andreas Liebe/Darmstadt University of Technology/+49 6151 16-3150/3050(FAX)
More information about the uClibc
mailing list