Re: [PATCH] pread_write on powerpc

2008-08-19 Thread Bernhard Reutner-Fischer
On Mon, Aug 18, 2008 at 04:26:25PM -0600, Wade Berrier wrote: Hi, I mailed previously about this issue: LD libuClibc-0.9.29.so libc/libc_so.a(pread_write.os):(.text+0x14): undefined reference to `__illegally_sized_syscall_arg4' make[2]: *** [lib/libc.so] Error 1 make[1]: *** [lib/libc.so.0]

[OT] minor website touch-up

2008-08-21 Thread Bernhard Reutner-Fischer
Hi there, I have synced ¹) the website with the layout that is currently used by the busybox site. Short of a nifty logo ²), i've added a simple text. Please let me know if you think that it's too ugly to keep or if i broke something.. ¹) http://uclibc.org/cgi-bin/viewcvs.cgi?rev=23165view=rev

Re: POSIX /bin/sh fixes to check-lxdialog.sh

2008-08-26 Thread Bernhard Reutner-Fischer
On Sat, Aug 23, 2008 at 11:27:52AM +0200, Joachim Nilsson wrote: During that campaign I upgraded to 0.9.29 only to discover that I had been bitten by issue #2834. So I decided to start testing the daily What arch and what threads impl did you choose to build with which compiler version?

Re: POSIX /bin/sh fixes to check-lxdialog.sh

2008-08-26 Thread Bernhard Reutner-Fischer
On Tue, Aug 26, 2008 at 02:25:18PM +0200, Joachim Nilsson wrote: Unfortunately we inherit this script from the kernel, so fixes should be sent to the kbuild folks. See scripts/kconfig/lxdialog/ from your kernel clone. I see. Do you guys synchronize with upstream lxdialog often? I sync

Re: Auditing the menuconfig help entries.

2008-08-26 Thread Bernhard Reutner-Fischer
On Sun, Aug 24, 2008 at 06:56:44PM -0500, Rob Landley wrote: Fiddling with menuconfig: DOPIC (Create only position independent code) Does not say why you would or wouldn't want to do this. (Does it generate position independent code and non-position independent code? Should the .a files

Re: confirmed working NPTL revision?

2008-08-27 Thread Bernhard Reutner-Fischer
On Wed, Aug 27, 2008 at 12:58:50PM +0300, Cristi Magherusan wrote: Said that, I don't think addign TLS support for i386 is difficult, but we need someone having time to spend on it. Do you mean adding TLS support for the old linuxthreads branch on x86? Perhaps it would be better to update

Re: status of 0.9.30 release

2008-08-27 Thread Bernhard Reutner-Fischer
On Wed, Aug 27, 2008 at 11:32:30AM +0200, Natanael Copa wrote: Hi, Were there any plans for a 0.9.30 release before the NPTL merge? What is the status of the 0.9.30 release? vapier would know, ISTR that he was the designated RM. What are the outstanding regressions versus 0.9.29 on your arch?

Re: Auditing the menuconfig help entries.

2008-08-27 Thread Bernhard Reutner-Fischer
On Wed, Aug 27, 2008 at 12:39:44PM +0200, Ricard Wanderlof wrote: Yes, I use it and it works. Any idea what is wrong with the !old version, in that it seems not to be recommended for use? IIRC the old is the fallback if you encounter problems in the !old. Since the !old is, by now, supposedly

ICE in change_decl_assembler_name() [was: svn commit: trunk/uClibc: extra/scripts include]

2008-08-27 Thread Bernhard Reutner-Fischer
On Sun, Jun 08, 2008 at 01:38:54PM -0700, [EMAIL PROTECTED] wrote: Author: bernds Date: 2008-06-08 13:38:53 -0700 (Sun, 08 Jun 2008) New Revision: 22271 Log: In string.h, move libc_hidden_proto next to the corresponding declaration. Filter them out when installing headers. Tested by building up

Re: [PATCH] move ifaddrs.h from libc/inet to include

2008-08-27 Thread Bernhard Reutner-Fischer
On Wed, Aug 27, 2008 at 04:29:57PM +0200, Ricard Wanderlof wrote: Yeah, should have split this into one 'follow-up-the-thread' and one actual patch. So, resending the patch with correct subject. Sorry for the confusion. Here's a patch to move ifaddrs.h from libc/inet/ to include/ . It is

Re: fenv.h missing, gcc-4.3.1 issue

2008-08-27 Thread Bernhard Reutner-Fischer
On Wed, Aug 27, 2008 at 11:17:39AM -0500, 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

Re: fenv.h missing, gcc-4.3.1 issue

2008-08-27 Thread Bernhard Reutner-Fischer
On Wed, Aug 27, 2008 at 09:40:43PM +0300, Cristi Magherusan wrote: fenv.h was missing from 0.9.29 but got committed to current in r20880 and it has nothing to do with gcc-4.3. well libdecnumber can be configured to use fenv(3) and libdecnumber is in gcc, so it is in fact related (a little bit, if

segfault with libpthread [was: Re: POSIX /bin/sh fixes to check-lxdialog.sh]

2008-08-28 Thread Bernhard Reutner-Fischer
On Sat, Aug 23, 2008 at 11:27:52AM +0200, Joachim Nilsson wrote: During that campaign I upgraded to 0.9.29 only to discover that I had been bitten by issue #2834. So I decided to start testing the daily What arch and what threads impl did you choose to build with which compiler version?

Re: [PATCH] locale test fix.

2008-09-06 Thread Bernhard Reutner-Fischer
On Fri, Jul 11, 2008 at 02:12:51PM +0200, Carmelo AMOROSO wrote: Filippo ARCIDIACONO wrote: Hi all, The following patch solve several locale multibyte tests failures. It has been tested and works fine. The patch applies to the latest trunk revision. Any comment are welcome. Best

Re: status of 0.9.30 release

2008-09-07 Thread Bernhard Reutner-Fischer
On Sun, Sep 07, 2008 at 09:56:13AM +0200, Carmelo Amoroso wrote: Indeed I've few pending patches to push that may be worth including in .30 release. - locale supports fixes - an optimized sh4 memcpy implementation (currently used since a long time in uclibc-nptl, glibc and kernel) - getdents

Re: fadvise gclibc vs uclibc

2008-09-09 Thread Bernhard Reutner-Fischer
Hi, On Mon, Sep 08, 2008 at 05:35:24PM -0400, Corinna Schultz wrote: I noticed this difference between glibc and uclibc, in the fadvise code (I'm trying to track down a bug on a ppc32 machine). Why the difference in the number of arguments? I don't know too much about the system call

extern_inline macro [was: Re: svn commit: trunk/uClibc: include libc/sysdeps/linux/common/bits]

2008-09-09 Thread Bernhard Reutner-Fischer
On Tue, Sep 09, 2008 at 05:06:58AM -0700, [EMAIL PROTECTED] wrote: Author: carmelo Date: 2008-09-09 05:06:58 -0700 (Tue, 09 Sep 2008) New Revision: 23365 Log: Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy. (Taken from NPTL branch)

Re: status of 0.9.30 release

2008-09-10 Thread Bernhard Reutner-Fischer
On Wed, Sep 10, 2008 at 09:22:05AM -0700, Bob Wilson wrote: I've got a few fixes for Xtensa that I'd like to get into a .30 release. Chris Zankel, who is maintaining the Xtensa port, has been busy with a new project and asked me to help him with this. We've been waiting for Erik and then

Re: set fPIC option for librt

2008-09-11 Thread Bernhard Reutner-Fischer
On Thu, Sep 11, 2008 at 07:32:09PM +0800, JACOB BENJAMIN-VGH684 wrote: Hello ppl, and ran the resultant a.out on a monta vista box I got an error saying something to the effect of Can't modify text section. Use GCC option -fPIC for shared objects, please. I looked into the config files and

Re: set fPIC option for librt

2008-09-11 Thread Bernhard Reutner-Fischer
On Thu, Sep 11, 2008 at 02:13:07PM +0200, Carmelo AMOROSO wrote: Bernhard Reutner-Fischer wrote: On Thu, Sep 11, 2008 at 07:32:09PM +0800, JACOB BENJAMIN-VGH684 wrote: Now how and where do i make the config files to have fPIC set for the cross compiler?? I was under the impression that we

Re: svn commit: trunk/uClibc: include libc/sysdeps/linux/common

2008-09-11 Thread Bernhard Reutner-Fischer
On Thu, Sep 11, 2008 at 08:48:01AM -0700, [EMAIL PROTECTED] wrote: Author: aldot Date: 2008-09-11 08:48:00 -0700 (Thu, 11 Sep 2008) New Revision: 23379 Log: - remove relocations for clock_getres Note that i think that this should work since

Re: reentrant functions

2008-09-11 Thread Bernhard Reutner-Fischer
On Thu, Sep 11, 2008 at 04:22:55PM +0200, Bernhard Reutner-Fischer wrote: On Tue, Sep 09, 2008 at 05:41:40PM +0200, Bernhard Reutner-Fischer wrote: On Tue, Sep 09, 2008 at 12:45:39PM +0200, Bernhard Reutner-Fischer wrote: On Sun, Jun 08, 2008 at 02:18:03PM +0200, Bernd Schmidt wrote: Bernhard

Re: libc_hidden_proto removal en masse

2008-09-15 Thread Bernhard Reutner-Fischer
On Tue, Jul 08, 2008 at 08:57:40AM +0200, Carmelo AMOROSO wrote: Denys Vlasenko wrote: Hi, Seems like removal of libc_hidden_proto's for functions from string.h went without major catastrophes. I would like to go ahead and remove all other libc_hidden_proto's from .c files. I plan to do

Re: confirmed working NPTL revision?

2008-09-16 Thread Bernhard Reutner-Fischer
On Tue, Sep 16, 2008 at 12:28:19PM +0200, Carmelo AMOROSO wrote: Well, we could ship now with a -rc1. Adding bug fixes as someone have Consider trunk the RC. bugs.uclibc.org has quite some stuff that currently does not work and also there were reports on this very list (e.g. the glob()

Re: confirmed working NPTL revision?

2008-09-16 Thread Bernhard Reutner-Fischer
On Tue, Sep 16, 2008 at 01:03:15PM +0200, Joakim Tjernlund wrote: On Tue, 2008-09-16 at 12:28 +0200, Carmelo AMOROSO wrote: Rob Landley wrote: On Tuesday 16 September 2008 01:23:37 Carmelo AMOROSO wrote: 1) How platform specific is it? Fully, TLS relocations are different from one arch to

Re: confirmed working NPTL revision?

2008-09-16 Thread Bernhard Reutner-Fischer
On Tue, Sep 16, 2008 at 01:44:43PM +0200, Carmelo AMOROSO wrote: Bernhard Reutner-Fischer wrote: On Tue, Sep 16, 2008 at 12:28:19PM +0200, Carmelo AMOROSO wrote: Well, we could ship now with a -rc1. Adding bug fixes as someone have Consider trunk the RC. bugs.uclibc.org has quite some

Re: [PATCH] posix_favise{64} error handling fixes [was Re: fadvise gclibc vs uclibc]

2008-09-18 Thread Bernhard Reutner-Fischer
On Mon, Sep 15, 2008 at 01:55:56PM +0200, Carmelo AMOROSO wrote: Corinna Schultz wrote: Quoting Carmelo AMOROSO [EMAIL PROTECTED]: a colleague of mine is right now working to produce a patch for posix_fadvise to fix all LTP tests using posix_fadvise[64]. Indeed LTP tests expect that, when

Re: [PATCH] posix_favise{64} error handling fixes [was Re: fadvise gclibc vs uclibc]

2008-09-18 Thread Bernhard Reutner-Fischer
On Thu, Sep 18, 2008 at 03:29:09PM +0200, Carmelo AMOROSO wrote: Absolutely agreed. IIRC I should now use __inline__ keyword, right? yes. ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Re: segfault with libpthread [was: Re: POSIX /bin/sh fixes to check-lxdialog.sh]

2008-09-22 Thread Bernhard Reutner-Fischer
On Sat, Sep 20, 2008 at 08:34:21PM +0200, Joachim Nilsson wrote: Sorry for crying wolf like that. It must have been my home brewed cross compiler (big-endian, oabi, gcc v4.2.4, binutils 2.18, from buildroot) that messed up somehow. When I reverted back to our current armbe-based GCC v4.1.2 with

typo in LTP-20080831

2008-09-24 Thread Bernhard Reutner-Fischer
On Wed, Sep 24, 2008 at 01:31:08PM +0200, Fathi Boudra wrote: Carmelo, I was finally able to test this today. The tests are still failing for me (I'm on ppc32), though for different reasons than before :-) . I have not tried the ppc workaround patch yet, though. I'll let you know. Is it the

Re: [PATCH] sh: fix SYSCALL_INST_STR macros for SH-2[A] arch.

2008-09-24 Thread Bernhard Reutner-Fischer
On Wed, Sep 24, 2008 at 10:53:59PM +0900, Paul Mundt wrote: uClibc has no equivalent of __stringify()? This should probably be in a generic header somewhere. Agree. We only have STRINGIFY in libpthread internals. ___ uClibc mailing list

Re: [PATCH] sh: fix SYSCALL_INST_STR macros for SH-2[A] arch.

2008-09-24 Thread Bernhard Reutner-Fischer
On Wed, Sep 24, 2008 at 05:00:47PM +0200, Carmelo AMOROSO wrote: Bernhard Reutner-Fischer wrote: On Wed, Sep 24, 2008 at 10:53:59PM +0900, Paul Mundt wrote: uClibc has no equivalent of __stringify()? This should probably be in a generic header somewhere. Agree. We only have STRINGIFY

[PATCH] add pthread_getattr_np() and pthread_attr_getstack()

2008-09-25 Thread Bernhard Reutner-Fischer
Hi, Attached 72_all_uClibc-0.9.29-linuxthreads.patch is from gentoo as in http://bugs.busybox.net/view.php?id=5134 Can somebody who is involved with threads take a look? --- a/libpthread/linuxthreads.old/attr.c 2006-01-24 12:41:01.0 -0500 +++ b/libpthread/linuxthreads.old/attr.c

Re: status of 0.9.30 release

2008-09-25 Thread Bernhard Reutner-Fischer
On Mon, Sep 08, 2008 at 04:49:54AM +0200, Stefan de Konink wrote: Bernhard Reutner-Fischer schreef: On Sun, Sep 07, 2008 at 09:56:13AM +0200, Carmelo Amoroso wrote: Indeed I've few pending patches to push that may be worth including in .30 release. I plan to roll an -rc2 during the weekend

Re: status of 0.9.30 release

2008-09-26 Thread Bernhard Reutner-Fischer
On Fri, Sep 26, 2008 at 02:17:30AM -0500, Rob Landley wrote: Removing LINUXTHREADS_OLD might be a good idea. (This still has nothing to do with NPTL.) Having two is silly, and anything that's wrong with the newer linuxthreads should be _fixed_ before NPTL goes in. Eliminating unnecessary

Re: svn commit: trunk/uClibc: include libpthread/linuxthreads/sysdeps/ etc...

2008-09-26 Thread Bernhard Reutner-Fischer
On Wed, Sep 24, 2008 at 11:38:21PM -0700, [EMAIL PROTECTED] wrote: Author: carmelo Date: 2008-09-24 23:38:21 -0700 (Wed, 24 Sep 2008) New Revision: 23478 Log: Add globally __stringify macro in libc-symbols.h. Remove all other duplicated definitions. Signed-off-by: Carmelo Amoroso [EMAIL

Re: svn commit: trunk/uClibc: include libpthread/linuxthreads/sysdeps/ etc...

2008-09-26 Thread Bernhard Reutner-Fischer
On Fri, Sep 26, 2008 at 09:52:32AM +0200, Bernhard Reutner-Fischer wrote: On Wed, Sep 24, 2008 at 11:38:21PM -0700, [EMAIL PROTECTED] wrote: Author: carmelo Date: 2008-09-24 23:38:21 -0700 (Wed, 24 Sep 2008) New Revision: 23478 Log: Add globally __stringify macro in libc-symbols.h. Remove all

Re: Error in _atexit.c building mips/mipsel.

2008-09-29 Thread Bernhard Reutner-Fischer
On Sun, Sep 28, 2008 at 11:58:02AM -0500, Rob Landley wrote: Tracking this one down, but it still happens in last night's svn... In file included from libc/stdlib/__cxa_finalize.c:8: libc/stdlib/_atexit.c: In function '__cxa_finalize': libc/stdlib/_atexit.c:205: warning: implicit declaration of

Re: Internal compiler error building m68k.

2008-09-29 Thread Bernhard Reutner-Fischer
On Sun, Sep 28, 2008 at 11:55:53AM -0500, Rob Landley wrote: So with the attached .config, building last night's svn snapshot, is anybody else seeing this: libc/inet/addr.c: In function 'inet_ntoa_r': libc/inet/addr.c:144: internal compiler error: in output_move_qimode, at

Re: PATCH: disable LINUXTHREADS_OLD in menuconfig.

2008-09-29 Thread Bernhard Reutner-Fischer
On Mon, Sep 29, 2008 at 02:36:32PM +0200, Hans-Christian Egtvedt wrote: On Sat, 27 Sep 2008 16:57:20 -0500 Rob Landley [EMAIL PROTECTED] wrote: I'd like to apply the following small patch as a start on at least deprecating the hell out of LINUXTHREADS_OLD. All it does is stop it showing up in

Re: Internal compiler error building m68k.

2008-09-30 Thread Bernhard Reutner-Fischer
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 .config, building last night's svn snapshot, is anybody else seeing this: libc

Re: PATCH: disable LINUXTHREADS_OLD in menuconfig.

2008-09-30 Thread Bernhard Reutner-Fischer
On Mon, Sep 29, 2008 at 10:26:05PM -0500, Rob Landley wrote: On Monday 29 September 2008 11:04:27 Bernhard Reutner-Fischer wrote: On Mon, Sep 29, 2008 at 02:36:32PM +0200, Hans-Christian Egtvedt wrote: On Sat, 27 Sep 2008 16:57:20 -0500 Rob Landley [EMAIL PROTECTED] wrote: I'd like to apply

Re: PATCH: disable LINUXTHREADS_OLD in menuconfig.

2008-09-30 Thread Bernhard Reutner-Fischer
On Mon, Sep 29, 2008 at 06:26:26PM -0700, Khem Raj wrote: On Mon, Sep 29, 2008 at 9:04 AM, Bernhard Reutner-Fischer [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 02:36:32PM +0200, Hans-Christian Egtvedt wrote: On Sat, 27 Sep 2008 16:57:20 -0500 Rob Landley [EMAIL PROTECTED] wrote: I'd like

[PATCH] all arches: c89 touchup

2008-09-30 Thread Bernhard Reutner-Fischer
Hi, To be gentle to c89 bootstrap-compilers the attached patch does basically s/\/\/\(.*\)/\/*\1 *\//g The corresponding issue is http://bugs.uclibc.org/view.php?id=5194 The reporter sees this with gcc-4.2.4 without passing -std=c89 to the compiler (i.e. uses the defaults) and as such i find it

Re: [PATCH] all arches: c89 touchup

2008-09-30 Thread Bernhard Reutner-Fischer
On Tue, Sep 30, 2008 at 02:10:11PM -0400, Chase Douglas wrote: On Sep 30, 2008, at 1:09 PM, Bernhard Reutner-Fischer wrote: To be gentle to c89 bootstrap-compilers the attached patch does basically s/\/\/\(.*\)/\/*\1 *\//g Just to clarify for reading, the replacement could be noted as s

in function 'memcpy': undefined reference to `WORD_COPY_FWD'

2008-10-01 Thread Bernhard Reutner-Fischer
On Tue, Sep 30, 2008 at 11:29:46PM -0500, Rob Landley wrote: libc/libc_so.a(memcpy.os): In function `memcpy': memcpy.c:(.text+0x6e): undefined reference to `WORD_COPY_FWD' I see this too on i386 with $ grep STRING FAILED.6.config UCLIBC_HAS_STRING_GENERIC_OPT=y # UCLIBC_HAS_STRING_ARCH_OPT

Re: Internal compiler error building m68k.

2008-10-01 Thread Bernhard Reutner-Fischer
On Tue, Sep 30, 2008 at 07:06:14PM -0700, Khem Raj wrote: 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

Re: Internal compiler error building m68k.

2008-10-03 Thread Bernhard Reutner-Fischer
On Thu, Oct 02, 2008 at 07:12:56PM -0700, Khem Raj wrote: all I am interested is if it happen on gcc trunk then its interesting. well, current trunk ices when building binutils. I don't have time to reduce it or look any further. /bin/sh ./libtool --tag=CC --mode=compile

Re: 10/04 snapshot good -rc2 material.

2008-10-06 Thread Bernhard Reutner-Fischer
On Sun, Oct 05, 2008 at 03:35:50AM -0500, Rob Landley wrote: For what it's worth, using the linuxthreads.old stuff, the 10/04 nightly Unfortunately i have _no_ idea what revision that would be. snapshot built for armv4l, armv5l, i586, i686, x86-64, m68k, mips, mipsel, sh4, powerpc, and sparc.

