[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool attempts to link 64-bit lib on a -m32 compile (using Pathsca

From: Ralf Wildenhues
Subject: Re: Libtool attempts to link 64-bit lib on a -m32 compile (using Pathscale C++)
Date: Thu, 12 Mar 2009 19:54:05 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Coleman,

* Coleman Kane wrote on Thu, Mar 12, 2009 at 07:22:31PM CET:
> Libtool doesn't perform much low-level investigation of the library file
> types, nor does it rewrite paths to accommodate the 20-million different
> ways that vendors install 32/64-bit libraries on the same system. 


> Additionally, there may be legitimate cases where you actually want to
> link 32 and 64-bit objects together.

Not very many though.  The most common exception are systems which
bundle ABIs in one library.

> Specifically, you are linking in "/usr/lib64/" by absolute
> file name, which is considered to be in the categories of "user error".

Careful here.  That was output by libtool.  Absolute file name linking
is problematic on some BSD systems, but normally not on GNU/Linux, at
least not for libstdc++ which has a DT_SONAME set.  So if libtool
creates absolute links on FreeBSD which cause DT_NEEDED entries with
directory components in the output, then please report this.  Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]