[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#568924: fallocate64() is missing in libc 2.10



Package: eglibc
Version: 2.10.2-6
Severity: normal

fallocate fails on 32bit with LFS support:

|bigeasy@kibibi:~$ cat a.c 
|#define _GNU_SOURCE
|#define _FILE_OFFSET_BITS 64
|#include <fcntl.h>
|
|int main(void)
|{
|        return  fallocate(0, 1, 2, 3);
|}
|
|gcc -o a a.c
|/tmp/ccw65agf.o: In function `main':
|a.c:(.text+0x39): undefined reference to `fallocate64'
|collect2: ld returned 1 exit status

fallocate64 is exported since 2.11 [0], fallocate since 2.10. And now?
I'm not sure if it is clever to export this symbol as 2.10. Is 2.11
planned for soon? :)

[0] http://sourceware.org/git/?p=glibc.git;a=commit;h=1f3615a1c97a030bca59f728f998947f852679b9

Sebastian



Reply to: