Re: r209240 ia64 -> buildworld -> undefined reference to `lzma_physmem'

From: Dimitry Andric <dimitry_at_andric.com>
Date: Tue, 29 Jun 2010 11:44:32 +0200
On 2010-06-29 11:25, Dag-Erling Smørgrav wrote:
> Anton Shterenlikht <mexas_at_bristol.ac.uk> writes:
>> http://seis.bris.ac.uk/~mexas/ia64-lzma-problem.txt
> 
> This confirms my suspicion that ld is picking up the wrong liblzma:
> 
>> attempt to open /usr/local/lib/liblzma.a succeeded
> 
> 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/obj/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 ?
Received on Tue Jun 29 2010 - 07:44:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC