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

Re: libtool broken

On Sun, Jan 28, 2001 at 01:24:47PM +0100, Florian Lohoff wrote:
> On Sun, Jan 28, 2001 at 02:27:54AM -0800, Ryan Murray wrote:
> > 
> > The problem is that libtool uses file to determine whether something
> > is a shared library or not, with a very specific regular expression.
> > This regex fails on mips, because file also outputs the level of mips
> > processor the code was compiled for (mips-1, mips-2, etc.), screwing up
> > the regex, and causing libtool to not put this extra information into
> > libraries.
> [...]
> > If you want to fix the problem now, grab the patch in bug #83303, and apply
> > it and recompile/install file, or attempt to apply the patch directly
> > to /usr/share/misc/magic.  The latter should work, with a lot of fuzz, but
> > I haven't tried it myself...
> Without looking at the patch - Is there any way to get this additional
> information from file ? As its theoretically possible to build programs

The patch simply moves the mips-# info to be later on down the string, so it
is still displayed, as well as matching what libtool is looking for.

> for mips2 and higher which wont run on mips1 machines thus this information
> could be quiet important.

There are already source packages that attempt to optimize for higher
processors :)

Ryan Murray, (rmurray@cyberhqz.com, rmurray@debian.org, rmurray@stormix.com)
Projects Manager, Stormix Technologies Inc., Debian Developer
The opinions expressed here are my own.

Attachment: pgpDKRZboS8RY.pgp
Description: PGP signature

Reply to: