cris/crisv32 brokeness

2008-09-06 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm currently developing an uclibc system for an Elphel Camera. It uses a crisv32. Using the daily I observe some strange things hence: - - native string support is broken (memcpy issues) libc/string/cris/memcpy.c: In function 'memcpy': libc/st

Re: cris/crisv32 brokeness

2008-09-06 Thread Stefan de Konink
Stefan de Konink schreef: > - When trying to get (stable) Linux Threads: > (.init+0xc): undefined reference to `$pc' > > That seems to be in crti.S, no clue how to fix it. Except for disabling > threading at all. Could someone validate this code? I was unable to test it wit

Re: cris/crisv32 brokeness

2008-09-06 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stefan de Konink schreef: > I was unable to test it with pthreads yet, I'll come back to that. Pthread seems to work. I want to fix the native memcpy too, I would love some feedback. Stefan -BEGIN PGP SIGNATURE- Version: GnuP

Re: status of 0.9.30 release

2008-09-07 Thread Stefan de Konink
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. >> >> - locale supports fixes >> - an optimized sh4 memcpy implementation (currently used >> since a lon

Re: cris/crisv32 brokeness

2008-09-26 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Peter Kjellerstedt schreef: > I have committed your fix for crti.S now (in a way that makes it > work for CRISv10 as well). I have also committed newer versions of > memcpy.c and memset.c for CRIS which I hope will fix the problems > you have been ha

Buildroot fails on MIPS32 in uclibc

2008-11-24 Thread Stefan de Konink
libc/sysdeps/linux/common/cmsg_nxthdr.c:43: error: '__EI___cmsg_nxthdr' aliased to undefined symbol '__GI___cmsg_nxthdr' I'm using gcc-4.3.1 and the uclibc snapshot. Stefan ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/l

[MIPS32] isspace

2008-11-25 Thread Stefan de Konink
isspace is made hidden, which is strange, since busybox really wants it. Stefan ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc

Re: [MIPS32] isspace

2008-11-25 Thread Stefan de Konink
Bernhard Reutner-Fischer wrote: > This is not arch specific. > I think i fixed this earlier today. Thanks for mentioning it. Oki :) I put it yesterday on IRC :) Thanks for fixing it :) Stefan ___ uClibc mailing list uClibc@uclibc.org http://busybox.ne

S_ISREG is not working, stat issue?

2008-12-06 Thread Stefan de Konink
Hi, I am unable to use S_ISREG, basically I guess it is working but stat.st_mode is not set in a correct way. I'm running a 2.4 kernel (this is not my choice, but platform wise I am not able to upgrade). If anyone has a hint how to solve it, I am all ears. Stefan

Re: S_ISREG is not working, stat issue?

2008-12-06 Thread Stefan de Konink
Stefan de Konink wrote: > I am unable to use S_ISREG, basically I guess it is working but > stat.st_mode is not set in a correct way. Using strace I see: stat("/etc/cherokee/cherokee.conf", {st_mode=S_IFREG|0644, st_size=544, ...}) = 0 stat ("/etc/cherokee/

Re: S_ISREG is not working, stat issue?

2008-12-06 Thread Stefan de Konink
Stefan de Konink wrote: > Stefan de Konink wrote: >> I am unable to use S_ISREG, basically I guess it is working but >> stat.st_mode is not set in a correct way. > > Using strace I see: > > stat("/etc/cherokee/cherokee.conf", {st_mode=S_IFREG|0644, st_size

udhcp vlan/alias bug

2008-12-08 Thread Stefan de Konink
Hi, Currently it seems that udhcp cannot bind to a vlan or alias interface. I thought the following could do the trick. char *tmp; while (inf[len] != '\0' || inf[len] != '.' || inf[len] != ':') len++; tmp = strndup(inf, len); if (setsockopt(fd, SOL_SOCKET, S

Re: Why not merge NTPL now?

2008-12-13 Thread Stefan de Konink
Rob Landley wrote: >> Someone with mips hardware and time who can test mips nptl would be a big >> help > > I've got mips qemu setups for little and big endian building from source via > a > fully automated script I can drop arbitrary uClibc versions into. But I will > never look at an svn bra

Anyone experienced with TCC using uClibc?

2009-03-11 Thread Stefan de Konink
Hi, I wonder if anyone using uclibc succesfully linked an application using TCC. My binaries end up as: ldd ./tcc checking sub-depends for '/lib/libm.so.0' libc.so.0 => /lib/libc.so.0 (0xb7f92000) ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb7fe3000) checking sub-depends for '/li

Re: Anyone experienced with TCC using uClibc?

2009-03-15 Thread Stefan de Konink
Christian MICHON wrote: I did, I still do. Get a recent iso of detaolb (I've not updated the project in a year) and there's a pre-compiled tcc that links with uclibc. I recall using Rob Landley's fork (and tweaked the linking part to link to /lib/ld-uClibc.so.0). A pity he stopped developing it,