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, [email protected] wrote: > > > >Author: vda > > > >Date: 2008-12-16 17:36:31 -0800 (Tue, 16 Dec 2008) > > > >New Revision: 24435 > > > >+static __always_inline > > > >+void *inlined_memchr_const_c(const void *s, int c, size_t count) > > > >+{ > > > >+ void *edi; > > > >+ int ecx, eax; > > > >+ __asm__ __volatile__( > > > >+ " jecxz 1f\n" > > > >+ " movb %4, %%al\n" /* const c to %%al */ > > > >+ " repne; scasb\n" > > > >+ " leal -1(%%edi), %%edi\n" > > > >+ " je 2f\n" > > > >+ "1:\n" > > > >+ " xorl %%edi, %%edi\n" > > > >+ "2:\n" > > > >+ : "=&D" (edi), "=&c" (ecx), "=&a" (eax) > > > >+ : "0" (s), "i" (c), "1" (count) > > > >+ /* : no clobbers */ > > > >+ ); > > > > > > Are you sure? Sounds like there is a bug somewhere for it works with > > > any optimization level on gcc 4.4 as opposed to anything earlier: > > > > > > ./include/libc-string_i386.h: In function '__stdio_fwrite': > > > ./include/libc-string_i386.h:293: warning: asm operand 4 probably > > > doesn't match constraints > > > ./include/libc-string_i386.h:293: error: impossible constraint in 'asm' > > > > and now i'm hitting this too. if a fix isnt coming soon, then i say we > > just disable it until it's actually usable. > > 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? > > What does your gcc -v say?
defconfig i386, then enable DODEBUG and DODEBUG_PT. using gcc-4.1.1. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
