Re: I just uploaded a photo that I want you to see!

2009-10-28 Thread Mike Frysinger
ive punted this guy from the list -mike signature.asc Description: This is a digitally signed message part. ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

Re: Quick and dirty malloc() support for realpath.

2009-10-28 Thread Mike Frysinger
On Tuesday 27 October 2009 13:46:19 Chris Gray wrote: On Tuesday 27 October 2009 08:54:50 Ricard Wanderlof wrote: It can produce more readable, less error-prone C code though. We use hardware register definitions such as typedef struct { unsigned int x : 8; unsigned int y : 8;

Re: Quick and dirty malloc() support for realpath.

2009-10-28 Thread Mike Frysinger
On Tuesday 27 October 2009 15:44:42 Rob Landley wrote: On Tuesday 27 October 2009 05:51:05 Bernhard Reutner-Fischer wrote: On Tue, Oct 27, 2009 at 08:54:50AM +0100, Ricard Wanderlof wrote: On Mon, 26 Oct 2009, Rob Landley wrote: ... Also, in my experience _Bool is about as real-world useful

Re: Quick and dirty malloc() support for realpath.

2009-10-28 Thread Mike Frysinger
On Wednesday 28 October 2009 03:47:03 Mike Frysinger wrote: while the memory leakage needs to be addressed, the answer isnt with alloca. the spec states that it must be via malloc(), but even ignoring that, it also states that the caller must call free() on the returned pointer. obviously

Re: Quick and dirty malloc() support for realpath.

2009-10-28 Thread Mike Frysinger
On Tuesday 27 October 2009 15:44:42 Rob Landley wrote: On Tuesday 27 October 2009 05:51:05 Bernhard Reutner-Fischer wrote: On Tue, Oct 27, 2009 at 08:54:50AM +0100, Ricard Wanderlof wrote: On Mon, 26 Oct 2009, Rob Landley wrote: ... Also, in my experience _Bool is about as real-world useful

Re: Quick and dirty malloc() support for realpath.

2009-10-28 Thread Mike Frysinger
On Wednesday 28 October 2009 04:57:01 Peter Kjellerstedt wrote: From: Mike Frysinger [ cut ] @@ -114,6 +114,8 @@ char got_path[]; while (*path != '\0' *path != '/') { if (new_path max_path) { __set_errno(ENAMETOOLONG

Re: Quick and dirty malloc() support for realpath.

2009-10-26 Thread Mike Frysinger
On Sunday 25 October 2009 15:19:49 Rob Landley wrote: - int readlinks = 0; + int readlinks = 0, allocated = 0; ... + if (!got_path) { + got_path = alloca(PATH_MAX); + allocated++; + } ... + if (allocated) got_path = strdup(got_path); it doesnt

Re: uClibc prelink

2009-10-24 Thread Mike Frysinger
On Friday 23 October 2009 15:53:53 Carmelo Amoroso wrote: Joakim Tjernlund wrote: Hi All, just to inform you that we (@STMicroelectronics) are working to extend uClibc ld.so to support prelinking. This would go through several steps because there are some missing feature in uClibc.

Re: preparing 0.9.30.2

2009-10-17 Thread Mike Frysinger
On Saturday 17 October 2009 18:30:53 Stephan Raue wrote: when i am compiling uClibc-0.9.30.2 from today i become follow error: CC libc/string/wcslcpy.os libc/string/strlcpy.c:62: error: '__EI_wcsxfrm' aliased to undefined symbol '__GI_wcsxfrm' make: *** [libc/string/wcslcpy.os] Error 1

Re: pthread and dynamically linked librairies

2009-10-15 Thread Mike Frysinger
On Thursday 15 October 2009 02:41:10 Natanael Copa wrote: On Wed, 2009-10-14 at 09:20 -0700, Cuero Bugot wrote: .. The prb is that I get a segfault when I try to use pthread_create from a dynamically linked library. The difference with the above fix use case is that I manually link the

Re: [git commit master] ldso/: tls support for dynamic linker

2009-10-15 Thread Mike Frysinger
On Thursday 15 October 2009 16:36:12 Austin Foxley wrote: On 10/15/2009 01:26 PM, Mike Frysinger wrote: i dont know if you're merging this from somewhere or writing it yourself, but this is full of style problems. whoever is the source needs to fix their behavior. trailing whitespace

Re: [git commit master] ldso/: tls support for dynamic linker

2009-10-15 Thread Mike Frysinger
On Thursday 15 October 2009 17:15:26 Austin Foxley wrote: On 10/15/2009 02:11 PM, Joseph S. Myers wrote: The NPTL branch certainly once effectively had a lot of bogus reversions of trunk changes, stemming from SVN's inability to track the state of merges that had only merged some trunk

Re: Fix SH bits/kernel_types.h for new kernel headers

2009-10-14 Thread Mike Frysinger
On Tuesday 13 October 2009 21:42:56 Joseph S. Myers wrote: Recent SH kernel headers merge 32-bit and 64-bit headers, changing the include guards on asm/posix_types.h in the process. Does this patch seem OK to commit to fix the resulting uClibc build failures? go for it (I have not tried

Re: [Buildroot] dead link report.

2009-10-13 Thread Mike Frysinger
On Tuesday 13 October 2009 03:28:13 Peter Korsgaard wrote: It would be good to get the buildroot references in http://uclibc.org/toolchains.html updated. the uClibc website is in a normal git repo for people to push to -mike signature.asc Description: This is a digitally signed message part.

Re: [Buildroot] dead link report.

2009-10-13 Thread Mike Frysinger
On Tuesday 13 October 2009 06:02:50 Peter Korsgaard wrote: Mike == Mike Frysinger vap...@gentoo.org writes: On Tuesday 13 October 2009 03:28:13 Peter Korsgaard wrote: It would be good to get the buildroot references in http://uclibc.org/toolchains.html updated. the uClibc website

Re: [Buildroot] dead link report.

2009-10-13 Thread Mike Frysinger
On Tuesday 13 October 2009 06:03:57 Peter Korsgaard wrote: Mike == Mike Frysinger vap...@gentoo.org writes: the uClibc website is in a normal git repo for people to push to .. except that I'm not in the uclibc group so I cannot. `git send-email` still works though ;) -mike signature.asc

Re: [PATCH] toolchains.html: fix links to ancient buildroot release

2009-10-13 Thread Mike Frysinger
pushed, thanks ;) -mike signature.asc Description: This is a digitally signed message part. ___ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc

Re: Buildroot with uClibc 0.9.29

2009-10-13 Thread Mike Frysinger
On Tuesday 13 October 2009 09:33:36 Souvik Ghosh wrote: I am trying to build a toolchain for ARM 926t with uclibc version 0.9.29. I have checked the buildroot releases and found that release 2009.02 allows to change uClibc version to 0.9.29 through make menuconfig interface. But when I compile

Re: wine and dll linking

2009-10-13 Thread Mike Frysinger
On Tuesday 13 October 2009 10:03:35 Natanael Copa wrote: I got wine compiled and notepad.exe runs. I get errors when loading windows dll's though. should start with a small app that shows the problem, and then post info on how to reproduce the issue ... otherwise, you're pretty much on your

Re: gethostbyname

2009-10-13 Thread Mike Frysinger
On Tuesday 13 October 2009 20:20:54 Timothy Holdener wrote: +#ifdef FALLBACK_TO_CONFIG_RESOLVCONF + if (stat(/etc/config/resolv.conf, sb) 0) +#endif yikes, such things really dont belong in uClibc proper (i dont think they belong in anyone's uClibc). you could just post

Re: link error with uclibc

2009-10-09 Thread Mike Frysinger
On Friday 09 October 2009 00:15:10 loody wrote: 2009/10/5 Mike Frysinger vap...@gentoo.org: On Sunday 04 October 2009 12:16:16 loody wrote: I cross-compile a standalone test program with toolchain build with uclibc. and there are some errors as what I attach at the end of letter. I search

Re: [git commit master] No need for a libresolv stub

2009-10-07 Thread Mike Frysinger
On Thursday 17 September 2009 10:57:13 Bernhard Reutner-Fischer wrote: On Thu, Sep 17, 2009 at 10:51:31AM -0400, Mike Frysinger wrote: lib-a-$(UCLIBC_HAS_RESOLV_STUB) += ... ? yes, of course. Please adjust libcrypt too while at it :) done -mike signature.asc Description

Re: link error with uclibc

2009-10-04 Thread Mike Frysinger
On Sunday 04 October 2009 12:16:16 loody wrote: I cross-compile a standalone test program with toolchain build with uclibc. and there are some errors as what I attach at the end of letter. I search the uclibc source and I find the there is no variable, __nedf2, in _fpmaxtostr.c. but why

Re: [Fwd: [git commit synch] Commit MERGE into synch with uclibc.org/nptl]

2009-09-29 Thread Mike Frysinger
On Sunday 27 September 2009 03:23:09 Carmelo Amoroso wrote: Wrong heads deletion failed with this log carm...@xubumac:~/work/git/uClibc$ git push -v origin :refs/heads/synch Pushing to git+ssh://carm...@uclibc.org/git/uClibc.git fatal: bad object

Re: is rpmatch in uClibc?

2009-09-26 Thread Mike Frysinger
On Saturday 26 September 2009 01:36:31 Stephan Raue wrote: is rpmatch in uclibc? no -mike 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][MIPS] Do not save variables in hi or lo across system calls

2009-09-26 Thread Mike Frysinger
On Friday 25 September 2009 18:48:39 Daniel Jacobowitz wrote: The kernel does not save these registers across system calls. GCC 4.4 has gotten more agressive about using them for temporary variables, so this shows up as intermittent crashes if you use a recent compiler. merge, thanks btw,

Re: is rpmatch in uClibc?

2009-09-26 Thread Mike Frysinger
On Saturday 26 September 2009 16:18:49 Stephan Raue wrote: Am 26.09.2009 13:45, schrieb Mike Frysinger: On Saturday 26 September 2009 01:36:31 Stephan Raue wrote: is rpmatch in uclibc? no is there any interest to include this? i have made a patch that include this in stdlib. if it's

Re: is rpmatch in uClibc?

2009-09-26 Thread Mike Frysinger
On Saturday 26 September 2009 17:23:20 Stephan Raue wrote: Am 26.09.2009 22:43, schrieb Mike Frysinger: On Saturday 26 September 2009 16:18:49 Stephan Raue wrote: Am 26.09.2009 13:45, schrieb Mike Frysinger: On Saturday 26 September 2009 01:36:31 Stephan Raue wrote: is rpmatch in uclibc

Re: [PATCH 1/6] Config.in: enable TLS config option only for nptl

2009-09-23 Thread Mike Frysinger
On Wednesday 23 September 2009 10:53:23 Austin Foxley wrote: On 09/23/2009 07:40 AM, Carmelo Amoroso wrote: diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index efa90d7..3d1a929 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -403,7 +403,7 @@ config

Re: [git commit nptl] guard tls.h include

2009-09-22 Thread Mike Frysinger
On Sunday 20 September 2009 15:39:44 Austin Foxley wrote: On 09/18/2009 07:00 PM, Austin Foxley wrote: commit: http://git.uclibc.org/uClibc/commit/?id=f424be8dbc4d1238274348fd2200ac431 e13b33a branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl Signed-off-by: Austin Foxley

Re: [PATCH] add timerfd function

2009-09-22 Thread Mike Frysinger
On Friday 18 September 2009 12:11:33 Stephan Raue wrote: last Night i am included my needed timerfd functions to uClibc (Master). Because i am not a coder i have do this with the LATTUCAR (Loock And Think, Trying Understanding, Copy And Replace) Method. Now Wayland

Re: [git commit master] raise: remove unused hidden weak symbol __raise

2009-09-19 Thread Mike Frysinger
On Saturday 19 September 2009 04:13:35 Bernhard Reutner-Fischer wrote: On Sat, Sep 19, 2009 at 02:51:20AM +0200, Denys Vlasenko wrote: commit: http://git.uclibc.org/uClibc/commit/?id=2528a3f6c2fa13d55eb1d65be9978e59c c39df8b branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Re: [git commit master] raise: remove unused hidden weak symbol __raise

2009-09-19 Thread Mike Frysinger
On Saturday 19 September 2009 09:40:36 Denys Vlasenko wrote: On Saturday 19 September 2009 10:13, Bernhard Reutner-Fischer wrote: On Sat, Sep 19, 2009 at 02:51:20AM +0200, Denys Vlasenko wrote: commit: http://git.uclibc.org/uClibc/commit/?id=2528a3f6c2fa13d55eb1d65be9978e5 9cc39df8b

Re: [git commit master] No need for a libresolv stub

2009-09-17 Thread Mike Frysinger
On Thursday 17 September 2009 03:29:59 Bernhard Reutner-Fischer wrote: +ifeq ($(UCLIBC_HAS_RESOLV_STUB),y) lib-a-y += $(top_builddir)lib/libresolv.a lib-so-y += $(top_builddir)lib/libresolv.so +endif lib-a-$(UCLIBC_HAS_RESOLV_STUB) += ... ? -mike signature.asc Description: This is a

Re: [PATCH][SH] sys/user.h

2009-09-16 Thread Mike Frysinger
On Wednesday 16 September 2009 05:11:30 Andrew Stubbs wrote: On 15/09/09 23:05, Mike Frysinger wrote: we use git now, and this patch was against the glibc repo rather than the uClibc repo, so i had to redo all of the lower cruft. i added your s-o-b tag since you wrote the code. Huh

Re: [PATCH] Add dn_skipname() from OpenBSD

2009-09-16 Thread Mike Frysinger
On Wednesday 16 September 2009 07:53:36 Bernhard Reutner-Fischer wrote: On Wed, Sep 16, 2009 at 11:32:20AM +, Natanael Copa wrote: dn_skipname() is needed by a few applications like yate, wine, kde, libspf2 and probably more. This function is non-standard and as such must not be

Re: [PATCH] Add dn_skipname() from OpenBSD

2009-09-16 Thread Mike Frysinger
On Wednesday 16 September 2009 13:05:26 Bernhard Reutner-Fischer wrote: On Wed, Sep 16, 2009 at 10:18:19AM -0400, Mike Frysinger wrote: On Wednesday 16 September 2009 07:53:36 Bernhard Reutner-Fischer wrote: libresolv is one giant pile of shit really (not specific to uClibc). it's something

Re: [PATCH][SH] sys/user.h

2009-09-15 Thread Mike Frysinger
On Tuesday 15 September 2009 03:28:52 Andrew Stubbs wrote: This patch makes sufficient modifications to the SH sys/user.h to be able to build and run gdbserver with Linux kernel 2.6.30. The problem is that both the kernel and library headers define the same symbols, thus making it impossible

Re: adding timerfd funktions

2009-09-14 Thread Mike Frysinger
On Monday 14 September 2009 01:54:17 Stephan Raue wrote: is it possible to add timerfd funktions (and timerfd.h) to uclibc? i need this to because i am trying build wayland. functions get implemented a lot faster when someone posts a patch. otherwise, someone will eventually get around to

Re: KR prototypes?

2009-09-13 Thread Mike Frysinger
On Saturday 12 September 2009 16:57:34 Rob Landley wrote: On Saturday 12 September 2009 07:11:04 Mike Frysinger wrote: On Friday 11 September 2009 19:52:09 Rob Landley wrote: My question is what standards is uClibc built against? C99 has been out for a decade, and C89 (ala ANSI C) has

Re: KR prototypes?

2009-09-12 Thread Mike Frysinger
On Friday 11 September 2009 19:52:09 Rob Landley wrote: My question is what standards is uClibc built against? C99 has been out for a decade, and C89 (ala ANSI C) has been out for 20 years, but the readpath.c code starts with: #ifdef __STDC__ char *realpath(const char *path, char

Re: [git commit master] CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failure

2009-09-06 Thread Mike Frysinger
On Saturday 05 September 2009 18:05:32 Denys Vlasenko wrote: On Saturday 05 September 2009 23:55, Mike Frysinger wrote: On Saturday 05 September 2009 17:55:26 Denys Vlasenko wrote: On Saturday 05 September 2009 16:04:36 Denys Vlasenko wrote: +#ifndef O_CLOEXEC +# define O_CLOEXEC 0

Re: Compilation of syscall.c fails on ARM device

2009-09-06 Thread Mike Frysinger
On Sunday 06 September 2009 01:07:05 Ron wrote: Unless your Samsung unit is some sort of freak without thumb instructions EABI should work on it just fine. The main users I know of that got burned by the EABI switch were some of the strongarm chips, which are actually armv4, but afaik no-one

Re: we have #define MAXHOSTNAMELEN 64, but #define NI_MAXHOST 1025

2009-09-06 Thread Mike Frysinger
On Saturday 05 September 2009 18:45:41 Denys Vlasenko wrote: include/rpc/types.h declares #ifndef MAXHOSTNAMELEN #defineMAXHOSTNAMELEN 64 #endif while include/netdb.h declares # define NI_MAXHOST 1025 (1) It probably would be better if we have internally consistent idea how

Re: [git commit master] math.h: fix trivial typo (missing !): !defined __NO_LONG_DOUBLE_MATH

2009-09-06 Thread Mike Frysinger
On Saturday 05 September 2009 18:12:08 Denys Vlasenko wrote: On Saturday 05 September 2009 23:57, Mike Frysinger wrote: - fcntl(LogFile, F_SETFD, 1); /* 1 == FD_CLOEXEC */ + fcntl(LogFile, F_SETFD, FD_CLOEXEC

Re: Compilation of syscall.c fails on ARM device

2009-09-06 Thread Mike Frysinger
On Sunday 06 September 2009 04:08:14 Khem Raj wrote: On Wed, Aug 19, 2009 at 12:22 PM, Mike Frysingervap...@gentoo.org wrote: On Wednesday 19 August 2009 15:02:18 Khem Raj wrote: On Tue, Aug 18, 2009 at 4:23 PM, Mike Frysingervap...@gentoo.org wrote: On Tuesday 18 August 2009 18:42:36 Khem

Re: [git commit master] CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failure

2009-09-06 Thread Mike Frysinger
On Sunday 06 September 2009 06:07:04 Denys Vlasenko wrote: On Sunday 06 September 2009 08:18, Mike Frysinger wrote: On Saturday 05 September 2009 18:05:32 Denys Vlasenko wrote: On Saturday 05 September 2009 23:55, Mike Frysinger wrote: On Saturday 05 September 2009 17:55:26 Denys

Re: we have #define MAXHOSTNAMELEN 64, but #define NI_MAXHOST 1025

2009-09-06 Thread Mike Frysinger
On Sunday 06 September 2009 07:11:53 Denys Vlasenko wrote: On Sunday 06 September 2009 08:26, Mike Frysinger wrote: On Saturday 05 September 2009 18:45:41 Denys Vlasenko wrote: include/rpc/types.h declares #ifndef MAXHOSTNAMELEN #defineMAXHOSTNAMELEN 64 #endif while

Re: fstatat is broke

2009-09-06 Thread Mike Frysinger
On Sunday 06 September 2009 09:40:00 Timo Teräs wrote: I'm using the *at stuff and noticed that fstatat is broke. fstatat is a bit different since that syscall is not really available. Glibc makes fstatat do fstatat64 syscall and converts the struct kernel_stat64 to struct stat. I think that

Re: [git commit master] CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failure

2009-09-06 Thread Mike Frysinger
On Sun, Sep 6, 2009 at 3:56 PM, Denys Vlasenko wrote: Then I do not understand what exactly you are saying. i'll break it down. these things need to happen: - revert all this #ifndef O_CLOEXEC - import __ASSUME_O_CLOEXEC from glibc into our kernel-features.h - remove the #if 0 in all the

Re: Commit 6625518cd6 broke cross compiling?

2009-09-05 Thread Mike Frysinger
On Saturday 05 September 2009 07:42:29 Bernhard Reutner-Fischer wrote: On Fri, Sep 04, 2009 at 03:07:23PM -0500, Rob Landley wrote: Before the August 25 commit default ?conf to native arch, I could do this: make KCONFIG_ALLCONFIG=miniconfig-uClibc.$ARCH allnoconfig make

Re: Commit 6625518cd6 broke cross compiling?

2009-09-05 Thread Mike Frysinger
On Saturday 05 September 2009 14:14:40 Bernhard Reutner-Fischer wrote: On Sat, Sep 05, 2009 at 08:12:48AM -0400, Mike Frysinger wrote: leveraging $(ARCH) makes sense in my mind and aligns it with the build systems we are copying from ... Ok, i'll have a look sometimes next week. i thought

Re: Commit 6625518cd6 broke cross compiling?

2009-09-05 Thread Mike Frysinger
On Saturday 05 September 2009 14:45:21 Denys Vlasenko wrote: On Friday 04 September 2009 22:07, Rob Landley wrote: Before the August 25 commit default ?conf to native arch, I could do this: make KCONFIG_ALLCONFIG=miniconfig-uClibc.$ARCH allnoconfig make

Re: [git commit master] do not pass 3rd param to open() which do not create files

2009-09-05 Thread Mike Frysinger
On Saturday 05 September 2009 17:35:09 Denys Vlasenko wrote: --- libc/unistd/daemon.c | 16 utils/ldd.c |2 +- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/libc/unistd/daemon.c b/libc/unistd/daemon.c index b18d618..3dcd995 100644 ---

Re: [git commit master] math.h: fix trivial typo (missing !): !defined __NO_LONG_DOUBLE_MATH

2009-09-05 Thread Mike Frysinger
On Saturday 05 September 2009 15:28:31 Denys Vlasenko wrote: --- include/math.h|2 +- libc/misc/syslog/syslog.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/math.h b/include/math.h index a7c69b0..ecd0187 100644 --- a/include/math.h +++

Re: [git commit master] math.h: fix trivial typo (missing !): !defined __NO_LONG_DOUBLE_MATH

2009-09-05 Thread Mike Frysinger
On Saturday 05 September 2009 17:58:47 Denys Vlasenko wrote: On Saturday 05 September 2009 15:28:31 Denys Vlasenko wrote: --- include/math.h|2 +- libc/misc/syslog/syslog.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/math.h

Re: [PATCH] Add posix_fadvise and posix_fadvise64 for powerpc

2009-08-31 Thread Mike Frysinger
On Sunday 30 August 2009 03:33:53 Khem Raj wrote: +#if defined __UCLIBC_HAS_LFS__ (!defined __NR_fadvise64_64 || !defined _syscall6) no code should be checking for _syscall6 existence anymore. if an arch doesnt support it, it is broken and that is that. we arent catering to these broken

Re: Need roundf() patch for 0.9.28

2009-08-20 Thread Mike Frysinger
On Thursday 20 August 2009 17:09:21 Philip A. Prindeville wrote: Yes, I know 0.9.28 is horribly old, and we'll upgrade eventually... For now, I need to patch it to include roundf() so I can support Asterisk 1.6. there is no roundf implementation is libm/ Anyone have a patch for this or

Re: Compilation Error: command line option Error-mfdpic

2009-08-19 Thread Mike Frysinger
On Wednesday 19 August 2009 13:15:21 suhas dumbhare wrote: make[1]: Entering directory `/usr/Tools/buildroot-2009.05/toolchain_build_arm/uClibc-0.9.30.1' AS lib/crti.o cc1: error: unrecognized command line option -mfdpic dont select the FDPIC ABI if your target doesnt support it -mike

Re: [git commit] use pwd, not PWD

2009-08-19 Thread Mike Frysinger
On Wednesday 19 August 2009 07:29:41 Bernhard Reutner-Fischer wrote: commit: http://git.uclibc.org/uClibc/commit/?id=2ec374a5cab23140a604e53fec870876e62 51b65 branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master PWD may point to somewhere else if we're run from another make so

Re: Compilation of syscall.c fails on ARM device

2009-08-19 Thread Mike Frysinger
On Wednesday 19 August 2009 15:02:18 Khem Raj wrote: On Tue, Aug 18, 2009 at 4:23 PM, Mike Frysingervap...@gentoo.org wrote: On Tuesday 18 August 2009 18:42:36 Khem Raj wrote: If we need to revive OABI then we might have to find a way to make it work, right now mostly people use EABI and

Re: Compilation Error: command line option Error-mfdpic

2009-08-19 Thread Mike Frysinger
On Wednesday 19 August 2009 15:40:57 suhas dumbhare wrote: But I don't seen this option in menuconfig whre i find this option how I decheck it it's in the uClibc menu. you should post your question to the buildroot list as we dont handle that stuff here. -mike signature.asc Description:

Re: Compilation of syscall.c fails on ARM device

2009-08-18 Thread Mike Frysinger
On Tuesday 18 August 2009 18:42:36 Khem Raj wrote: If we need to revive OABI then we might have to find a way to make it work, right now mostly people use EABI and there it should work ok. working OABI is still a requirement -mike signature.asc Description: This is a digitally signed message

Re: [git commit nptl] undef INTERNAL_SYSCALL_NCS before redefining to quash build warnings.

2009-08-15 Thread Mike Frysinger
On Thursday 13 August 2009 14:47:34 Khem Raj wrote: On (13/08/09 14:32), Mike Frysinger wrote: On Thursday 13 August 2009 12:03:19 Khem Raj wrote: On (13/08/09 07:11), Mike Frysinger wrote: On Saturday 01 August 2009 05:26:11 Khem Raj wrote: --- a/libpthread/nptl/sysdeps/unix/sysv

Re: Problems with libtool, linking and util-linux-ng

2009-08-14 Thread Mike Frysinger
On Friday 14 August 2009 10:23:21 Natanael Copa wrote: I wonder if I have some issue with my setup or if I am hitting a libtool bug of some sort. not really a uClibc issue ... I tried to compile e2fsprogs-1.41.8 against the util-linux-ng-2.16's libuuid and libblkid. The configure script

Re: [patch] Fix m68k syscalls

2009-08-13 Thread Mike Frysinger
On Tuesday 04 August 2009 15:28:04 Maxim Kuvyrkov wrote: Maxim Kuvyrkov wrote: Mike Frysinger wrote: On Wednesday 22 July 2009 10:49:00 Maxim Kuvyrkov wrote: As described in thread http://lists.uclibc.org/pipermail/uclibc/2009-July/042670.html, uClibc build is currently broken on m68k

Re: [git commit nptl] undef INTERNAL_SYSCALL_NCS before redefining to quash build warnings.

2009-08-13 Thread Mike Frysinger
On Thursday 13 August 2009 12:03:19 Khem Raj wrote: On (13/08/09 07:11), Mike Frysinger wrote: On Saturday 01 August 2009 05:26:11 Khem Raj wrote: --- a/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arm/sysdep.h @@ -305,11 +305,13

Re: Problems building linux-2.6.29.6

2009-08-13 Thread Mike Frysinger
On Thursday 13 August 2009 21:00:43 Philip A. Prindeville wrote: First off, yes, I know that our version of uClibc (0.9.28) and gcc (4.2/snapshot 20090325) aren't the most recent. I've not followed linux kernel development closely enough to know if any of the signals stuff changed between

Re: [RFC 1/1] Fix varargs in prctl syscall

2009-07-27 Thread Mike Frysinger
On Monday 27 July 2009 02:19:37 Hans-Christian Egtvedt wrote: On Mon, 20 Jul 2009 08:50:25 -0400 Mike Frysinger wrote: On Friday 12 September 2008 09:34:14 Hans-Christian Egtvedt wrote: This patch properly handles the variodic argument before the syscall is passed to the kernel. i

Re: [RFC 1/1] Fix varargs in prctl syscall

2009-07-27 Thread Mike Frysinger
On Monday 27 July 2009 07:31:46 Hans-Christian Egtvedt wrote: On Mon, 27 Jul 2009 02:46:45 -0400 Mike Frysinger wrote: On Monday 27 July 2009 02:19:37 Hans-Christian Egtvedt wrote: On Mon, 20 Jul 2009 08:50:25 -0400 Mike Frysinger wrote: afaict, there is nothing wrong here. variodic

Re: svn commit: trunk/uClibc/extra/Configs

2009-07-26 Thread Mike Frysinger
On Monday 14 July 2008 10:16:34 al...@uclibc.org wrote: Author: aldot Date: 2008-07-14 07:16:31 -0700 (Mon, 14 Jul 2008) New Revision: 22828 Log: - do not force LFS unto x86_64 folks vapier, you added this in r12384. What was the reasoning back then? some features exist only in the newer

Re: [patch] Fix m68k syscalls

2009-07-22 Thread Mike Frysinger
On Wednesday 22 July 2009 10:49:00 Maxim Kuvyrkov wrote: As described in thread http://lists.uclibc.org/pipermail/uclibc/2009-July/042670.html, uClibc build is currently broken on m68k. The attached patch ports relevant pieces of syscall handling from recent GLIBC thus fixing the problem.

Re: uClibc-0.9.29 daemon and pthread problem

2009-07-22 Thread Mike Frysinger
On Friday 01 June 2007 10:53:01 Kasia Binam wrote: After daemon()-izing a process, when I use pthread_create to start a new thread, the main thread never wakes up. For example: ... So the pthread manager is trying to wake up the original main thread before it was daemonized. If I replace

Re: [patch] Fix m68k syscalls

2009-07-22 Thread Mike Frysinger
On Wednesday 22 July 2009 14:44:37 Maxim Kuvyrkov wrote: Mike Frysinger wrote: On Wednesday 22 July 2009 10:49:00 Maxim Kuvyrkov wrote: As described in thread http://lists.uclibc.org/pipermail/uclibc/2009-July/042670.html, uClibc build is currently broken on m68k. The attached patch

Re: rpcgen for uclibc

2009-07-22 Thread Mike Frysinger
On Friday 22 June 2007 09:43:40 Natanael Copa wrote: I have created a port of openbsd's rpcgen for use with uclibc: openrpcgen. Motivation is that the rpcgen that comes with nfs-utils-1.0.12 does not produce any good code. See https://bugs.gentoo.org/show_bug.cgi?id=174393 I have now

Re: Where is install_kernel_headers? (+ git web interface question)

2009-07-21 Thread Mike Frysinger
On Tuesday 21 July 2009 13:07:54 Denys Vlasenko wrote: On Tue, Jul 21, 2009 at 7:07 PM, Bernhard Reutner-Fischer wrote: Yes. I want to do that. I set up KERNEL_HEADERS so that uclibc build machinery should know where it is. The proof is that make succeeds. So uclibc does not require kernel

Re: Where is install_kernel_headers? (+ git web interface question)

2009-07-21 Thread Mike Frysinger
On Tuesday 21 July 2009 15:39:57 Denys Vlasenko wrote: On Tuesday 21 July 2009 18:59, Ron wrote: On Tue, Jul 21, 2009 at 06:17:02PM +0200, Denys Vlasenko wrote: On Tue, Jul 21, 2009 at 5:31 PM, Bernhard Reutner-Fischer wrote: Mike removed it since it's not libc's business to install

Re: Where is install_kernel_headers? (+ git web interface question)

2009-07-21 Thread Mike Frysinger
On Tuesday 21 July 2009 11:21:59 Denys Vlasenko wrote: I remember I fixed it by introducing and using install_kernel_headers. I check the git log and the last commit regarding that is: commit 56ecf3ceca20ba5b1f41f9deba0134112b59f961 Author: Denis Vlasenko vda.li...@googlemail.com Date:

Re: malloc friends hidden proto issues

2009-07-20 Thread Mike Frysinger
On Monday 20 July 2009 07:34:32 Carmelo AMOROSO wrote: Mike Frysinger wrote: but the default should be what we have today -- the malloc symbols can be resolved dynamically at runtime. this is how many debugging libraries work in the first place -- they provide the malloc() and related

Re: svn commit: trunk/uClibc: include libc/string libc/string/generic etc...

2009-07-20 Thread Mike Frysinger
On Friday 13 February 2009 07:37:52 Bernhard Reutner-Fischer wrote: On Tue, Dec 16, 2008 at 05:36:32PM -0800, v...@uclibc.org wrote: Author: vda Date: 2008-12-16 17:36:31 -0800 (Tue, 16 Dec 2008) New Revision: 24435 Log: since gcc -Os hates us and does not inline string ops, I don't

Re: svn commit: trunk/uClibc/libc/string/i386

2009-07-20 Thread Mike Frysinger
On Friday 19 December 2008 08:51:39 v...@uclibc.org wrote: Changeset: Modified: trunk/uClibc/libc/string/i386/memchr.c +/* Uncomment TESTING, gcc -D__USE_GNU -m32 -Os memchr.c -o memchr + * and run ./memchr + */ +int main() +{ + static const char str[] = abc.def; +

Re: rsync service [was: Re: testmail, ignore]

2009-07-20 Thread Mike Frysinger
On Saturday 20 December 2008 00:45:52 Rob Landley wrote: On Friday 19 December 2008 12:17:40 Yann E. MORIN wrote: On Friday 19 December 2008 17:29:11 Bernhard Reutner-Fischer wrote: This was only a test, please ignore.. As there seem to be some activity on the server configuration, the

Re: frv is little big endian :)

2009-07-20 Thread Mike Frysinger
On Friday 12 December 2008 21:50:26 Denys Vlasenko wrote: /* frv is little-endian. */ #ifndef _ENDIAN_H # error Never use bits/endian.h directly; include endian.h instead. #endif #define __BYTE_ORDER __BIG_ENDIAN fixed in git -mike signature.asc Description: This is a digitally signed

Re: [RFC 1/1] Fix varargs in prctl syscall

2009-07-20 Thread Mike Frysinger
On Friday 12 September 2008 09:34:14 Hans-Christian Egtvedt wrote: prctl is defined to use varargs in the header file, but implemented to use varargs in the source. i'm guessing you meant not implemented in the second part ... This patch properly handles the variodic argument before the

Re: NTP and uClibc

2009-07-20 Thread Mike Frysinger
On Thursday 04 December 2008 17:52:33 Michael Deutschmann wrote: One of the new configure options in uClibc-0.9.30, UCLIBC_NTP_LEGACY, controls the ntp_gettime() and ntp_adjtime() calls, which are only used by the NTP daemon. You should be aware that stock ntp-4.2.4p5, the current version,

Re: openat and friends

2009-07-20 Thread Mike Frysinger
On Friday 24 October 2008 11:00:19 Hamish Guthrie wrote: I have been scratching through the trunk code and mailing lists to no avail - has anyone implemented openat and family of functions? if it isnt in the source code, then no one has implemented it. since none of the *at functions show up

Re: Microblaze - latest source

2009-07-20 Thread Mike Frysinger
On Wednesday 30 July 2008 10:33:42 Michal Simek wrote: On Wed, Jul 30, 2008 at 02:46:04PM +0200, Michal Simek wrote: Microblaze community use 0.9.27 version and I would like to upgrade to latest version and fix all bugs which are in Microblaze part. and next question I have is about

Re: rsync service [was: Re: testmail, ignore]

2009-07-20 Thread Mike Frysinger
On Monday 20 July 2009 12:01:58 Yann E. MORIN wrote: On Monday 20 July 2009 14:30:27 Mike Frysinger wrote: On Saturday 20 December 2008 00:45:52 Rob Landley wrote: We had an rsync service? i set it up a while ago for people to rsync the raw svn files to create their own mirrors. i

[PATCH/RFC] byteswap: unify common definitions

2009-07-20 Thread Mike Frysinger
The majority of the byteswap functions are the same across all arches, so setup a common header to provide definitions if they don't exist. This allows arches to override only the ones they actually want to implement with inline assembly. Signed-off-by: Mike Frysinger vap...@gentoo.org --- seems

Re: svn commit: trunk/uClibc: include libc/string libc/string/generic etc...

2009-07-20 Thread Mike Frysinger
On Monday 20 July 2009 16:36:36 Denys Vlasenko wrote: On Monday 20 July 2009 14:22, Mike Frysinger wrote: On Friday 13 February 2009 07:37:52 Bernhard Reutner-Fischer wrote: On Tue, Dec 16, 2008 at 05:36:32PM -0800, v...@uclibc.org wrote: Author: vda Date: 2008-12-16 17:36:31 -0800

Re: svn commit: trunk/uClibc: include libc/string libc/string/generic etc...

2009-07-20 Thread Mike Frysinger
On Monday 20 July 2009 18:42:08 Denys Vlasenko wrote: On Monday 20 July 2009 23:00, Mike Frysinger wrote: With attached config, and i486-linux-uclibc-XXX toolchain, it works for me. Can you send me your .config, preprocessed source and gcc command line which gives you trouble

Re: svn commit: trunk/uClibc/libc/string/i386

2009-07-20 Thread Mike Frysinger
On Monday 20 July 2009 16:11:34 Denys Vlasenko wrote: On Monday 20 July 2009 14:25, Mike Frysinger wrote: On Friday 19 December 2008 08:51:39 v...@uclibc.org wrote: Changeset: Modified: trunk/uClibc/libc/string/i386/memchr.c +/* Uncomment TESTING, gcc -D__USE_GNU -m32 -Os memchr.c

Re: Newbie posting...

2009-07-16 Thread Mike Frysinger
On Thursday 16 July 2009 16:18:34 Philip A. Prindeville wrote: We did try to do a version bump of udev to 142, but that failed because it wanted inotify and ppoll. I found the fix for inotify, but not one to add support to ppoll. Also, we wanted to version bump to Asterisk 1.6, but our libm

Re: endianess in rules.mk for mips

2009-07-15 Thread Mike Frysinger
On Tuesday 14 July 2009 22:35:17 Amker.Cheng wrote: I just found that there mybe something wrong about setting endianess in Rules.mk for mips. around line Rules.mk:337, there are no codes like: CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN)+=-Wl,-EL

Re: Help : warnings when build uclibc for mips

2009-07-15 Thread Mike Frysinger
On Monday 13 July 2009 21:50:51 Amker.Cheng wrote: Hi All : please do not top post in your replies -mike signature.asc Description: This is a digitally signed message part. ___ uClibc mailing list uClibc@uclibc.org

Re: [git commit] syscall: unify common syscall defines

2009-07-15 Thread Mike Frysinger
On Tuesday 14 July 2009 01:59:46 Carmelo AMOROSO wrote: Mike Frysinger wrote: On Monday 13 July 2009 07:45:03 Carmelo AMOROSO wrote: Mike Frysinger wrote: if you run `./extra/scripts/MAKEALL sh`, does it work for you ? no, it doesn't, but we know why and have a patch. It happens when

Re: svn commit: trunk/uClibc/extra/scripts

2009-07-15 Thread Mike Frysinger
On Friday 10 October 2008 09:46:01 al...@uclibc.org wrote: Author: aldot Date: 2008-10-10 06:46:01 -0700 (Fri, 10 Oct 2008) New Revision: 23654 Log: - remove bashism; don't install config/* to the target Modified: trunk/uClibc/extra/scripts/install_headers.sh -find ! -name '.' -a !

Re: endianess in rules.mk for mips

2009-07-15 Thread Mike Frysinger
On Wednesday 15 July 2009 21:31:14 Amker.Cheng wrote: On Wed, Jul 15, 2009 at 11:57 PM, Khem Rajraj.k...@gmail.com wrote: On (15/07/09 10:32), Mike Frysinger wrote: On Tuesday 14 July 2009 22:35:17 Amker.Cheng wrote: I just found that there mybe something wrong about setting

Re: [git commit] syscall: unify common syscall defines

2009-07-13 Thread Mike Frysinger
On Monday 13 July 2009 02:51:11 Carmelo AMOROSO wrote: Mike Frysinger wrote: On Thursday 09 July 2009 14:24:32 Mike Frysinger wrote: On Thursday 09 July 2009 03:35:05 Carmelo AMOROSO wrote: Mike Frysinger wrote: commit: http://git.uclibc.org/uClibc/commit/?id

Re: Help : warnings when build uclibc for mips

2009-07-13 Thread Mike Frysinger
On Tuesday 16 June 2009 16:35:04 Khem Raj wrote: On Sun, May 31, 2009 at 12:00 AM, Amker.Chengamker.ch...@gmail.com wrote: Hi: I am currently building uclibc-0.9.30 using gcc-3.4.4 for mips-linux, and encountering following warnings: libc/sysdeps/linux/mips/clone.S: Assembler

<    1   2   3   4   5   6   >