From owner-freebsd-current@FreeBSD.ORG Fri Oct 31 10:25:42 2003 Return-Path: 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 C8C3C16A4CE; Fri, 31 Oct 2003 10:25:42 -0800 (PST) Received: from smtp4.hy.skanova.net (smtp4.hy.skanova.net [195.67.199.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A4EF43FAF; Fri, 31 Oct 2003 10:25:39 -0800 (PST) (envelope-from john@veidit.net) Received: from veidit.net (h230n1fls35o1000.telia.com [217.210.234.230]) h9VIPZnw012890; Fri, 31 Oct 2003 19:25:36 +0100 (CET) Message-ID: <3FA2A91A.8000603@veidit.net> Date: Fri, 31 Oct 2003 19:25:30 +0100 From: John Angelmo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: sv, en, en-us MIME-Version: 1.0 To: David Schultz References: <20031029211951.GA12398@rot13.obsecurity.org> <20031029152202.C7702@pooker.samsco.home> <20031029154141.T7702@pooker.samsco.home> <20031030.234813.72025638.imp@bsdimp.com> <3FA208CF.9070001@freebsd.org> <3FA29412.60707@veidit.net> <20031031171537.GA56627@VARK.homeunix.com> In-Reply-To: <20031031171537.GA56627@VARK.homeunix.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Scott Long cc: current@FreeBSD.ORG cc: "M. Warner Losh" cc: kris@obsecurity.org Subject: Re: __fpclassifyd problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 31 Oct 2003 18:25:42 -0000 David Schultz wrote: > On Fri, Oct 31, 2003, John Angelmo wrote: > >>But still after importing e_scalb.c or e_scalbf.c and rebuilding gives >>me this: >> >> >>cc -fpic -DPIC -O -pipe -march=pentium3 -D_IEEE_LIBM >>-D_ARCH_INDIRECT=i387_ -c i387_s_tan.S -o i387_s_tan.So >>building shared library libm.so.2 >>e_scalb.So: In function `__ieee754_scalbf': >>e_scalb.So(.text+0x0): multiple definition of `__ieee754_scalbf' >>e_scalbf.So(.text+0x0): first defined here >>*** Error code 1 > > > Sounds like you might have accidentally imported e_scalbf.c > twice---once as e_scalbf.c and once as e_scalb.c. I used this: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/lib/msun/src/e_scalb.c?rev=1.10&content-type=text/plain&only_with_tag=HEAD and this: http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/lib/msun/src/e_scalbf.c?rev=1.8&content-type=text/plain&only_with_tag=HEAD for the diffrent files, and I checked/tested multiple times now, the files are imported correcty (simple copy paste) I'm using 5.1-p10 and get that error /John