[uClibc 0001242]: architecture optimized string function is not included in libc.a and libuClibc-0.9.28.so

bugs at busybox.net bugs at busybox.net
Thu Mar 1 19:39:42 UTC 2007


The following issue has been SUBMITTED. 
====================================================================== 
http://busybox.net/bugs/view.php?id=1242 
====================================================================== 
Reported By:                leochen
Assigned To:                uClibc
====================================================================== 
Project:                    uClibc
Issue ID:                   1242
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-01-2007 11:39 PST
Last Modified:              03-01-2007 11:39 PST
====================================================================== 
Summary:                    architecture optimized string function is not
included in libc.a and libuClibc-0.9.28.so
Description: 
I build uClibc for ARM/MIPS platform.  I've found the performance of
"bcopy" in 0.9.28 release is much worse than the "bcopy" in 0.9.26
release.

I disassembled the code of libc.a and libUclibc.so in both versions.  I've
found that a generic "bcopy" is included, instead of the architecture
optimized version.

A patch to fix that.

--- uClibc-0.9.28/libc/Makefile  2007-02-28 14:51:01.019082000 -0800
+++ uClibc-0.9.28/libc/Makefile  2007-02-28 14:33:42.181885000 -0800
@@ -59,7 +59,7 @@
   $(AR) dN 2 $(LIBNAME) $$objs && \
   $(AR) dN 2 $(LIBNAME) $$objs
   @for objfile in obj.signal \
-                  obj.string.generic obj.string.$(TARGET_ARCH) obj.string
\
+                  obj.string.generic obj.string obj.string.$(TARGET_ARCH)
\
                   obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
      if [ -e $$objfile ] ; then \
         if [ "$(MAKE_IS_SILENT)" = "n" ] ; then \
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-01-07 11:39  leochen        New Issue                                    
03-01-07 11:39  leochen        Status                   new => assigned     
03-01-07 11:39  leochen        Assigned To               => uClibc          
======================================================================




More information about the uClibc-cvs mailing list