[Sugar-devel] SoaS on the XO progress

Bernie Innocenti bernie at laptop.org
Sat Jan 24 04:54:27 EST 2009

Sayamindu Dasgupta wrote:
> FWIW, I have noticed mmap errors while trying to deal with large files
> (~70MB) on the standard OLPC builds. localedef does not work in the XO
> for this (strace shows that it chokes when trying to mmap
> /usr/lib/locale/locale-archive)

I don't think it's related to the size of the file.  Writeable file
mappings are just not supported by jffs2, and cause mmap() to return
an error.

glibc likes to do it when building the locale-archive, and I vaguely
remember I had a workaround for this in our fork of the glibc rpm.

   // Bernie Innocenti - http://www.codewiz.org/
 \X/  Sugar Labs       - http://www.sugarlabs.org/

More information about the Devel mailing list