[Buildroot] Broken pread() on ARM

Peter Korsgaard jacmet at uclibc.org
Wed Feb 5 07:49:08 UTC 2014


>>>>> "Justin" == Justin Maggard <jmaggard10 at gmail.com> writes:

Hi,

 > Okay, it looks like some of the pread/pwrite changes that have made
 > their way into the uClibc 0.9.33 branch fail to consider some
 > architectures.  I have made a rather odd-looking change locally that
 > makes it work for me on my ARM platform, which uses _syscall6() for
 > pread() and pread64() if __UCLIBC_TRUNCATE64_HAS_4_ARGS__ is defined.
 > Would that be worth sending to the list, or would it be better to fix
 > it some other way?

The best approach would be to get it fixed in uClibc git (and preferably
to get them to finally release 0.9.33.3).

This particular issue also fixed on the uClibc master branch (E.G. what
should become 0.9.34) - But when I had a look at it, it didn't seem
trivial to backport.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list