[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multilib support
From: |
Ralf Wildenhues |
Subject: |
Re: multilib support |
Date: |
Mon, 27 Mar 2006 00:10:32 +0200 |
User-agent: |
Mutt/1.5.9i |
Hi Simon, Bob,
Sorry for the delay.
* Bob Friesenhahn wrote on Sun, Mar 12, 2006 at 04:53:37PM CET:
> On Sat, 11 Mar 2006, Simon Stelling wrote:
> >
> >It seems like libtool has some problems on multilib-enabled systems.
Yes.
> >When libtool is given a -l argument is tries to find a matching libtool
> >archive by searching through various paths:
> >
> >for searchdir in '$newlib_search_path' '$lib_search_path'
> >'$sys_lib_search_path' '$shlib_search_path'
>
> I observe the same problems for Solaris SPARC. The problem is that
> GCC outputs paths which are not decorated for the specified
> architecture and libtool blindly uses them.
That is only half of the problem. If it were the only problem, then we
could just prepend all the lib64 paths on GNU/Linux, and the sparcv9
ones on Solaris. The other half is that libtool does not skip libraries
it finds there: deplibs_check_method is set to pass_all.
So the task is: find a good replacement for that which is both cheap and
accurate. And feasible.
Cheers,
Ralf