Assembler optimizations for libz

Roberto Lima betogigi at gmail.com
Sun Jun 4 19:02:00 UTC 2006


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.


More information about the freebsd-current mailing list