Date: Tue, 29 Jun 2010 11:44:32 +0200 From: Dimitry Andric <dimitry@andric.com> To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no> Cc: freebsd-current@freebsd.org, Anton Shterenlikht <mexas@bristol.ac.uk>, freebsd-ia64@freebsd.org Subject: Re: r209240 ia64 -> buildworld -> undefined reference to `lzma_physmem' Message-ID: <4C29C080.4090102@andric.com> In-Reply-To: <86zkyechrf.fsf@ds4.des.no> References: <20100624151121.GA29609@mech-cluster241.men.bris.ac.uk> <86lja48m58.fsf@ds4.des.no> <20100625084429.GA42107@mech-cluster241.men.bris.ac.uk> <86vd97e94g.fsf@ds4.des.no> <20100628121253.GA61909@mech-cluster241.men.bris.ac.uk> <86y6dz5o3x.fsf@ds4.des.no> <20100628130607.GA69122@mech-cluster241.men.bris.ac.uk> <86tyon5kdw.fsf@ds4.des.no> <20100628152630.GA70763@mech-cluster241.men.bris.ac.uk> <86vd93qfge.fsf@ds4.des.no> <20100629091935.GA80234@mech-cluster241.men.bris.ac.uk> <86zkyechrf.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-06-29 11:25, Dag-Erling Sm=C3=B8rgrav wrote: > Anton Shterenlikht <mexas@bristol.ac.uk> writes: >> http://seis.bris.ac.uk/~mexas/ia64-lzma-problem.txt >=20 > This confirms my suspicion that ld is picking up the wrong liblzma: >=20 >> attempt to open /usr/local/lib/liblzma.a succeeded >=20 > but I still can't figure out why. Can you do the following: Because the ld command line includes /usr/local/lib twice, and *before* /usr/obj/usr/src/tmp/usr/lib: -L/usr/local/lib -L/usr/local/lib -L/usr/obj/usr/src/tmp/usr/lib -L/usr/o= bj/usr/src/tmp/usr/lib The question is, where do those -L/usr/local/lib's come from. :) Maybe because Anton is calling /usr/bin/cc instead of /usr/obj/usr/src/tmp/usr/bin/cc ?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C29C080.4090102>