mmap fails with error 22
Rob Landley
rob at landley.net
Thu Apr 12 17:45:25 UTC 2007
On Thursday 12 April 2007 10:12 am, Geerts Steven wrote:
> Hi
>
> I build my cross toolchain for an arm big endian with eabi support and I
> successfully booted uclibc on my target board. But now I'm having a
> problem with eabi support for one of my own programs.
>
> In my program I call mmap to map some memory but this gives back an
> error and I guess it's because it's calling the wrong mmap function.
>
> I use gcc 4.1.2, uclibc (daily snapshot 20070308, > 0.9.28.3) and
Which is amusing because that very day I checked in the following arm mmap bug
fix: http://uclibc.org/cgi-bin/viewcvs.cgi?rev=18041&view=rev
Update your snapshot.
Rob
--
Penguicon 5.0 Apr 20-22, Linux Expo/SF Convention. Bruce Schneier, Christine
Peterson, Steve Jackson, Randy Milholland, Elizabeth Bear, Charlie Stross...
More information about the uClibc
mailing list