delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <008501bfcb53$27bac960$a8a11dcb@ihug.co.nz> |
From: | "Ross Smith" <ross DOT s AT ihug DOT co DOT nz> |
To: | "Parker, Ron" <rdparker AT butlermfg DOT com>, <cygwin AT sourceware DOT cygnus DOT com> |
References: | <E12xGdc-0002uy-00 AT mx1 DOT ihug DOT co DOT nz> |
Subject: | Re: Major bug -- Exception handling broken |
Date: | Thu, 1 Jun 2000 10:54:13 +1200 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 5.00.2919.6600 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
From: "Parker, Ron" <rdparker AT butlermfg DOT com> > > My hunch about the specs file was wrong. There are no entries related to > g++. However I did track this down to a problem with g++ using libm.a. > > [snip] > > gcc -v foo.cpp -o foo -lstd++ (OKAY) > gcc -v foo.cpp -o foo -lstd++ -lm(BAD) > gcc -v foo.cpp -o foo -lm (BAD) > > So the problem seems to be with libm.a. Cygwin's libm.a is a symlink to libcygwin.a. I'll try replacing it with a dummy stub library ... <tries it> ... nope, that made ld crash. > I did a little more looking around and discovered that g++ should not be > linking against -lm. So, I came up with the following patch that at least > make g++ able to compile a working version of the trivial test listed above. > It looks like a previous patch of Mumit's may have gotten dropped. > > If you cannot rebuild gcc, I can email a stripped and gzip'd version of the > fixed g++. It is only 29,995 bytes. That would be good. Thanks for all your help! -- Ross Smith <ross DOT s AT ihug DOT co DOT nz> The Internet Group, Auckland, New Zealand ======================================================================== "So that's 2 T-1s and a newsfeed ... would you like clues with that?" -- Peter Da Silva -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |