unable to build util-linux-2.17 on glibc-2.10 due to fallocate64

From: Mike Frysinger
Date: Tue Jan 12 2010 - 15:20:56 EST


glibc-2.10 has an error in it where it forgot to export the fallocate64 symbol
for 32bit users. the current util-linux configure script does a link test for
fallocate, but this is the same thing as the fallocate code which uses a bunch
of defines when including the prototypes and so it ends up linking to
fallocate64. long story short, util-linux fails to build on 32bit glibc-2.10
systems. any ideas on how to address this ? a link time test for fallocate64
would suck as it only gets used on 32bit linux hosts ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.