Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 7555 - zlib isn't built with included assembly language routines
Summary: zlib isn't built with included assembly language routines
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Low normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-05 15:11 UTC by robert longhausen
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description robert longhausen 2002-09-05 15:11:46 UTC
zlib-1.1.4 (and other versions) comes with assembly routines in the contrib
directory.  These are much faster than the default C code.  The ebuild doesn't
use these routines.

1.  Determine current system type (ie i386, i586, i686, or other)
2.  If we are building for a system type with assembly routine, copy the match.S
file from the contrib/asm* directory to the main directory
3.  configure with "-DASMV" added to the CFLAGS (for both shared and static)
4.  for static, "make OBJA=match.o"
5.  for shared, add "$(OBJA)" to "$(SHAREDLIB).$(VER): $(OBJS)" and to the next
line (lines 82 and 83), then "make OBJA=match.o"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-07 08:17:58 UTC
I am guessing there is a reason why this is not done by default ?
Stability/whatnot issues?
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 14:07:52 UTC
The assembly stuff are not maintained, and I do not comfortable to add them.