delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/13/22:49:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3DD31D16.4040505@ece.gatech.edu>
Date: Wed, 13 Nov 2002 22:48:38 -0500
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: ld crash
References: <FAC87D7C874EAB46A847604DA4FD5A6457D7ED AT crtsmail DOT corp DOT riotinto DOT org> <1037242427 DOT 30890 DOT 24031 DOT camel AT localhost DOT localdomain> <20021114031456 DOT GA7561 AT redhat DOT com>

Christopher Faylor wrote:

> On Wed, Nov 13, 2002 at 09:53:47PM -0500, Braden McDaniel wrote:
> 
>>On Wed, 2002-11-13 at 20:05, Billinghurst, David (CRTS) wrote:
>>
>>>This is a libtool problem.  If you do not find a more sophisticated 
>>>fix you might try renaming or deleting 
>>>/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libstdc++.la.
>>>
>>Could you elaborate on the nature of the problem? Or is this documented
>>somewhere?
>>
> 
> I can't elaborate because I don't know why it's broken but I can confirm
> that David is correct.  I meant to remove this from the last gcc release
> but I forgot.  I would suggest that everybody who has gcc installed do a
> "rm -f /usr/lib/*.la".  I'll be doing the equivalent in the next
> release.


NOOOOOOOOOOO!!!!!!!!

DO NOT rm -f /usr/lib/*.la!!!!!!!  There are more .la files in there 
than simply the ones from gcc; it's the gcc-supplied .la files that are 
causing the problem, not the other ones.

The reason the gcc-supplied .la files are causing a problem is because 
they specify only a static lib, and not a DLL.  (Of course, since gcc 
doesn't supply the runtime libs in DLL form, the .la files can't very 
well specify DLLs.)

Upcoming libtool works around this problem with gcc's .la files. 
Upgrade to the experimental libtool-devel package here:
http://www.neuro.gatech.edu/users/cwilson/cygutils/testing/

I'm trying to get these patches accepted into libtool CVS
http://mail.gnu.org/pipermail/libtool-patches/2002-November/002236.html

Since cgf has brought this issue out, I'll be putting the experimental 
libtool-devel on sources as a 'test' release soon.  (Were you trying to 
prod me, Chris?)

--Chuck



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019