Re: Optimal CFLAGS for armv5te?

2010-06-01 Thread Khem Raj
On Mon, May 31, 2010 at 4:56 AM, Oleg Kravchenko wrote: > What optimal cflags for CPU: > >>asusp535 ~ # cat /proc/cpuinfo >>Processor       : XScale-PXA270 rev 7 (v5l) >>BogoMIPS        : 519.37 >>Features        : swp half thumb fastmult edsp iwmmxt >>CPU implementer : 0x69 >>CPU architecture: 5T

Re: Help build test failed

2010-06-01 Thread Khem Raj
On Mon, May 31, 2010 at 12:15 AM, lei yang wrote: > Hi experts, > > I want to build the uclibc testing dir, but it failed can some one give me > some points to avoid this issue? > > lya...@lyang0:~/downloads/uClibc-0.9.30.3/test$ make compile >  TEST_LINK args/ arg_testarg_test.c > arg_test.c:9:19

Re: Optimal CFLAGS for armv5te?

2010-06-01 Thread Oleg Kravchenko
вівторок 01 червень 2010 10:19:25 Khem Raj ви написали: > On Mon, May 31, 2010 at 4:56 AM, Oleg Kravchenko wrote: > > What optimal cflags for CPU: > >>asusp535 ~ # cat /proc/cpuinfo > >>Processor : XScale-PXA270 rev 7 (v5l) > >>BogoMIPS: 519.37 > >>Features: swp half thumb fa

[PATCH 1/2] bits/socket.h: add SOCK_CLOEXEC and SOCK_NONBLOCK support

2010-06-01 Thread Vladimir Zapolskiy
This patch adds support for SOCK_CLOEXEC and SOCK_NONBLOCK socket descriptor flags, which are introduced since Linux 2.6.27 Signed-off-by: Vladimir Zapolskiy --- libc/sysdeps/linux/common/bits/socket.h | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/libc/sysd

[PATCH 2/2] inotify: add inotify_init1 system call support

2010-06-01 Thread Vladimir Zapolskiy
This patch introduces support for inotify_init1 system call, found since Linux 2.6.27. Signed-off-by: Vladimir Zapolskiy --- libc/sysdeps/linux/common/inotify.c |4 libc/sysdeps/linux/common/sys/inotify.h | 13 + 2 files changed, 17 insertions(+), 0 deletions(-) diff

Re: [PATCH 1/2] bits/socket.h: add SOCK_CLOEXEC and SOCK_NONBLOCK support

2010-06-01 Thread Natanael Copa
On Tue, Jun 1, 2010 at 4:02 PM, Vladimir Zapolskiy wrote: > This patch adds support for SOCK_CLOEXEC and SOCK_NONBLOCK socket > descriptor flags, which are introduced since Linux 2.6.27 Nice! I was looking at this the other day but never had time to finish it. Did you get (recent) udev working w

Re: Optimal CFLAGS for armv5te?

2010-06-01 Thread Khem Raj
On (01/06/10 12:25), Oleg Kravchenko wrote: > > >>{standard input}: Assembler messages: > > >>{standard input}:22: Error: selected processor does not support > > >>`wunpckelub > > >> > > > wr6,wr4' > > > > this is iwmmxt instruction. It seems your assembler is not including iwmmxt > > when you sel

Re: Optimal CFLAGS for armv5te?

2010-06-01 Thread Oleg Kravchenko
вівторок 01 червень 2010 21:20:54 Khem Raj ви написали: > ok. add -v option to gcc commandline and post the output. # armv5te-iwmmxt-linux-gnueabi-gcc test.c -march=armv5te -mtune=iwmmxt -v Using built-in specs. Target: armv5te-iwmmxt-linux-gnueabi Configured with: /var/tmp/cross/armv5te-iwmmxt-li

[PATCH] endian.h: add BSD convertions between big/little-endian byte order

2010-06-01 Thread Vladimir Zapolskiy
This patch adds support for convertion of values between host and big-/little-endian byte order. Signed-off-by: Vladimir Zapolskiy --- include/endian.h | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/include/endian.h b/include/endian

[PATCH] lutimes: add lutimes support

2010-06-01 Thread Vladimir Zapolskiy
This patch adds lutimes library call support. Signed-off-by: Vladimir Zapolskiy --- include/sys/time.h |4 ++- libc/sysdeps/linux/common/lutimes.c | 37 +++ 2 files changed, 40 insertions(+), 1 deletions(-) create mode 100644 libc/sysdeps/l

Re: Optimal CFLAGS for armv5te?

2010-06-01 Thread Khem Raj
On (01/06/10 22:10), Oleg Kravchenko wrote: > вівторок 01 червень 2010 21:20:54 Khem Raj ви написали: > > ok. add -v option to gcc commandline and post the output. > > # armv5te-iwmmxt-linux-gnueabi-gcc test.c -march=armv5te -mtune=iwmmxt -v > Using built-in specs. > Target: armv5te-iwmmxt-linux-g

Re: [PATCH 1/2] bits/socket.h: add SOCK_CLOEXEC and SOCK_NONBLOCK support

2010-06-01 Thread Vladimir Zapolskiy
Hi, > > Nice! I was looking at this the other day but never had time to finish it. > > Did you get (recent) udev working with those patches? > yes, I've tried to compile last versions of udev, and with this set of patches I have a working udev-151 for armv4t. With best wishes, Vladimir _

Re: [PATCH 1/2] bits/socket.h: add SOCK_CLOEXEC and SOCK_NONBLOCK support

2010-06-01 Thread Khem Raj
On (01/06/10 20:02), Vladimir Zapolskiy wrote: > This patch adds support for SOCK_CLOEXEC and SOCK_NONBLOCK socket > descriptor flags, which are introduced since Linux 2.6.27 Thanks applied. > > Signed-off-by: Vladimir Zapolskiy > --- > libc/sysdeps/linux/common/bits/socket.h | 12 ++

Re: [PATCH 2/2] inotify: add inotify_init1 system call support

2010-06-01 Thread Khem Raj
On (01/06/10 20:02), Vladimir Zapolskiy wrote: > This patch introduces support for inotify_init1 system call, found > since Linux 2.6.27. applied Thanks, -Khem > > Signed-off-by: Vladimir Zapolskiy > --- > libc/sysdeps/linux/common/inotify.c |4 > libc/sysdeps/linux/common/sys/ino

[PATCH v2] lutimes: add lutimes support

2010-06-01 Thread Vladimir Zapolskiy
This patch adds lutimes library call support. Signed-off-by: Vladimir Zapolskiy --- include/sys/time.h |4 ++- libc/sysdeps/linux/common/lutimes.c | 38 +++ 2 files changed, 41 insertions(+), 1 deletions(-) create mode 100644 libc/sysdeps/l