From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 15:17:33 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E008106564A; Thu, 24 Jun 2010 15:17:33 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 19A0C8FC18; Thu, 24 Jun 2010 15:17:32 +0000 (UTC) MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Received: from [10.119.214.170] (166-205-136-135.mobile.mymmode.com [166.205.136.135]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L4I007L7YGE8V00@asmtp026.mac.com>; Thu, 24 Jun 2010 08:17:16 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006240086 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-24_02:2010-02-06, 2010-06-24, 2010-06-24 signatures=0 References: <20100617101541.GA90363@mech-cluster241.men.bris.ac.uk> <4C1A117A.9060608@dataix.net> <20100618085018.GA94427@mech-cluster241.men.bris.ac.uk> <4C1B63A1.3010604@dataix.net> <8639wgfnrk.fsf@ds4.des.no> <20100621150445.GA50194@mech-cluster241.men.bris.ac.uk> <754D875E-48AB-423D-B309-9415EA2867E4@mac.com> <20100623130534.GA69821@mech-cluster241.men.bris.ac.uk> <86d3vhomot.fsf@ds4.des.no> <20100624083635.GB9272@mech-cluster241.men.bris.ac.uk> In-reply-to: <20100624083635.GB9272@mech-cluster241.men.bris.ac.uk> Content-transfer-encoding: quoted-printable Message-id: <1A1C9482-2E4B-4AD7-975C-7D1A30A2D9E7@mac.com> X-Mailer: iPhone Mail (8A293) From: Marcel Moolenaar Date: Thu, 24 Jun 2010 08:16:52 -0700 To: Anton Shterenlikht Cc: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= , "freebsd-current@freebsd.org" , Anton Shterenlikht , "freebsd-ia64@freebsd.org" Subject: Re: r209240 ia64 -> buildworld -> undefined reference to `lzma_physmem' 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: Thu, 24 Jun 2010 15:17:33 -0000 Sorry for the top post: Anton, Can check if you have /usr/local/lib/liblzma on your other machines. I have t= his nagging feeling that you're picking up a library outside of your object t= ree. Also: can you send the contents of /etc/make.conf Thx --=20 Marcel (Mobile) On Jun 24, 2010, at 1:36 AM, Anton Shterenlikht wrote:= > On Wed, Jun 23, 2010 at 04:20:18PM +0200, Dag-Erling Sm=C3=B8rgrav wrote: >> Anton Shterenlikht writes: >>> I think it's possible that at some point, in anger, I did "make >>> installworld" after a failed, or otherwise interrupted "make >>> buildworld". Perhaps I got an inconsistent set of binaries as a >>> result... Would that explain an error like this? >>=20 >> No, because at this point buildworld is using the toolchain and >> libraries that it built earlier. >=20 > sorry for the delay >=20 > On a clean copy of r209203 >=20 >> Can you do >>=20 >> % find /usr/obj/usr/src -name liblzma.a >>=20 >> There should be at least one in /usr/obj/usr/src/lib/liblzma and one in >> /usr/obj/usr/src/tmp/usr/lib, and they should be identical. >=20 > seems so: >=20 > # find /usr/obj/usr/src -name liblzma.a > /usr/obj/usr/src/tmp/usr/lib/liblzma.a > /usr/obj/usr/src/lib/liblzma/liblzma.a > # diff /usr/obj/usr/src/tmp/usr/lib/liblzma.a /usr/obj/usr/src/lib/liblzma= /liblzma.a > #=20 >=20 >> Next, do >>=20 >> % nm /usr/obj/usr/src/lib/liblzma/liblzma.a | grep physmem >>=20 >> and show us the result. >=20 > # nm /usr/obj/usr/src/lib/liblzma/liblzma.a | grep physmem > hardware_physmem.o: > 0000000000000000 T lzma_physmem > U lzma_tuklib_physmem > tuklib_physmem.o: > 0000000000000000 T lzma_tuklib_physmem > #=20 >=20 >> While you're at it, do this as well: >>=20 >> % nm /usr/lib/liblzma.a | grep physmem >=20 > # nm /usr/lib/liblzma.a | grep physmem > nm: '/usr/lib/liblzma.a': No such file > # >=20 > Did you mean /usr/local/lib/liblzma.a ? >=20 > # nm /usr/local/lib/liblzma.a|grep physmem > # >=20 >=20 > On my other 2 ia64 boxes, where I don't have > this problem, the output of the last command > is the same. >=20 >=20 > many thanks > anton >=20 > --=20 > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423