[OpenWrt-Devel] e2fsprogs broken on ARM...

Roman Yeryomin leroi.lists at gmail.com
Mon Mar 30 16:55:43 EDT 2015


On 30 March 2015 at 22:21, John Crispin <blogic at openwrt.org> wrote:
>
>
> On 30/03/2015 21:02, John Szakmeister wrote:
>> Commit 988e3615e52b2cd9b9e07f4bbbd76494f7e0cb24 broke building
>> e2fsprogs on an ARM platform.  It looks like that in version 1.42.10
>> the decision was made to drop locally defined versions of both
>> sync_file_range() and fallocate() because they were broken on 32-bit
>> platforms, and there was some issue on the MIPS32 platform too (see
>> 58229aaf85d435469e901c974f31ead6d9124166 is the e2fsprogs git repo).
>>
>> They decided to let the C library handle it, but unfortunately, uClibc
>> really isn't up to it at the moment.  It might be possible to backport
>> the work done to make sync_file_range() on the mainline uClibc, but it
>> might beyond my capability at the moment (I don't have a way to test
>> other platforms right now)--though I can try, if you'd like me to.
>>
>> Or, should we just patch out the building of e4defrag for the time
>> being?  We don't currently package it.
>>
>> Thanks!
>>
>> -John
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel at lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>>
> fix in the making, will be pushed tomorrow ...

I suppose the subj, this ticket https://dev.openwrt.org/ticket/19336
and this error are also related

Making all in libtransmission
make[5]: Entering directory
'/tmp/roman/build_dir.mt7620/target-mipsel_24kec+dsp_uClibc-0.9.33.2/transmission-2.84/libtransmission'
  CC       fdlimit.o
In file included from fdlimit.c:39:0:
/home/roman/dev/openwrt/build/mt7620/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/include/fcntl.h:256:12:
error: conflicting types for 'fallocate64'
 extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
__off64_t __len);
            ^
fdlimit.c:28:14: note: previous declaration of 'fallocate64' was here
   extern int fallocate64 (int fd, int mode, uint64_t offset, uint64_t len);
              ^
Makefile:1121: recipe for target 'fdlimit.o' failed
make[5]: *** [fdlimit.o] Error 1
make[5]: Leaving directory
'/tmp/roman/build_dir.mt7620/target-mipsel_24kec+dsp_uClibc-0.9.33.2/transmission-2.84/libtransmission'


Regards,
Roman
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list