Re: Installing headers with 0.9.29 spawns gcc errors

2007-05-17 Thread Khem Raj
Paul Brook wrote: - KERNEL_HEADERS=${KERNEL_HEADERS} top_builddir=. CC=$(CC) $(CPU_CFLAGS) $(SHELL) extra/scripts/gen_bits_syscall_h.sh $$tmp; \ + KERNEL_HEADERS=${KERNEL_HEADERS} top_builddir=. CC=$(HOSTCC) $(SHELL) extra/scripts/gen_bits_syscall_h.sh $$tmp; \ This is

PATCH: Fix a warning in test/test-skeleton.c

2007-10-24 Thread Khem Raj
: 'killed' may be used uninitialized in this function OK to apply ? - -- Khem Raj MontaVista Software Inc. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHH+64UjbQJxVzeZQRAocxAJ9/rVOM7SQAU+QtreNxH27tKZgubwCfThSG

Re: PATCH: Fix a warning in test/test-skeleton.c

2007-10-26 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob Landley wrote: On Wednesday 24 October 2007 8:17:44 pm Khem Raj wrote: Hi This patch fixes following warning that I am getting with gcc 4.2 while running the tests. I also changed the type to pid_t to match with the return of waitpid

[PATCH] Fix addmntent () to not return and error when fprintf returns 0

2007-10-30 Thread Khem Raj
Hi We found that when doing addmntent() uclibc uses fprintf and returns an error when fprintf returns 0. A 0 return from fprintf is valid. attached patch fixes it. OK? uclibc-mntent-fprintf-return.patch Description: Binary data Khem Raj MontaVista

Re: need for getifaddrs in uclibc

2007-11-09 Thread Khem Raj
/POSIX. here is one implementation based on glibc getifaddrs(). It should get compiled in when you have UCLIBC_USE_NETLINK enabled. Let me know if this is OK? -- Khem Raj MontaVista Software Inc. Implement getifaddr() function for uclibc. This is enabled with UCLIBC_USE_NETLINK config option

Re: svn commit: trunk/uClibc/libc/misc/mntent

2007-11-13 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Kjellerstedt wrote: Under what circumstances can fprintf() return 0 given that the format string contains spaces, %d and a line feed? probably never. However I though returning error if fprintf returns an error is more logical here and per

Re: Ping Re: Text relocations in PIEs

2007-11-15 Thread Khem Raj
depending on the __FORCE_SHAREABLE_TEXT_SEGMENTS__ setting. (Might not apply when objects are PIC by default as on MIPS; tested on ARM.) yes. I can confirm that on ARM. - -- Khem Raj -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http

[PATCH]: ARM SHMLBA

2007-11-19 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi ARM SHMLBA = (4 * PAGE_SIZE). Currently in uclibc arm used shm.h from common directory where SHMLBA = __getpagesize() This patch fixes the issue. OK for trunk ? - -- Khem Raj MontaVista Software Inc. -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [PATCH] Always inline system calls

2007-12-03 Thread Khem Raj
://busybox.net/cgi-bin/mailman/listinfo/uclibc - -- Khem Raj MontaVista Software Inc. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHVHpAUjbQJxVzeZQRAu/fAKCYlUCFUF8askPxhf9qhx4w6OYOVwCdE6Wq i2blmWrXZaRbuGVYIpAQB2w= =Ldww

[PATCH] uclibc extern inline

2007-12-07 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Compiling with gcc 4.3 I get a lot of warning about inlining. with -std=c99 or -std=gnu99 GCC implements ISO C99 inline semantics unless -fgnu89-inline is used. Is this patch ok ? - -- Khem Raj MontaVista Software Inc. -BEGIN PGP SIGNATURE

Re: Error in bits/socket.h

2007-12-07 Thread Khem Raj
thats the right way to fix it. - -- Khem Raj MontaVista Software Inc. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHWeG5UjbQJxVzeZQRAsnzAKCrTU4eASjKp9+S8GIKcpuGFwMofACgoTNF V3S7hWFQcbRRkwLijXDQNcY= =PlsV -END

Re: NPTL ARM

2007-12-13 Thread Khem Raj
with rest of nptl work for other arches which Steven has initiated. Thanks, Will. - -- Khem Raj MontaVista Software Inc. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: [PATCH] make getaddrinfo hint AI_ADDRCONFIG work

2008-03-03 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ricard Wanderlof wrote: | On Thu, 21 Feb 2008, [EMAIL PROTECTED] wrote: | | On Thu, Feb 21, 2008 at 05:13:28PM +, Joseph S. Myers wrote: | No, glibc hasn't moved to GPLv3 yet. It's not moving until the glibc SC | has got suitable wording from the

gcc headers needed for ARM EABI build

