From owner-freebsd-current@FreeBSD.ORG Sun Jun 4 19:02:00 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3AFF16A4D2 for ; Sun, 4 Jun 2006 19:02:00 +0000 (UTC) (envelope-from betogigi@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35F8143D45 for ; Sun, 4 Jun 2006 19:02:00 +0000 (GMT) (envelope-from betogigi@gmail.com) Received: by nz-out-0102.google.com with SMTP id m7so876878nzf for ; Sun, 04 Jun 2006 12:01:59 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hCyHRl6B7KbgTSIr2m8gFABvtSUHarmyowrfTa7KAlpK9asV+TNRvIgtEQtmHycUFc2QV+m9biNdzqrkKLYEvOnEVd/FalSV4i3NX84UlwYX/zEjNFVaxDHL/7m41rlxfvhpQahJ1Ip6W4bU5gi0KqpklLRTEothrynlFlzICPg= Received: by 10.37.22.49 with SMTP id z49mr5112865nzi; Sun, 04 Jun 2006 12:01:59 -0700 (PDT) Received: by 10.36.134.11 with HTTP; Sun, 4 Jun 2006 12:01:59 -0700 (PDT) Message-ID: Date: Sun, 4 Jun 2006 16:01:59 -0300 From: "Roberto Lima" To: freebsd-current@freebsd.org, "Mikhail Teterin" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Assembler optimizations for libz X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jun 2006 19:02:00 -0000 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.