GNU bug report logs - #9941
Handle truncated member names in LIBADD archive libraries

Previous Next

Package: libtool;

Reported by: "Daniel Richard G." <skunk <at> iSKUNK.ORG>

Date: Wed, 2 Nov 2011 21:00:02 UTC

Severity: normal

Full log


Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bob Friesenhahn <bfriesen <at> simple.dallas.tx.us>
To: "Daniel Richard G." <skunk <at> iSKUNK.ORG>
Cc: 9941 <at> debbugs.gnu.org, bug-libtool <at> gnu.org
Subject: Re: bug#9941: Handle truncated member names in LIBADD archive
	libraries
Date: Thu, 3 Nov 2011 12:51:16 -0500 (CDT)
On Thu, 3 Nov 2011, Daniel Richard G. wrote:
>> What happens if several of the original object file names are
>> identical for the first 15 characters?
>
> Oh, I was afraid someone was going to ask that...
>
>    $ ls
>    LongObjectNameIsLong1.o    LongObjectNameIsLong2.o
>
>    $ ar cru liblong.a *.o
>    ar: filename LongObjectNameIsLong1.o truncated to LongObjectNameI
>    ar: filename LongObjectNameIsLong2.o truncated to LongObjectNameI

I expected that this would happen.  Such long names are becomming more 
and more common, particularly for C++ projects with huge rafts of 
class libraries.

The next question is if this broken 'ar' can be replaced with one that 
works.  Fixing the broken 'ar' might also require replacing the 
linker.

While this system is historically significant it is not significant in 
terms of current usage.  It does not make sense for libtool to provide 
a workaround unless that workaround is assured to work.

Bob
---
Bob Friesenhahn
bfriesen <at> simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




This bug report was last modified 13 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.