Re: ftruncate with LFS OFF (was Re: [PATCH v2 24/46] ftruncate: Use ftruncate64 if arch does not have the ftruncate syscall)

2012-12-10 Thread Markos Chandras
On 10 December 2012 05:26, Vineet Gupta vineet.gup...@synopsys.com wrote: The fix looks reasonable to me (probably similar fixes for the other syscalls apply too, except for the getdents one that looks a bit complicated.) However, I am affraid that the code might become a bit unreadable with

Re: Perf compilation failure with uclibc due to libintl

2012-12-10 Thread Florian Fainelli
Hello, Le 12/10/12 13:12, Madhu koriginja a écrit : Hi All, Perf package depends on elfutils. I am using the elfutils-0.152. elfutils package compilation failed due to libintl. I am using gcc 4.5 linaro toolchain and uclibc 0.9.32. I am able compile the same package with same toolchain

Re: Perf compilation failure with uclibc due to libintl

2012-12-10 Thread kkmmkk
elfutils needs getext to properly build. It looks like you are using OpenWrt, so I would rather direct you to the openwrt development mailing-list, because this has nothing to do with uClibc per se. But I am able to compile with glibc library successfully. You mean do I need to enable some

Re: ftruncate with LFS OFF (was Re: [PATCH v2 24/46] ftruncate: Use ftruncate64 if arch does not have the ftruncate syscall)

2012-12-10 Thread Markos Chandras
On 10 December 2012 05:26, Vineet Gupta vineet.gup...@synopsys.com wrote: !LFS support doesn't add lot more than what we already have. The 3 which seem to fail for me are easily fixable. I've not seen any breakage with getdents Right now, getdents requires either NR_getdents or __getdents64

Re: iozone compilation failure with uclibc due to aio

2012-12-10 Thread Rich Felker
On Mon, Dec 10, 2012 at 05:43:54PM +0530, Madhu koriginja wrote: Hi All, I am facing compilation issue with the iozone compilation failure with uclibc library. I am using the uclibc 0.9.32 version, gcc 4.5 linaro toolchain. The same code is compiling with the gcc 4.5 linaro toolchain and

Re: iozone compilation failure with uclibc due to aio

2012-12-10 Thread Rich Felker
On Mon, Dec 10, 2012 at 09:56:38PM +0100, Laurent Bercot wrote: As far as I know, uClibc does not implemnt the AIO part of POSIX. Is there perhaps any way to make iozone use some fallback in place of AIO? It's not like POSIX AIO is a particularly well-designed API that anybody would