2008-03-06 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Currently on trunk when building uclibc for ARM with EABI support it needs unwind.h header from gcc headers. We have -nostdinc option added in rules.mak so the build does not pick up this header. I think that removing nostdinc might not be a

Re: arm7tdmi - NXP LPC2468 - gcc/g++/libstdc++, it's possible?

2008-03-07 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge Pereira wrote: | when a try execute a BIN on board (LPC2468 from embedded artistis) a | receive this message | | *#* cat /proc/version | Linux version 2.6.11.8-hsc0BEIJING ([EMAIL PROTECTED]) (gcc version 2.95.3 | 20010315 (release)(ColdFire

Re: gcc headers needed for ARM EABI build

2008-03-07 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joseph S. Myers wrote: | On Thu, 6 Mar 2008, Khem Raj wrote: | | We have -nostdinc option added in rules.mak so the build does not pick | up this header. | | The line | | CFLAGS += -iwithprefix include-fixed -iwithprefix include | | is supposed

Re: help : mutex sharing between processes

2008-03-08 Thread Khem Raj
On Mar 8, 2008, at 6:16 AM, vibi wrote: hello, i am trying to use sharing of mutex between processes on linux. i am using functions pthread_mutexattr_init followed by pthread_mutexattr_setpshared . in pc (kernel = 2.6.22.1,libpthread-2.5.so) it is running ok.

Re: gcc headers needed for ARM EABI build

2008-03-08 Thread Khem Raj
may be we can use -print-file-name=include and -print-file- name=include - -fixed instead. it turns out to be that I had NPTL headers installed and I was doing build with LinuxThreads so it was picking arm specific unwind.h from sysroot/usr/include. Once I removed that it worked all

[PATCH] Use do_rem to get rid of undefined __raise() error on ARM

2008-03-08 Thread Khem Raj
__raise problem This patch uses the do_rem () macro to do the same operation. OK ? Thanks Khem Raj MontaVista uclibc-raise-error.patch Description: Binary data ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo

Re: [PATCH] mknod fix for major/minor number greater than 255

2008-03-12 Thread Khem Raj
) ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc Khem Raj MontaVista ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Re: [PATCH] mknod fix for major/minor number greater than 255