Re: fenv.h missing, gcc-4.3.1 issue

2008-10-06 Thread Bernhard Reutner-Fischer
On Sat, Oct 04, 2008 at 11:44:42PM -0700, Khem Raj wrote: 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. This is not really accurate, libbid needs it. Thats it, GCC-4.3.1 now continues to compile past: FE_INEXACT

Re: 10/04 snapshot good -rc2 material.

2008-10-06 Thread Bernhard Reutner-Fischer
On Mon, Oct 06, 2008 at 02:02:40PM +0200, Peter Kjellerstedt wrote: And do not forget to actually tag the release in the repository... The release will be tagged and will be copied to a new stable branch, yes. ___ uClibc mailing list uClibc@uclibc.org

Re: [PATCH] posix_fadvise for ppc32

2008-10-06 Thread Bernhard Reutner-Fischer
On Sat, Oct 04, 2008 at 08:15:40AM +0200, Carmelo Amoroso wrote: Corinna Schultz wrote: These changes are based on the glibc code that handles ppc32. This probably shouldn't be in the common dir, but I am unfamiliar with how to add code into the arch-specific dir. I am also unsure about the

Re: 10/04 snapshot good -rc2 material.

2008-10-06 Thread Bernhard Reutner-Fischer
On Mon, Oct 06, 2008 at 02:22:32PM +0200, Peter Kjellerstedt wrote: Not sure if I made myself clear, but I was meaning tagging -rc2 (i.e., just like the old tag tags/uClibc_0_9_29_rc1 for 0.9.29rc1). what for? trunk is in kind of bugfix-only mode ATM and the rc's are extremely short lived.

Re: SH2aeb support

2008-10-06 Thread Bernhard Reutner-Fischer
On Mon, Oct 06, 2008 at 03:01:15PM +0200, Carmelo AMOROSO wrote: I'm not so aware of not elf format... if I guess correctly sh2a doesn't use elf format (as from -Wl,-elf2flt). sh-elf would build fine, not sure why you are ( or trying to) use elf2flat? If __UCLIBC_FORMAT_SHARED_FLAT__ is not

Re: SH2aeb support

2008-10-06 Thread Bernhard Reutner-Fischer
On Mon, Oct 06, 2008 at 02:26:24PM +0100, Kieran Bingham wrote: Hi Bernhard, 2008/10/6 Bernhard Reutner-Fischer [EMAIL PROTECTED] On Mon, Oct 06, 2008 at 03:01:15PM +0200, Carmelo AMOROSO wrote: I'm not so aware of not elf format... if I guess correctly sh2a doesn't use elf format (as from

fix building with locales

2008-10-08 Thread Bernhard Reutner-Fischer
Hi, Currently locales are broken when you have: $ grep LOCALE .config UCLIBC_HAS_LOCALE=y UCLIBC_PREGENERATED_LOCALE_DATA=y (or =n) UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y (or =n) UCLIBC_HAS_XLOCALE=y (doesn't matter) A couple of headers are not found, most notably uClibc_ctype.h, and

Re: fix building with locales

2008-10-08 Thread Bernhard Reutner-Fischer
On Wed, Oct 08, 2008 at 05:58:49PM +0200, Carmelo AMOROSO wrote: Bernhard Reutner-Fischer wrote: Hi, Currently locales are broken when you have: $ grep LOCALE .config UCLIBC_HAS_LOCALE=y UCLIBC_PREGENERATED_LOCALE_DATA=y (or =n) UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA=y (or =n

Re: fix building with locales

2008-10-08 Thread Bernhard Reutner-Fischer
On Wed, Oct 08, 2008 at 06:35:19PM +0200, Bernhard Reutner-Fischer wrote: On Wed, Oct 08, 2008 at 05:58:49PM +0200, Carmelo AMOROSO wrote: I'll try the path (not immediately anyway, too busy in other stuff), np. but I don't have problem in compiling with locale (except for -j2). I have some

Re: Cross compile uClibc encountered error with linuxthreads lib

2008-10-11 Thread Bernhard Reutner-Fischer
On Fri, Oct 10, 2008 at 03:46:39PM +0800, Robert Hoo wrote: Hi, I'm trying to compile uClibc with mipsel toolchain. Which version of gcc, binutils, uClibc are you using? ___ uClibc mailing list uClibc@uclibc.org

Re: How goes the -rc2 todo list?

2008-10-11 Thread Bernhard Reutner-Fischer
On Sat, Oct 11, 2008 at 01:38:08AM -0500, Rob Landley wrote: Just wondering... Thanks to khem for testing and applying the 4994 patch. There is a depency problem in locales, i'll fix this during the weekend and then announce rc2. ___ uClibc mailing list

Re: How goes the -rc2 todo list?

2008-10-12 Thread Bernhard Reutner-Fischer
On Sun, Oct 12, 2008 at 08:25:17AM +0200, Carmelo Amoroso wrote: There is a depency problem in locales, i'll fix this during the weekend and then announce rc2. I'll test Bernhard's locale patch on Manday. I don't have a sh4 box at home. $ svn diff uClibc.check/ | diffstat -up0

Re: application crash - looking for suggestion

2008-10-14 Thread Bernhard Reutner-Fischer
On Tue, Oct 14, 2008 at 12:42:31PM +0800, Ming-Ching Tiew wrote: My app crashed in uClibc after running for about a week, and this is the kernel dmesg log :- 6my_app[5656]: segfault at fea0 ip b743a437 sp 0818ff04 error 6 in libuClibc-0.9.28.so[b740e000+37000] Is there any suggestions for

Re: How goes the -rc2 todo list?

2008-10-14 Thread Bernhard Reutner-Fischer
On Sun, Oct 12, 2008 at 10:31:29PM +0200, Bernhard Reutner-Fischer wrote: On Sun, Oct 12, 2008 at 08:25:17AM +0200, Carmelo Amoroso wrote: There is a depency problem in locales, i'll fix this during the weekend and then announce rc2. I'll test Bernhard's locale patch on Manday. I don't have

Re: application crash - looking for suggestion

2008-10-14 Thread Bernhard Reutner-Fischer
On Tue, Oct 14, 2008 at 04:32:49PM +0800, Ming-Ching Tiew wrote: Bernhard Reutner-Fischer wrote: On Tue, Oct 14, 2008 at 12:42:31PM +0800, Ming-Ching Tiew wrote: My app crashed in uClibc after running for about a week, and this is the kernel dmesg log :- 6my_app[5656]: segfault at fea0

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

2008-10-15 Thread Bernhard Reutner-Fischer
On Wed, Oct 15, 2008 at 07:43:47AM -0600, Chase N Douglas wrote: -Bernhard Reutner-Fischer [EMAIL PROTECTED] wrote: - On Mon, Oct 06, 2008 at 04:14:27PM -0400, Chase Douglas wrote: On Oct 6, 2008, at 6:04 AM, Fathi Boudra wrote: Hi, ping. Any comments from people who care about

Re: __malloc_mmb_heap

2008-10-15 Thread Bernhard Reutner-Fischer
On Wed, Oct 15, 2008 at 07:27:40AM -0600, Chase N Douglas wrote: Let me be the first to say Bad Chase... about the html... This is a clean version of the previous message. I believe this is the correct fix. I am guessing that the arch options I had selected when test compiling this patch did not

[ANNOUNCE] uClibc-0.9.30-rc2 released

2008-10-15 Thread Bernhard Reutner-Fischer
Hi, Yes, I know - we have taken our time. After quite a long period of general improvement all over the place we are pleased to announce uClibc-0.9.30-rc2. The release candidate 2 can be downloaded as usual from http://uClibc.org/ The output of svn log -r18564:HEAD svn://uClibc.org/trunk/uClibc

Re: [ANNOUNCE] uClibc-0.9.30-rc2 released

2008-10-15 Thread Bernhard Reutner-Fischer
On Wed, Oct 15, 2008 at 02:01:58PM +0400, Vladimir Dronnikov wrote: Hi, Where from can I download fresh rootfs for x86? Or this is not supported any more? I have this: http://repo.or.cz/w/buildroot.git/ I'd be glad to get help to provide fresh root filesystems that can be used with qemu,

Re: Compiling asterisk against uclibc-0.9.29

2008-10-17 Thread Bernhard Reutner-Fischer
On Fri, Oct 17, 2008 at 06:15:58PM +0800, Ming-Ching Tiew wrote: I have been using asterisk ( eg 1.4.20.1 ) with uclibc-0.9.28 all the while and it has been working. But recently I feel that there is a need for me to check out uclibc-0.9.29. But after I compile asterisk against uclibc-0.9.29,

Re: [ANNOUNCE] uClibc-0.9.30-rc2 released

2008-10-20 Thread Bernhard Reutner-Fischer
On Mon, Oct 20, 2008 at 04:17:06PM -0500, Rob Landley wrote: On Monday 20 October 2008 03:39:38 Natanael Copa wrote: On Sun, 2008-10-19 at 09:48 +, Vladimir Dronnikov wrote: Still bison and flex (and evil gettext) binaries are must-pre-have on the host system. You can do pretty much

Re: AI_ADDRCONFIG once again [was: Re: svn commit: trunk/uClibc: extra/Configs include libc/inet]

2008-10-21 Thread Bernhard Reutner-Fischer
On Tue, Oct 21, 2008 at 10:33:14AM +0200, Ricard Wanderlof wrote: On Mon, 20 Oct 2008, Bernhard Reutner-Fischer wrote: -#if 0 /* unused code */ +#ifdef __UCLIBC_SUPPORT_AI_ADDRCONFIG__ #if __ASSUME_NETLINK_SUPPORT == 0 extern smallint __no_netlink_support attribute_hidden; #else # define

Re: [MIPS] syscall() segv on mips1

2008-10-21 Thread Bernhard Reutner-Fischer
On Mon, Sep 29, 2008 at 06:18:50PM -0700, Khem Raj wrote: On Mon, Sep 29, 2008 at 7:04 AM, Maxime Bizon [EMAIL PROTECTED] wrote: Hi, uclibc trunk on mips1 platform, a failed syscall() crashes later in __syscall_error() from incorrect t9 value. syscall() has .noreorder, so I guess this

Re: uClibc system call to get stack trace information

2008-10-23 Thread Bernhard Reutner-Fischer
On Thu, Oct 23, 2008 at 08:20:40AM +0200, Carmelo AMOROSO wrote: ganesh sahu wrote: Hi Does uClibc is having an system call to get stack information. In glibc we can print the stack trace through backtrace() function but it doesn't work in uClibc. So how we can get stack trace information

Re: [MIPS] syscall() segv on mips1

2008-10-24 Thread Bernhard Reutner-Fischer
On Fri, Oct 24, 2008 at 10:54:23PM +0900, Atsushi Nemoto wrote: On Fri, 24 Oct 2008 06:12:31 +0200, Maxime Bizon [EMAIL PROTECTED] wrote: Thanks, it works for me (mips1), generated code: Thank you. The generated code looks OK. The assembler puts nops and reorder addiu sp,sp,32 and bnez a3,1f,

Re: [ANNOUNCE] uClibc-0.9.30-rc2 released

2008-10-26 Thread Bernhard Reutner-Fischer
On Sun, Oct 26, 2008 at 09:38:15AM +0100, Christian MICHON wrote: what are the compilers prerequisite for this release ? (it seems gcc-3.4.6 is not supported anymore) I'm usually using the current release. gcc-3.x is not supported since quite some time now. If it works for you then fine,

Re: More on the svn 23660 breakage.

2008-10-27 Thread Bernhard Reutner-Fischer
On Mon, Oct 27, 2008 at 02:21:55PM +0100, Bernd Schmidt wrote: Rob Landley wrote: So svn 23660 broke arm with my .config, but if I change my .config from MALLOC=y to MALLOC_STANDARD=y it works again. Does anybody understand the difference between the MALLOC and MALLOC_SIMPLE options? The

Re: [ANNOUNCE] uClibc-0.9.30-rc3 released

2008-10-29 Thread Bernhard Reutner-Fischer
On Wed, Oct 29, 2008 at 08:07:18AM +0100, Carmelo AMOROSO wrote: Kevin Day wrote: Is there a reason the following: http://uclibc.org/lists/uclibc/2008-May/019349.html was not fixed in this version? may be lack of time for reviewing and testing ? I seem to remember a cleaned up version of

ldd: resolve versus exec

2008-10-29 Thread Bernhard Reutner-Fischer
Hi, I'm a bit puzzled about ldd, i admit: $ ldd /bin/ls /bin/ls: is setuid FOO etc root tmp FOO2 home susr bin ldd sbin var boot lib stress-dlopen.c config

Re: Segfault in re_string_reconstruct()

2008-10-29 Thread Bernhard Reutner-Fischer
On Thu, Oct 30, 2008 at 10:06:45AM +1300, Jeremy Bowen wrote: On Monday 20 October 2008 5:54:14 pm Rob Landley wrote: You need to figure out what actual line is segfaulting. I'd stick dprintf(2,here\n) calls into the busybox source to track down exactly where the segfault happens. (You can

Re: [ANNOUNCE] uClibc-0.9.30-rc3 released

2008-10-30 Thread Bernhard Reutner-Fischer
On Wed, Oct 29, 2008 at 06:25:12PM -0500, Rob Landley wrote: Would you prefer I keep a snapshot of the -rc3 toolchains and system images around (which is what's currently in http://uclibc.org/~landley/fwl ) or let the next nightly snapshot overwrite it? (Do you have an opinion either way?) I

Re: ldd: resolve versus exec

2008-10-31 Thread Bernhard Reutner-Fischer
On Thu, Oct 30, 2008 at 12:56:42PM -0500, Rob Landley wrote: On Wednesday 29 October 2008 14:49:59 Bernhard Reutner-Fischer wrote: Hi, I'm a bit puzzled about ldd, i admit: Not sure if running the binary is such a good idea. Thoughts? Sounds like you're using the glibc version of ldd, which

Re: Segfault in re_string_reconstruct()

2008-10-31 Thread Bernhard Reutner-Fischer
On Fri, Oct 31, 2008 at 11:21:29AM +0100, Hans-Christian Egtvedt wrote: Which seems fine by me, however this is compiled with -O0, I'll recompile with -O2. please make sure that it generates proper code also for -Os since this is our default (i'd check all of 0 1 2 s 3, fwiw)

Re: playing at long last with uClibc++

2008-10-31 Thread Bernhard Reutner-Fischer
On Fri, Oct 31, 2008 at 02:07:41PM +0100, Christian MICHON wrote: Hi, I *finally* managed to compile uclibc++ and it now complains about powl, sqrtl, etc... missing on my system. I'm still using uclibc-0.9.29 :( I read somewhere that a patch containing SuSv3 math functions is to be included and

Re: ldd: resolve versus exec

2008-10-31 Thread Bernhard Reutner-Fischer
On Fri, Oct 31, 2008 at 12:30:39PM -0400, Phil Estes wrote: On Fri, 2008-10-31 at 04:48 -0500, Rob Landley wrote: I don't know what happens if you run gnu ldd on a program that does an rm -rf / when run with no arguments, and I'm not sure I _want_ to know. Readelf gives you all the data

Re: __pthread_alt_unlock () crash

2008-11-10 Thread Bernhard Reutner-Fischer
On Mon, Nov 10, 2008 at 01:07:40PM -0700, mzhang wrote: Hello list, Our Application crashed and produced the cordump as below. Is there any known issue for uclibc-0.9.28-1. This is a very old version. Please try current trunk which will be released as 0.9.30 RSN. If this still occurs, then

Re: [ANNOUNCE] uClibc-0.9.30 released

2008-11-12 Thread Bernhard Reutner-Fischer
On Wed, Nov 12, 2008 at 09:03:18AM -0600, Rob Landley wrote: On Wednesday 12 November 2008 06:52:07 Bernhard Reutner-Fischer wrote: Hi, uClibc-0.9.30 has been released. Yay! :) Just as a sidenote and because there were at least three people running into this very issue lately: The current

Re: [Buildroot] Server administration, and does buildroot have a maintainer?

2008-11-13 Thread Bernhard Reutner-Fischer
On Thu, Nov 13, 2008 at 03:23:34PM +0100, Peter Korsgaard wrote: Rob == Rob Landley [EMAIL PROTECTED] writes: Rob Bernhard and Denys have been pinged, and if buildroot has a Rob maintainer I'd like to keep him/her in the loop. (If said Rob maintainer is still Erik, then he's aware of the

Re: Please help! about cross-compiler using uclibc for UC/OS.

2008-11-17 Thread Bernhard Reutner-Fischer
On Mon, Nov 17, 2008 at 10:40:57PM +0800, Cheng bin wrote: Hi All: Firstly thanks a lot for your time. I am a new player with cross-compiler, I just went through the way of constructing a cross-compiler using uclibc for mips32, and of course with linux as its os. After all of this, I

Re: problem with make install of cross-toolchain

2008-11-17 Thread Bernhard Reutner-Fischer
On Mon, Nov 17, 2008 at 01:58:44PM -0600, Brett Neumeier wrote: On Mon, Nov 17, 2008 at 1:41 PM, Brett Neumeier [EMAIL PROTECTED] wrote: I am building a cross-toolchain targeting mipsel-unknown-linux-uclibc, using GCC 4.3.2, binutils 2.19, linux kernel 2.6.27.6, uclibc 0.9.30. I had to patch

Re: Fwd: Re: Re: make: *** No rule to make target `mtd-host'

2008-11-18 Thread Bernhard Reutner-Fischer
On Tue, Nov 18, 2008 at 03:56:41PM +0300, Чинков Андрей wrote: Ok. Wait a little) first, you're posting to the wrong list. See http://buildroot.uclibc.org/ second, i'd try _NOT_ to use that so called advanced kernel config thing since it is a mess, incomplete and broken in varying degrees.

Re: svn commit: trunk/uClibc/libc: misc/ctype misc/wchar sysdeps/linux/comm etc...

2008-11-21 Thread Bernhard Reutner-Fischer
On Fri, Nov 21, 2008 at 12:15:19AM -0800, [EMAIL PROTECTED] wrote: Author: vda Date: 2008-11-21 00:15:19 -0800 (Fri, 21 Nov 2008) New Revision: 24108 Modified: trunk/uClibc/libc/sysdeps/linux/common/mremap.c === ---

Re: [PATCH] ldso: use _dl_pagesize for library-loading addresses and offsets

2008-11-25 Thread Bernhard Reutner-Fischer
On Tue, Nov 25, 2008 at 09:37:43PM +1100, Jeremy Kerr wrote: Some powerpc machines can support 64k pages, enabled by the CONFIG_64K_PAGES option in linux. However, the uClibc dynamic loader won't currently work on these machines, as it uses hard-coded values (PAGE_ALIGN, ADDR_ALIGN and

Re: Fix Thumb-2 PIEs

2008-11-25 Thread Bernhard Reutner-Fischer
On Tue, Nov 25, 2008 at 02:01:51AM +, Joseph S. Myers wrote: This patch fixes position-independent executables (PIEs) for Thumb-2. In Thumb assembly, instructions reading pc give a value 4 greater than the address of the instruction, rather than 8 greater as in ARM mode, so the offset to

Re: [MIPS32] isspace

2008-11-25 Thread Bernhard Reutner-Fischer
On Tue, Nov 25, 2008 at 04:38:21PM +0100, Stefan de Konink wrote: isspace is made hidden, which is strange, since busybox really wants it. This is not arch specific. I think i fixed this earlier today. Thanks for mentioning it. ___ uClibc mailing list

Re: [PATCH] ldso: use _dl_pagesize for library-loading addresses and offsets

2008-11-26 Thread Bernhard Reutner-Fischer
On Wed, Nov 26, 2008 at 10:35:07AM +1100, Jeremy Kerr wrote: Hi Bernhard, - maxvma = (maxvma + ADDR_ALIGN) ~ADDR_ALIGN; + addr_align = _dl_pagesize - 1; + page_align = ~addr_align; + offs_align = page_align ~(1 31); This would brake _MIPS_SIM_ABI64, wouldn't it. Ah, yep. I was

Re: What is the preferred code style for uclibc?

2008-12-02 Thread Bernhard Reutner-Fischer
On Mon, Dec 01, 2008 at 08:44:55PM +0100, Denys Vlasenko wrote: Hi Bernhard, folks, Can you indicate what coding style you prefer in uclibc? Curretly we have a mixture of all kinds, GNU style with its uniquely difficult placement of {}s: if (set == NULL || signo = 0 || signo = NSIG) {

Re: [PATCH] ldso: use _dl_pagesize for library-loading addresses and offsets

2008-12-03 Thread Bernhard Reutner-Fischer
On Wed, Nov 26, 2008 at 09:23:44PM +1100, Jeremy Kerr wrote: I've applied your 3 patches to trunk as r24250-24252. Sorry for the delay and thanks for fixing it! ___ uClibc mailing list uClibc@uclibc.org

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

2008-12-08 Thread Bernhard Reutner-Fischer
On Mon, Dec 08, 2008 at 10:35:50AM +0100, 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

Re: getaddrinfo of uClibc-0.9.3

2008-12-08 Thread Bernhard Reutner-Fischer
On Mon, Dec 08, 2008 at 07:57:26AM +0900, Tomoyoshi ASANO wrote: I'm soryy that it's already post the information by [PATCH] bug in __check_pf() (getaddrinfo.c) 12/5/2008 applied. Thanks ___ uClibc mailing list uClibc@uclibc.org

Re: [RFC][PATCH] fix varargs usage in prctl syscall

2008-12-08 Thread Bernhard Reutner-Fischer
On Mon, Dec 08, 2008 at 04:55:39PM +0100, Hans-Christian Egtvedt wrote: Hi all, I'd like some feedback on the attached patch. The one I've attached now will individually handle the prctl calls which uses arg2 and those who do not. Checked up against Linux v2.6.27. The solution is bad since it is

  1   2   3   4   5   6   7   8   9   >