Re: Assembler optimizations for libz

From: Roberto Lima <betogigi_at_gmail.com>
Date: Sun, 4 Jun 2006 16:01:59 -0300
Hi,
I apply this patch and i have now 20% of compressions performance..
but the problems with this optimization during 'make buildworld' shows
this error:

cc -O2 -fno-strict-aliasing -pipe
-I/usr/obj/usr/src/tmp/legacy/usr/include  -static
-L/usr/obj/usr/src/tmp/legacy/usr/lib -o makewhatis makewhatis.o -lz
-legacy
/usr/lib/libz.a(inflate.o)(.text+0x17ce): In function `inflate':
: undefined reference to `inflate_fast'
/usr/lib/libz.a(deflate.o)(.text+0xb44): In function `deflateReset':
: undefined reference to `match_init'
/usr/lib/libz.a(deflate.o)(.text+0x1339): In function `deflate_fast':
: undefined reference to `longest_match'
/usr/lib/libz.a(deflate.o)(.text+0x18f4): In function `deflate_slow':
: undefined reference to `longest_match'
*** Error code 1

Stop in /usr/src/usr.bin/makewhatis.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

you knows how to solve this?

Thanks and sorry for my bad english.
Roberto.
Received on Sun Jun 04 2006 - 17:02:00 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:56 UTC