2008-03-12 Thread Khem Raj
On Mar 11, 2008, at 11:56 PM, Basheer, Mansoor Ahamed wrote: Robert Wrote [mailto:[EMAIL PROTECTED] On Tue, 11 Mar 2008, Khem Raj wrote: On Mar 11, 2008, at 11:03 PM, Basheer, Mansoor Ahamed wrote: Hi, Current mknod implementation fails for major/minor number greater than 255

Re: [PATCH] mknod fix for major/minor number greater than 255

2008-03-27 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernhard Fischer wrote: | On Wed, Mar 12, 2008 at 12:22:23AM -0700, Khem Raj wrote: | On Mar 11, 2008, at 11:56 PM, Basheer, Mansoor Ahamed wrote: | | | Robert Wrote [mailto:[EMAIL PROTECTED] | On Tue, 11 Mar 2008, Khem Raj wrote: | | On Mar 11, 2008

[PATCH] Evaluate syscall parameters on ARM LOAD_ARGS_x macros

2008-03-27 Thread Khem Raj
for this suggestion. OK ? - -- Khem Raj MontaVista Software Inc. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH62FZUjbQJxVzeZQRAsL4AJ9d/5tq7oI5j83WGV4A6X+RNffr4ACcCxSs umaI9CW4WfDAxndSPjGwEwg= =wr+D -END

Re: [PATCH] Evaluate syscall parameters on ARM LOAD_ARGS_x macros

2008-03-27 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernhard Fischer wrote: | On Thu, Mar 27, 2008 at 01:57:02AM -0700, Khem Raj wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | Hi | | While compiling uclibc on thumb and running LTP tests on it I noticed | that the sched_setaffinity system

Re: [PATCH] Evaluate syscall parameters on ARM LOAD_ARGS_x macros

2008-03-27 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernhard Fischer wrote: | On Thu, Mar 27, 2008 at 10:07:54AM -0700, Khem Raj wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | Bernhard Fischer wrote: | | On Thu, Mar 27, 2008 at 01:57:02AM -0700, Khem Raj wrote: | | -BEGIN PGP SIGNED

PATCH: ARM INTERNAL_SYSCALL cleanup

2008-04-21 Thread Khem Raj
Hi There was some duplication when defining INTERNAL_SYSCALL macro for ARM. I have tried to clean this up with attached patch. Tested on ARM EABI and ARM OABI. Deleted commented out code too. OK for trunk ? Thanks -Khem Signed-off-by: Khem Raj [EMAIL PROTECTED] Index: libc/sysdeps/linux/arm

Re: Issues on linuxthreads

2008-04-21 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carmelo Amoroso wrote: Hi All, recently there have been reported several issues on libpthread segfaulting while running simple application. It has been discovered that users were using linuxthreads implementation instead of (stable ?)

Re: NPTL merge: almost ready to start

2008-04-21 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carmelo Amoroso wrote: Khem Raj wrote: Carmelo Amoroso wrote: Hi All, just to inform all of you that I have successfully tested the nptl branch on sh4 after my latest trunk-branch merge. I'd like to check something else, then, asap, I'd like

Re: [PATCH] splice, vmsplice and tee for i386

2008-04-22 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You might also update the license header to include 2008 as well. Timo Teräs wrote: Peter Kjellerstedt wrote: I'll apply this patch in a few days unless i hear something controversial. Any particular reason to uncomment sync_file_range() in

Re: [PATCH] splice, vmsplice and tee for i386

2008-05-02 Thread Khem Raj
Hi We need to patch fcntl.h for all architectures where these syscalls are wired up in kernel, otherwise it will break the build for those architectures. I have already patched up arm with the attached patch and tested it. I did not patch others Thanks -Khem On Fri, May 2, 2008 at 12:18 AM,

Re: Question about memmove implemented for uClibc arm

2008-05-22 Thread Khem Raj
On Thu, 2008-05-22 at 06:34 +0100, 夏Timothy wrote: And then, I dig into the telnetd.c for both busybox 1.7.2 and 1.10.2, hoping to find out why busybox 1.7.2 could not work with arm uClibc toolchain. The followings are my findings. when busybox telnetd receives character from socketd, it

Re: double word ordering on little endian

2008-06-04 Thread Khem Raj
Christopher Taylor wrote: arm5 (Atmel at91). As far as vfp vs fpa, I'm using the 'default' from buildroot with gcc 4.2.1. Not sure how this is set inside buildroot/uclibc. Well if you can use -v option to gcc when you compile your testcase you should be able to see what fpu settings are

[uclibc-nptl] Merge rev 15933 from trunk

2008-06-24 Thread Khem Raj
Hi I was trying to build uclibc out of uclibc-nptl branch when I noticed that the above rev of uio.h is needed to get gcc compiled. OK for uClibc-nptl. Thanks -Khem Signed-off-by: Khem Raj [EMAIL PROTECTED] Index: libc/sysdeps/linux/common/bits/uio.h

Re: svn commit: branches/uClibc-nptl/libc: inet misc/sysvipc stdio sysdeps/linux/co etc...

2008-07-10 Thread Khem Raj
On Thu, 2008-07-10 at 12:11 +0200, Carmelo AMOROSO wrote: [EMAIL PROTECTED] wrote: Author: kraj Date: 2008-07-09 16:52:41 -0700 (Wed, 09 Jul 2008) New Revision: 22726 Log: Fix the builds without STDIO_FUTEXES. Fix msgecv and msgsend to compile on ARM as well. Modified:

Re: question against 22825 commit

2008-07-17 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthieu CASTET wrote: Hi, why does it is need ? I have been using really old kernel headers. But its really not needed. I will revert it. thank you Thanks - -Khem -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using

Re: ARM EABI / Thumb vs. gdb

2008-07-17 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Johannes Stezenbach wrote: Hi, I've built an ARM EABI toolchain with uClibc compiled as Thumb code using buildroot (BR2_TARGET_OPTIMIZATION=-Os -mthumb). This works fine except that in gdb (6.8), if you stop your program with some threads

Re: MIPS NPTL

2008-07-21 Thread Khem Raj
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mile Davidovic wrote: Hello I saw that we have some acitivites regarding adding NPTL to uCLibC but when I tried to build such toolchain I am faced with some issues. you have to tell us what issue is if you want some help. Do we have support

Re: Changing runtime directory

2008-07-28 Thread Khem Raj
On (27/07/08 16:31), [EMAIL PROTECTED] wrote: Hello! I am pretty new to this mailing list and the whole uclibc thing and I ave a question: I downloaded the pre-installed buildroot toolchain, mounted the image, copied my sources in it and chrooted in the toolchain. I am building my

Re: svn commit: branches/uClibc-nptl: include libc/stdlib/malloc-standard libc etc...

2008-07-29 Thread Khem Raj
On (29/07/08 16:50), Carmelo AMOROSO wrote: Carmelo AMOROSO wrote: [EMAIL PROTECTED] wrote: Author: kraj Date: 2008-07-11 15:22:24 -0700 (Fri, 11 Jul 2008) New Revision: 22805 Log: Signed-off-by: Khem Raj [EMAIL PROTECTED] Hush compiler for extern inline warnings by using __extern_inline

Re: svn commit: branches/uClibc-nptl: include libc/stdlib/malloc-standard libc etc...

2008-07-29 Thread Khem Raj
On (29/07/08 17:50), Carmelo AMOROSO wrote: [EMAIL PROTECTED] wrote: Author: kraj Date: 2008-07-11 15:22:24 -0700 (Fri, 11 Jul 2008) New Revision: 22805 Log: Signed-off-by: Khem Raj [EMAIL PROTECTED] Hush compiler for extern inline warnings by using __extern_inline macro

Re: About mtrace in uClibc

2008-08-04 Thread Khem Raj
2008/8/4 Kaiyu [EMAIL PROTECTED]: Hi list, The glibc has a facility to trace memory problems. It is called mtrace(). Does uClibc also has this function? No I want to generate the mtrace() and mcheck.h via uClibc-0.9.29. If answer is yes, what should I do? Thanks. Sam --- 本郵件來自HiNet

Re: svn commit: branches/uClibc-nptl/test/dlopen

2008-08-18 Thread Khem Raj
On Sat, Aug 16, 2008 at 1:27 AM, Carmelo Amoroso [EMAIL PROTECTED] wrote: On 15/08/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Author: kraj Date: 2008-08-14 22:28:09 -0700 (Thu, 14 Aug 2008) New Revision: 23082 Log: Use pthread_once now __pthread_once is not defined in tests. Hi

Re: Has uClibc passed the LTP tests?

2008-09-05 Thread Khem Raj
On (05/09/08 15:24), Corinna Schultz wrote: Hello, all. I'm trying to track down a bug in the fadvise functions. I'm seeing a failure in the LTP tests for posix_fadvise and posix_fadvise64, on a ppc 32 machine. The specific failures are: * in the posix_fadvise64 tests, the function

Re: uClibc-0.9.29 Compilation error for mips32

2008-09-11 Thread Khem Raj
On (09/09/08 20:05), Gurminder wrote: Hi, I tried compiling uClibc-0.9..29 for MIPS32 Big endian arch. Cross Compiler used - mips-linux-gcc 3.4.4 Host Distro - Fedora Core 4 Kernel Headers used = mips-linux-2.6.15 First Error I get is AS lib/crti.o

Re: set fPIC option for librt

2008-09-11 Thread Khem Raj
On (11/09/08 19:32), JACOB BENJAMIN-VGH684 wrote: Hello ppl, I am totally new to uClibc. I did search for my problem in the archives but could not really find a solution. My problem: I wrote a simple program : #include time.h #include stdio.h int main()

Re: pthreads stress test hangs on read() returning EINTR

2008-09-18 Thread Khem Raj
On (16/09/08 08:16), Chase Douglas wrote: On Sep 16, 2008, at 3:22 AM, Bernhard Reutner-Fischer wrote: On Mon, Sep 15, 2008 at 05:30:46PM -0400, Chase Douglas wrote: Hello all, I submitted this as a bug report on uclibc.org (http://busybox.net/bugs/view.php?id=4994). I wanted to be sure

Re: pthreads stress test hangs on read() returning EINTR

2008-09-18 Thread Khem Raj
On (18/09/08 13:44), Chase Douglas wrote: On Sep 18, 2008, at 2:36 AM, Khem Raj wrote: On (16/09/08 08:16), Chase Douglas wrote: On Sep 16, 2008, at 3:22 AM, Bernhard Reutner-Fischer wrote: On Mon, Sep 15, 2008 at 05:30:46PM -0400, Chase Douglas wrote: Hello all, I submitted this as a bug

Re: strncmp(aa, ab, -1)

2008-09-24 Thread Khem Raj
On Wed, Sep 24, 2008 at 1:09 AM, Tobias Poschwatta [EMAIL PROTECTED] wrote: Hi, while investigating wrong results from busybox's uniq applet, I found that strncmp returns unexpected results for n == -1. Here's the test program: #include stdio.h #include stdlib.h #include string.h int

Re: strncmp(aa, ab, -1)

2008-09-24 Thread Khem Raj
On Wed, Sep 24, 2008 at 11:15 AM, Tobias Poschwatta [EMAIL PROTECTED] wrote: On Wed, Sep 24, 2008 at 11:03:24AM -0700, Khem Raj wrote: which version of uclibc its failing on. Did you try it on trunk ? It's svn://uclibc.org/trunk/uClibc checked out on or around Jul 17, 2008. I can

Re: strncmp(aa, ab, -1)

2008-09-25 Thread Khem Raj
On Wed, Sep 24, 2008 at 4:17 PM, Tobias Poschwatta [EMAIL PROTECTED] wrote: On Wed, Sep 24, 2008 at 01:33:52PM -0700, Khem Raj wrote: I can not reproduce it on a eabi system and there has been few changes in this file. I do not have oabi system to test against. Can you try same on eabi system

Re: Internal compiler error building m68k.

2008-09-30 Thread Khem Raj
On Tue, Sep 30, 2008 at 12:12 AM, Bernhard Reutner-Fischer [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 09:28:57PM -0500, Rob Landley wrote: On Monday 29 September 2008 10:56:04 Bernhard Reutner-Fischer wrote: On Sun, Sep 28, 2008 at 11:55:53AM -0500, Rob Landley wrote: So with the attached

Re: fenv.h missing, gcc-4.3.1 issue

2008-10-05 Thread Khem Raj
On (27/08/08 11:17), Kevin Day wrote: gcc-4.3.1 seems to need fenv.h, or more specifically information from within bits/fenv.h. Because bits/fenv.h should not be directly included a stub fenv.h needs to be created so that '#include fenv.h' works. Currently, no fenv.h exists as far as I can

Re: [MIPS] syscall() segv on mips1

2008-10-24 Thread Khem Raj
On Thu, Oct 23, 2008 at 9:12 PM, Maxime Bizon [EMAIL PROTECTED] wrote: On Thu, 2008-10-23 at 02:08 +0900, Atsushi Nemoto wrote: Hello Atsushi, diff -u uClibc-0.9.30-rc2/libc/sysdeps/linux/mips/syscall.S uClibc/libc/sysdeps/linux/mips/syscall.S ---

Re: missing implementation of pthread_spin_lock() in linuxthreads.old

2008-11-06 Thread Khem Raj
On (07/11/08 13:55), angus salkeld wrote: Hi I have an application (corosync www.openais.org) that uses pthread_spin_lock(). I am building for a powerpc (e500 e300) target. What version of uClibc and pthread implementation do you recommend? I am currently using

Re: make clean doesn't work with dash

2008-11-06 Thread Khem Raj
On (07/11/08 08:47), Peter Korsgaard wrote: Rob == Rob Landley [EMAIL PROTECTED] writes: Hi, Rob Nothing works properly with the Defective Annoying Shell. Ubuntu broke Rob the /bin/sh link and nobody should use it anymore. Rob Set the make environment variable MAKE=/bin/bash. I

Re: mknod bug (in uClibc)

2008-11-14 Thread Khem Raj
I posted a patch back in march which got lost in the pile. http://www.uclibc.org/lists/uclibc/2008-March/019155.html Thx -Khem On Thu, Nov 13, 2008 at 8:21 PM, Rob Landley [EMAIL PROTECTED] wrote: On Thursday 13 November 2008 18:55:31 Doug Graham wrote: On Thu, Nov 13, 2008 at 06:48:41PM

Re: undefined symbols in uclibc from today

2008-11-23 Thread Khem Raj
On Sat, Nov 22, 2008 at 6:39 AM, Denys Vlasenko [EMAIL PROTECTED] wrote: On Saturday 22 November 2008 07:24, Khem Raj wrote: Hmm so this wcsxfrm is guarded by UCLIBC_HAS_LOCALE config option. your patch just exposed it. If you are saying that I am not guilty that's nice to hear, bur I am

Re: svn commit: branches/uClibc-nptl/libc/inet

2008-11-23 Thread Khem Raj
I do not propose it to be removed. I want it to be explained in the comment in the Makefile. It has been explained when it was added. I did not want to repeat the same comment again. (see r13095) I looked at it and it _looks_ like it is not needed. Actually, I still don't see why it is

Re: undefined symbols in uclibc from today

2008-11-25 Thread Khem Raj
Thanks Denys for hunting it down. On Tue, Nov 25, 2008 at 6:29 AM, Filippo ARCIDIACONO [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Khem Raj Sent: Sunday, November 23, 2008 9:22 AM To: Denys Vlasenko Cc: uclibc

This commit 24151

2008-11-25 Thread Khem Raj
Hi Bernhard, This commit here http://uclibc.org/lists/uclibc-cvs/2008-November/012799.html doesn't go well with lt.old this lock is shared with lt.old so you can not hide it as it is without letting Lt.old know about it or have alternative for LT.old there. Secondly you also seem to have

Re: What is the preferred code style for uclibc?

2008-12-02 Thread Khem Raj
On (02/12/08 16:27), Bernd Schmidt wrote: Denys Vlasenko wrote: I merely plan to follow the agreed-on style in the code I touch. IMO for code that is just touched, following the existing style in that file is best. may be we should mention reccomended style in the dev guide Thx -Khem

Re: include/bits/socket.h

2008-12-02 Thread Khem Raj
On (02/12/08 17:04), Tobias Poschwatta wrote: Hi, I think there's a problem with include/bits/socket.h when compiling with g++. My test program is trivial: #include sys/socket.h int main(int argc, char **argv) { return 0; } It compiles fine with gcc, but doesn't with g++: # g++

Re: Strange location of kernel-features.h

2008-12-04 Thread Khem Raj
I dont see where the file got added after removing. On Thu, Dec 4, 2008 at 5:41 AM, Carmelo AMOROSO [EMAIL PROTECTED] wrote: Carmelo AMOROSO wrote: Carmelo AMOROSO wrote: Peter Kjellerstedt wrote: Can anyone explain to me why kernel-features.h is placed in

Re: [PATCH] bug in __check_pf() (getaddrinfo.c)

2008-12-05 Thread Khem Raj
Getting NULL for ifa_addr means that the interface has no address. Do you know in what cases does this happen. Patch looks ok though. On Fri, Dec 5, 2008 at 1:16 PM, Hiroshi Shinji [EMAIL PROTECTED] wrote: Hi, I built root file system using buildroot, but some commands (ping(busybox), sshd,

Re: [PATCH] bug in __check_pf() (getaddrinfo.c)

2008-12-08 Thread Khem Raj
On (08/12/08 10:35), Carmelo Amoroso wrote: On 07/12/2008, Ricard Wanderlof [EMAIL PROTECTED] wrote: On Sat, 6 Dec 2008, Hiroshi Shinji wrote: Hi Khem, Thanks for your comment. 2008/12/6 Khem Raj [EMAIL PROTECTED]: Getting NULL for ifa_addr means that the interface has no address

Re: What is the preferred code style for uclibc?

2008-12-09 Thread Khem Raj
On (08/12/08 17:44), Rob Landley wrote: On Tuesday 02 December 2008 12:04:47 Khem Raj wrote: On (02/12/08 16:27), Bernd Schmidt wrote: Denys Vlasenko wrote: I merely plan to follow the agreed-on style in the code I touch. IMO for code that is just touched, following

Re: NPTL branch temporarily broken

2008-12-10 Thread Khem Raj
On (10/12/08 17:52), Carmelo AMOROSO wrote: Carmelo AMOROSO wrote: Carmelo AMOROSO wrote: Hi Khem, I'm seeing similar problem on sh4-nptl as happened to you as you told me yesterday.. Something recently merged is causing issues. I'm doing investigation and keep you all informed. Further

Re: segfault with static programs that don't use stdio functions

2008-12-10 Thread Khem Raj
On (11/12/08 01:57), Denys Vlasenko wrote: On Wednesday 10 December 2008 15:57, Tino Keitel wrote: So, _stdio_init() was called because the NULL check failed for some reason: if (likely(_stdio_init != NULL)) _stdio_init(); Without the likely(), the segfault also

Re: NPTL branch temporarily broken

2008-12-12 Thread Khem Raj
arm is still seing crashes in sysvinit. I can boot into busybox shell. On Fri, Dec 12, 2008 at 5:32 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: Carmelo AMOROSO wrote: Denys Vlasenko wrote: On Wednesday 10 December 2008 10:06, Carmelo AMOROSO wrote: Carmelo AMOROSO wrote: Hi Khem,

Re: Why not merge NTPL now?

2008-12-12 Thread Khem Raj
On Fri, Dec 12, 2008 at 3:40 PM, Denys Vlasenko vda.li...@googlemail.com wrote: Hi Carmelo, Bernhard, Having not much experience with working on a branch, I am possibly asking a stupid question, but why Carmelo is working on a branch now, after 0.9.30 is out? His code seems to be nearly

Re: Why not merge NTPL now?

2008-12-12 Thread Khem Raj
On (13/12/08 03:35), Denys Vlasenko wrote: On Saturday 13 December 2008 00:53, Khem Raj wrote: On Fri, Dec 12, 2008 at 3:40 PM, Denys Vlasenko vda.li...@googlemail.com wrote: Hi Carmelo, Bernhard, Having not much experience with working on a branch, I am possibly asking a stupid

struct BUG_sigset_size

2009-01-09 Thread Khem Raj
Hi Denys Shouldn't this check be like the one in the patch Thx -Khem patch Description: Binary data ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

Re: uclibc-nptl build error on arm

2009-01-14 Thread Khem Raj
FWIW rev 24450 is the last working version on arm. We were planning to merge in branch into head You might want to stick to above rev Thx -Khem On Wed, Jan 14, 2009 at 6:49 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: Mikael Lund Jepsen, ICCC wrote: Hi all, I've brought down the

Re: your mail

2009-01-14 Thread Khem Raj
On (14/01/09 17:07), Natanael Copa wrote: Hi, This test program segfaults for me on x86, hardened gcc-4.3.2 and uclibc-0.9.30: #include stdio.h #include ctype.h int main(void) { printf(%i\n, isalnum(0x1)); return 0; } If the ctype.h include is commented out it

Re: uclibc-nptl build error on arm

2009-01-15 Thread Khem Raj
On Thu, Jan 15, 2009 at 5:44 AM, Mikael Lund Jepsen, ICCC m...@iccc.dk wrote: Khem Raj wrote: FWIW rev 24450 is the last working version on arm. We were planning to merge in branch into head You might want to stick to above rev Thanks Khem. I have pulled out rev 24450, but am now running

Re: questions about uclibc 0.9.30 elf type FILE

2009-01-21 Thread Khem Raj
On Wed, Jan 21, 2009 at 4:02 PM, Kevin Day thekevin...@gmail.com wrote: During a test compilation of my system under uClibc 0.9.30, xterm failed to link because the function getpt was unresolved. Looking in /lib/libc.so of 0.9.30 with readelf showed that getpt was defined as type FILE with a

Re: errno.h does not properly include uCLibc_errno.h header

2009-01-22 Thread Khem Raj
On Thu, Jan 22, 2009 at 9:36 AM, Carmelo AMOROSO carmelo.amor...@st.com wrote: Folks, looking at include/errno.h I've noted that the following line: #if defined _LIBC ( defined IS_IN_libc || defined NOT_IN_libc ) #include bits/uClibc_errno.h #endif IIUC, we would wand to include

Re: questions about uclibc 0.9.30 elf type FILE

2009-01-22 Thread Khem Raj
On Thu, Jan 22, 2009 at 10:39 AM, Kevin Day thekevin...@gmail.com wrote: On Wed, Jan 21, 2009 at 9:35 PM, Kevin Day thekevin...@gmail.com wrote: On Wed, Jan 21, 2009 at 8:43 PM, Khem Raj raj.k...@gmail.com wrote: On Wed, Jan 21, 2009 at 4:02 PM, Kevin Day thekevin...@gmail.com wrote: During

Re: error building uclibc 0.9.30 with kernel 2.6.28.1

2009-01-22 Thread Khem Raj
you need to install kernel-headers On Thu, Jan 22, 2009 at 10:03 AM, mailingli...@openelec.tv wrote: Hi, when i build uclibc-0.9.30 with kernel 2.6.28.1 i have follow error (not with 2.6.27.10): make: Entering directory `/home/stephan/OpenElec.test/build.i386.uClibc/uClibc-0.9.30' AS

Re: add __adjtimex to get ntpd to work properly

2009-01-29 Thread Khem Raj
On 1/28/2009 5:11 PM, David Mosberger-Tang wrote: Hi, Without the attached patch, ntpd from ntp-4.2.4p5 failed to sync with the Linux kernel because it wants to use __adjtimex (not adjtimex). Note that the configure's AC_CHECK_FUNCS() goes to some length to verify that __adjtimex is

Re: First Mail to the list

2009-01-30 Thread Khem Raj
On (31/01/09 10:08), Prashant Sangal wrote: Hello Friends, This is my first mail to this list.I want to know the list etiquettes to avoid posting wrong type of questions. Welcome. http://uclibc.org/lists.html tells a bit. If you have anything about uclibc this list would be appropriate

Re: libstc++ and locale issue

2009-02-11 Thread Khem Raj
On (11/02/09 18:29), Carmelo AMOROSO wrote: I can see three different solutions 1) remove the #ifdef _LIBC from within bits/uClibc_locale.h if possible this would be good. or 2)if possible, we should not sanitise this header or 3) change #ifdef _LIBC to something different (i.e.

Re: FW: Directory Structure

2009-02-12 Thread Khem Raj
On Thu, Feb 12, 2009 at 9:21 PM, Benny k j benny...@hotmail.com wrote: Hi, I am new to this mailing list and uclibc. Recently I setup a cross-tool chain for my arm (AT91RM9200) processor using Build root 2009.02. Even though i got a working toolchain I'm pretty confused with the directory

[patch] Separate out creat() implementation from open.c

2009-03-04 Thread Khem Raj
() to its own file. This way we get the creat implementation and it uses the nptl version of open to implement it when using nptl. OK for trunk and uClibc-nptl branch ? Thanks -Khem Signed-off-by: Khem Raj k...@uclibc.org Index: libc/sysdeps/linux/common/creat.c

[PATCH] Separate out create () implementation from open.c

2009-03-04 Thread Khem Raj
() on nptl. This patch separates out the creat () implementation into its own file. that way we get creat () in nptl too. OK for trunk and uClibc-nptl branch ? Thx -Khem Signed-off-by: Khem Raj k...@uclibc.org Index: libc/sysdeps/linux/common/creat.c

Using svnmerge for uclibc-nptl branch

2009-03-05 Thread Khem Raj
Hi I found it handy and thought would be good to share. Ignore of you already use it. You can use svnmerge to merge changes from trunk into nptl branch svnmerge avail should show you available revs to be merged and svnmerge merge will merge them into your working tree. It also generates a

Re: strtouq on 64bit

2009-03-10 Thread Khem Raj
On Tue, Mar 10, 2009 at 9:46 AM, Peter Korsgaard jac...@sunsite.dk wrote: Hi, The bsd extension strtouq (which maps to strtoull() on 32bit and strtoul on 64bit) is currently only available on 32bit: i586-linux-nm -D ./libuClibc-0.9.30.so|grep strtou 00046525 T strtoul 00046769 T strtoul_l

Re: NPTL support for MIPS

2009-03-12 Thread Khem Raj
are welcome Thanks Sagar ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc -- Khem Raj signature.asc Description: This is a digitally signed message part

Re: [Buildroot] MIPS arch on NPTL branch

2009-03-12 Thread Khem Raj
out as I have MIPS hardware. Can you try to enable additional debugging in ldso and post the logs till when it segfaults. -- Khem Raj signature.asc Description: This is a digitally signed message part. ___ uClibc mailing list uClibc@uclibc.org http

Re: Linking Error: relocation truncated to fit: R_68K_PC16

2009-03-13 Thread Khem Raj
On (13/03/09 18:40), Groleo Marius wrote: Hi list, I'm trying my luck compiling uClibc on a m68k Coldfire 5475 processor. I modified the Makefiles so the sources gets compiled with the -fPIC flag but I still get the error:

Re: svn commit: [25556] trunk/uClibc/libc/sysdeps/linux/common

2009-03-16 Thread Khem Raj
in this tarball. + */ considering you simply moved the content from open.c, the notice of open.c should have been retained (having this new one at all is debatable) yes indeed. It was oversight. -mike -- Khem Raj signature.asc Description: This is a digitally signed message part

Re: thread notification support in librt

2009-03-18 Thread Khem Raj
. Correct me if I am wrong. Is uclibc planning to add this feature in new release? If not can anyone guide me how can I patch in uclibc to add this feature? You might try to use NPTL implementation from uClibc-nptl branch. -- Khem Raj signature.asc Description: This is a digitally signed

Re: NPTL support for ARM

2009-03-19 Thread Khem Raj
On Thu, Mar 19, 2009 at 12:52 AM, Christian Eggers wgn...@freenet.de wrote: The branch should still work. Try it out and report whats missing. It has been synced with trunk recently but it does not have all the changes. I've tried to build an ARM NPTL toolchain with buildroot. Therefore I've

Re: [PATCH] Elf loader unable to load shared libraries.

2009-03-27 Thread Khem Raj
here. Thx -- Khem Raj signature.asc Description: This is a digitally signed message part. ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

Re: stack size (per thread) ??

2009-04-01 Thread Khem Raj
On Wed, Apr 1, 2009 at 5:38 AM, alessio.ste...@gidi.it wrote: Excuse me I am cross compiling for an embedded system that my colleague has build up using buildroot and uclibc I have a strange behaviour of my code so i asked him how much is the stack size (per thread) but he doesn't know

Re: [PATCH] Get rid of the ARM variant choice in the menuconfig, take 2

2009-04-09 Thread Khem Raj
iwmmxt with old abi. I think leaving all these individually configurable could bring more trouble because people could get them wrong easily if there are more knobs. I think we should leave in the unique ones in there as it makes the config easy to use for someone. -- Khem Raj signature.asc

Re: Cortex A8 support for uclibc

2009-04-09 Thread Khem Raj
-- Khem Raj signature.asc Description: This is a digitally signed message part. ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

Re: [PATCH] Elf loader unable to load shared libraries.

2009-04-09 Thread Khem Raj
On Tuesday 07 April 2009 01:48:56 am Groleo Marius wrote: On Sat, Mar 28, 2009 at 8:37 AM, Khem Raj raj.k...@gmail.com wrote: On Friday 27 March 2009 08:58:07 Groleo Marius wrote: I had some problems compiling and later, using shared libraries from uClibc-0.9.30.1 on a Coldfire M5485

Re: MIPS NPTL patches [1/3]

2009-04-09 Thread Khem Raj
with out this ? #ifdef __UCLIBC_HAS_THREADS_NATIVE__ #include sysdep-cancel.h #endif -- patch end -- Khem Raj signature.asc Description: This is a digitally signed message part. ___ uClibc mailing list uClibc@uclibc.org http

Re: MIPS NPTL patches

2009-04-09 Thread Khem Raj
\ -- end patch -- Khem Raj signature.asc Description: This is a digitally signed message part. ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

  1   2   3   4   5   >