[Buildroot] [PATCH] fio: new package

Ezequiel Garcia ezequiel.garcia at free-electrons.com
Thu Dec 26 11:30:07 UTC 2013


On Thu, Dec 26, 2013 at 10:40:37AM +0100, Thomas Petazzoni wrote:
> Dear Ezequiel Garcia,
> 
> On Wed, 25 Dec 2013 17:32:53 -0300, Ezequiel Garcia wrote:
> 
> > > But older uClibc toolchains do not work, and are causing build
> > > failures such as
> > > http://autobuild.buildroot.org/results/f7a/f7ae7ac2b5da9afc6314f1e813300597896e5ca6/build-end.log.
> > > 
> > > I believe the best solution for now is to mark this package as not
> > > available for uClibc toolchains.
> > > 
> > 
> > Right. And in parallel, we can also take care of upstreaming a patch
> > which uses HAVE_POSIX_MADVISE to handle such case.
> 
> The problem is what should we use in replacement of posix_madvise()
> when it is not available.
> 

madvise()?

If you do:

  #define posix_madvise madvise

then I've managed to fix the build issues on uClibc v0.9.32.

Problem is, I'm not sure there's a clean way to detect posix_madvise /
madvise presence; it must be done by hand in the configure script.

Anyway, it all sounds like too much work to fix such a small use case.
-- 
Ezequiel García, Free Electrons
Embedded Linux, Kernel and Android Engineering
http://free-electrons.com



More information about the buildroot mailing list