problem with standard libc on 8xx

Wolfgang Denk wd at denx.de
Fri Feb 27 20:43:24 EST 2004


In message <9CFB9DA5261CD611A29B00508B78904807F880ED at ex-deu-munich02.force.de> you wrote:
>
> I created my own root-fs for a MPC8xx platform
> using standard Debian packages (including libc).
> When I start the system, the init scripts hangs
...
> I guess that the Debian libc uses floating point - which

Thi sis definitely one cause of the problem.  Another  one  might  be
optimization  for  a  incorrect  cache  line  size  (32 instead of 16
bytes).

> is not available on MPC8xx - but I thougt the kernel would
> emulate this calls (CONFIG_MATH_EMULATION=y).

This has never been working reliably for any real-life code. And it's
awfully slow.

Also note that you CANNOT mix standard binaries (from Debian) and 8xx
specific libraries (from ELDK) -  this  will  crash  as  soon  as  an
application attempts to use floating point.


Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Above all else -- sky.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list